Update behaviour when a NaN is encountered in the FE outputs:
Previous version did not have proper behaviour when abaqus job termination was abnormal.
This has to be dealt by the postPro function, writing a float('NaN') as output.
If a NaN is read by the optimisation, it ignores the corresponding FE model in computing the objective function. If all FE models return NaN, an Exception is triggered.