Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.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.001421/0.001421, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001576/0.001576, allocations: 188 kB / 22.23 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05243/0.05243, allocations: 9.149 MB / 294.4 MB, free: 12.73 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package HelmholtzMedia with version  (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState")
translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 66.86 kB / 411.5 MB, free: 46.25 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08362, allocations: 50.74 MB / 462.3 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02218/0.1058, allocations: 18.03 MB / 480.3 MB, free: 10.16 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01943/0.1252, allocations: 17.03 MB / 497.3 MB, free: 9.07 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1254, allocations: 4 kB / 497.3 MB, free: 9.066 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.1264, allocations: 318.6 kB / 497.6 MB, free: 8.754 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000723/0.1271, allocations: 230.7 kB / 497.9 MB, free: 8.527 MB / 366.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
Notification: Performance of NFTyping.typeClassSections: time 0.01962/0.1467, allocations: 7.538 MB / 0.4935 GB, free: 0.9805 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004817/0.1472, allocations: 294.4 kB / 0.4938 GB, free: 0.6914 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.1473, allocations: 5.812 kB / 0.4938 GB, free: 0.6875 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.1476, allocations: 127.4 kB / 0.494 GB, free: 0.5625 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1478, allocations: 71.66 kB / 0.494 GB, free: 0.4922 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1478, allocations: 4 kB / 0.494 GB, free: 500 kB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.02165/0.1694, allocations: 10.61 MB / 0.5044 GB, free: 5.863 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.1695, allocations: 19.86 kB / 0.5044 GB, free: 5.844 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1697, allocations: 83.61 kB / 0.5045 GB, free: 5.762 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01212/0.1818, allocations: 4.399 MB / 0.5088 GB, free: 1.352 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1818, allocations: 0 / 0.5088 GB, free: 1.352 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.1818, allocations: 0 / 0.5088 GB, free: 1.352 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.608e-06/0.1818, allocations: 3.938 kB / 0.5088 GB, free: 1.348 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 45
 * Number of variables: 45
Notification: Performance of Generate backend data structure: time 0.002702/0.1845, allocations: 0.9496 MB / 0.5097 GB, free: 372 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1846, allocations: 11.98 kB / 0.5097 GB, free: 360 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1846, allocations: 19.86 kB / 0.5097 GB, free: 340 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1848, allocations: 128.9 kB / 0.5099 GB, free: 184 kB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1848, allocations: 8 kB / 0.5099 GB, free: 176 kB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1848, allocations: 0 / 0.5099 GB, free: 176 kB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1852, allocations: 168.4 kB / 0.51 GB, free: 16 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1852, allocations: 4 kB / 0.51 GB, free: 15.99 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1852, allocations: 4 kB / 0.51 GB, free: 15.99 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.1852, allocations: 7.984 kB / 0.51 GB, free: 15.98 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.1855, allocations: 111.9 kB / 0.5102 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.1862, allocations: 0.5074 MB / 0.5106 GB, free: 15.32 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1864, allocations: 118.5 kB / 0.5108 GB, free: 15.19 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1866, allocations: 100.8 kB / 0.5109 GB, free: 15.09 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.318/0.5046, allocations: 25.68 MB / 0.5359 GB, free: 70.08 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.5047, allocations: 37.64 kB / 0.536 GB, free: 70.04 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.5047, allocations: 0 / 0.536 GB, free: 70.04 MB / 398.1 MB
Notification: Performance of matching and sorting (n=42): time 0.0006868/0.5053, allocations: 376.9 kB / 0.5363 GB, free: 69.86 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.5054, allocations: 52.81 kB / 0.5364 GB, free: 69.79 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.5055, allocations: 123.4 kB / 0.5365 GB, free: 69.68 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5055, allocations: 27.02 kB / 0.5365 GB, free: 69.64 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.5055, allocations: 94.38 kB / 0.5366 GB, free: 69.55 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.5056, allocations: 140.9 kB / 0.5367 GB, free: 69.45 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.5056, allocations: 45.45 kB / 0.5368 GB, free: 69.42 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 5.31e-05/0.5057, allocations: 325.8 kB / 0.5371 GB, free: 69.09 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.5058, allocations: 89.52 kB / 0.5372 GB, free: 69.05 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.506, allocations: 122.7 kB / 0.5373 GB, free: 68.97 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.5063, allocations: 234.2 kB / 0.5375 GB, free: 68.84 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5063, allocations: 0 / 0.5375 GB, free: 68.84 MB / 398.1 MB
Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003973/0.5067, allocations: 274.3 kB / 0.5378 GB, free: 68.7 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5067, allocations: 4.719 kB / 0.5378 GB, free: 68.7 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5067, allocations: 9.375 kB / 0.5378 GB, free: 68.7 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5068, allocations: 1.281 kB / 0.5378 GB, free: 68.7 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.5068, allocations: 18.52 kB / 0.5378 GB, free: 68.69 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5068, allocations: 1.312 kB / 0.5378 GB, free: 68.69 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.5069, allocations: 23.05 kB / 0.5378 GB, free: 68.68 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.507, allocations: 2.719 kB / 0.5378 GB, free: 68.68 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 6
 * 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 7.644e-05/0.507, allocations: 124.5 kB / 0.538 GB, free: 68.55 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5071, allocations: 22.59 kB / 0.538 GB, free: 68.54 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.5076, allocations: 317.8 kB / 0.5383 GB, free: 68.38 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5076, allocations: 10.27 kB / 0.5383 GB, free: 68.37 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5076, allocations: 0 / 0.5383 GB, free: 68.37 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5076, allocations: 1.281 kB / 0.5383 GB, free: 68.37 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.5078, allocations: 248.8 kB / 0.5385 GB, free: 68.13 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5078, allocations: 5.031 kB / 0.5385 GB, free: 68.13 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.5079, allocations: 9.641 kB / 0.5386 GB, free: 68.12 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5079, allocations: 0 / 0.5386 GB, free: 68.12 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5079, allocations: 5.844 kB / 0.5386 GB, free: 68.12 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5079, allocations: 0 / 0.5386 GB, free: 68.12 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5079, allocations: 1.281 kB / 0.5386 GB, free: 68.12 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.5083, allocations: 373.9 kB / 0.5389 GB, free: 67.87 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.5084, allocations: 26.66 kB / 0.5389 GB, free: 67.85 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.5084, allocations: 5.078 kB / 0.5389 GB, free: 67.85 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5085, allocations: 9.188 kB / 0.539 GB, free: 67.84 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.5086, allocations: 7.672 kB / 0.539 GB, free: 67.84 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5086, allocations: 3.625 kB / 0.539 GB, free: 67.84 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.386e-05/0.5086, allocations: 92.97 kB / 0.5391 GB, free: 67.76 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5086, allocations: 0 / 0.5391 GB, free: 67.76 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.003897/0.5125, allocations: 1.13 MB / 0.5402 GB, free: 67.64 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 6
 * 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.004452/0.517, allocations: 1.686 MB / 0.5418 GB, free: 67.07 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004214/0.5174, allocations: 232.6 kB / 0.542 GB, free: 66.95 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5174, allocations: 0 / 0.542 GB, free: 66.95 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.5176, allocations: 136.7 kB / 0.5422 GB, free: 66.86 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.5184, allocations: 148 kB / 0.5423 GB, free: 66.8 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.5189, allocations: 342.3 kB / 0.5426 GB, free: 66.57 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.519, allocations: 0.724 MB / 0.5433 GB, free: 65.85 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.447e-05/0.5191, allocations: 3.938 kB / 0.5433 GB, free: 65.85 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.5191, allocations: 23.33 kB / 0.5434 GB, free: 65.84 MB / 398.1 MB
Notification: Performance of SimCode: time 5.61e-07/0.5191, allocations: 0 / 0.5434 GB, free: 65.84 MB / 398.1 MB
Notification: Performance of Templates: time 0.03825/0.5574, allocations: 30.17 MB / 0.5728 GB, free: 37 MB / 398.1 MB
"
[Timeout remaining time 659]
make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile [Timeout 660]
(rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.248147872276604]
Failed to read output from testmodel.py, exit status != 0:
0.565903265029192 0.576088734 0.39181704
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb84a18d7b0>