Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 134 MB / 440.3 MB, free: 220 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion")
translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 64.08 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2153, allocations: 84.73 MB / 0.6934 GB, free: 9.031 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5972/0.8124, allocations: 135.8 MB / 0.8261 GB, free: 6.223 MB / 0.5919 GB
Notification: Performance of NFInst.instExpressions: time 0.0002142/0.8126, allocations: 59.78 kB / 0.8262 GB, free: 6.18 MB / 0.5919 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.8126, allocations: 4 kB / 0.8262 GB, free: 6.176 MB / 0.5919 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.8128, allocations: 2.344 kB / 0.8262 GB, free: 6.176 MB / 0.5919 GB
Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.8129, allocations: 10.8 kB / 0.8262 GB, free: 6.168 MB / 0.5919 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.8139, allocations: 253.2 kB / 0.8264 GB, free: 5.992 MB / 0.5919 GB
Notification: Performance of NFFlatten.flatten: time 0.0001014/0.814, allocations: 39.56 kB / 0.8265 GB, free: 5.973 MB / 0.5919 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.814, allocations: 0 / 0.8265 GB, free: 5.973 MB / 0.5919 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.8141, allocations: 18.05 kB / 0.8265 GB, free: 5.965 MB / 0.5919 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.8141, allocations: 19.69 kB / 0.8265 GB, free: 5.953 MB / 0.5919 GB
Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.8142, allocations: 0 / 0.8265 GB, free: 5.953 MB / 0.5919 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.8147, allocations: 263.5 kB / 0.8267 GB, free: 5.797 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.8147, allocations: 7.984 kB / 0.8268 GB, free: 5.789 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.8147, allocations: 12.83 kB / 0.8268 GB, free: 5.781 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.8151, allocations: 182.8 kB / 0.8269 GB, free: 5.703 MB / 0.5919 GB
Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8151, allocations: 4 kB / 0.8269 GB, free: 5.699 MB / 0.5919 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.8151, allocations: 0 / 0.8269 GB, free: 5.699 MB / 0.5919 GB
Notification: Performance of Transformations before backend: time 8.306e-06/0.8151, allocations: 3.984 kB / 0.8269 GB, free: 5.695 MB / 0.5919 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0005021/0.8156, allocations: 285.1 kB / 0.8272 GB, free: 5.41 MB / 0.5919 GB
Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8157, allocations: 9.375 kB / 0.8272 GB, free: 5.41 MB / 0.5919 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.8157, allocations: 0.9375 kB / 0.8272 GB, free: 5.41 MB / 0.5919 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.8158, allocations: 121.4 kB / 0.8273 GB, free: 5.27 MB / 0.5919 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.8159, allocations: 28.89 kB / 0.8274 GB, free: 5.238 MB / 0.5919 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.8159, allocations: 3.938 kB / 0.8274 GB, free: 5.234 MB / 0.5919 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.8161, allocations: 48.14 kB / 0.8274 GB, free: 5.191 MB / 0.5919 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8161, allocations: 3.984 kB / 0.8274 GB, free: 5.188 MB / 0.5919 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.8161, allocations: 0 / 0.8274 GB, free: 5.188 MB / 0.5919 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.8161, allocations: 2.125 kB / 0.8274 GB, free: 5.188 MB / 0.5919 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.8162, allocations: 18.61 kB / 0.8274 GB, free: 5.18 MB / 0.5919 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.8168, allocations: 278.5 kB / 0.8277 GB, free: 4.906 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.8169, allocations: 25.33 kB / 0.8277 GB, free: 4.875 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.8169, allocations: 7.453 kB / 0.8277 GB, free: 4.867 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.817, allocations: 31.28 kB / 0.8278 GB, free: 4.852 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.817, allocations: 34.5 kB / 0.8278 GB, free: 4.809 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.817, allocations: 0 / 0.8278 GB, free: 4.809 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=1): time 0.0001594/0.8172, allocations: 41.3 kB / 0.8278 GB, free: 4.77 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.8172, allocations: 55.53 kB / 0.8279 GB, free: 4.703 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.8173, allocations: 108.8 kB / 0.828 GB, free: 4.594 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.8173, allocations: 25.7 kB / 0.828 GB, free: 4.562 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.8174, allocations: 80.14 kB / 0.8281 GB, free: 4.48 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.8174, allocations: 6.859 kB / 0.8281 GB, free: 4.477 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.8174, allocations: 20.48 kB / 0.8281 GB, free: 4.453 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001436/0.8176, allocations: 314.8 kB / 0.8284 GB, free: 4.137 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.8176, allocations: 4.625 kB / 0.8284 GB, free: 4.137 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.8176, allocations: 16.5 kB / 0.8285 GB, free: 4.117 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.8176, allocations: 26.86 kB / 0.8285 GB, free: 4.09 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8176, allocations: 2.531 kB / 0.8285 GB, free: 4.09 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.849e-05/0.8177, allocations: 47.31 kB / 0.8285 GB, free: 4.051 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8177, allocations: 7.938 kB / 0.8285 GB, free: 4.051 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8177, allocations: 0 / 0.8285 GB, free: 4.051 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8178, allocations: 6.906 kB / 0.8285 GB, free: 4.047 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.8178, allocations: 2.531 kB / 0.8285 GB, free: 4.047 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.8178, allocations: 6.438 kB / 0.8285 GB, free: 4.043 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.8178, allocations: 0 / 0.8285 GB, free: 4.043 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.8178, allocations: 2.312 kB / 0.8285 GB, free: 4.043 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.8179, allocations: 116.7 kB / 0.8287 GB, free: 3.922 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.818, allocations: 7.891 kB / 0.8287 GB, free: 3.914 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.8181, allocations: 123.4 kB / 0.8288 GB, free: 3.789 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.244e-05/0.8182, allocations: 182.3 kB / 0.829 GB, free: 3.605 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.452e-05/0.8183, allocations: 176.3 kB / 0.8291 GB, free: 3.426 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-05/0.8183, allocations: 190.5 kB / 0.8293 GB, free: 3.234 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.8186, allocations: 379.2 kB / 0.8297 GB, free: 2.816 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/0.8186, allocations: 101 kB / 0.8298 GB, free: 2.711 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.8187, allocations: 115.6 kB / 0.8299 GB, free: 2.594 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/0.8188, allocations: 176.3 kB / 0.83 GB, free: 2.414 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/0.8189, allocations: 176.3 kB / 0.8302 GB, free: 2.234 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-05/0.8189, allocations: 182.4 kB / 0.8304 GB, free: 2.051 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-05/0.819, allocations: 184.2 kB / 0.8306 GB, free: 1.863 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.8192, allocations: 312.4 kB / 0.8309 GB, free: 1.539 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.8193, allocations: 111.8 kB / 0.831 GB, free: 1.426 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.8194, allocations: 180.2 kB / 0.8311 GB, free: 1.242 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.8195, allocations: 103.8 kB / 0.8312 GB, free: 1.137 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.8196, allocations: 186.6 kB / 0.8314 GB, free: 0.9492 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.8197, allocations: 105 kB / 0.8315 GB, free: 0.8398 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 5.744e-05/0.8197, allocations: 83.7 kB / 0.8316 GB, free: 0.7617 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 7e-08/0.8197, allocations: 2.875 kB / 0.8316 GB, free: 0.7617 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0003303/0.82, allocations: 66.14 kB / 0.8317 GB, free: 0.7344 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003368/0.8204, allocations: 251 kB / 0.8319 GB, free: 0.5352 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 9.61e-05/0.8205, allocations: 16.8 kB / 0.8319 GB, free: 0.5234 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8205, allocations: 0 / 0.8319 GB, free: 0.5234 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.8205, allocations: 0 / 0.8319 GB, free: 0.5234 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.8209, allocations: 467.8 kB / 0.8324 GB, free: 76 kB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.8213, allocations: 180.6 kB / 0.8325 GB, free: 15.89 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.8216, allocations: 0.6714 MB / 0.8332 GB, free: 15.19 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 4.117e-05/0.8216, allocations: 8.766 kB / 0.8332 GB, free: 15.19 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.8216, allocations: 14.19 kB / 0.8332 GB, free: 15.18 MB / 0.6075 GB
Notification: Performance of SimCode: time 3.2e-07/0.8216, allocations: 4 kB / 0.8332 GB, free: 15.17 MB / 0.6075 GB
Notification: Performance of Templates: time 0.004429/0.8261, allocations: 1.282 MB / 0.8345 GB, free: 14.5 MB / 0.6075 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.316561509855092]
Failed to read output from testmodel.py, exit status != 0:
0.833851758390665 0.8529310990000001 0.032525954
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f00b55397b0>