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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 105.1 kB / 18.99 MB, free: 2.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 218.4 kB / 22.3 MB, free: 5.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.0531/0.0531, allocations: 9.14 MB / 321.6 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 71.89 kB / 447.1 MB, free: 52 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 54.95 MB / 0.4903 GB, free: 8.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02159/0.1387, allocations: 16.29 MB / 0.5062 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2405/0.3792, allocations: 15.03 MB / 0.5209 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3794, allocations: 1.719 kB / 0.5209 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007736/0.3801, allocations: 246.5 kB / 0.5211 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.3807, allocations: 226 kB / 0.5213 GB, free: 7.539 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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.01784/0.3985, allocations: 7.408 MB / 0.5286 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.3989, allocations: 302 kB / 0.5288 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.399, allocations: 7.25 kB / 0.5289 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.3992, allocations: 130.6 kB / 0.529 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3993, allocations: 65.97 kB / 0.529 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3993, allocations: 8.125 kB / 0.5291 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.4139, allocations: 7.289 MB / 0.5362 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.414, allocations: 15.72 kB / 0.5362 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.4142, allocations: 69.42 kB / 0.5363 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4242, allocations: 3.79 MB / 0.54 GB, free: 4.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4242, allocations: 0 / 0.54 GB, free: 4.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4242, allocations: 0 / 0.54 GB, free: 4.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.4242, allocations: 1.125 kB / 0.54 GB, free: 4.879 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.002633/0.4269, allocations: 0.9505 MB / 0.5409 GB, free: 4.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4269, allocations: 9.031 kB / 0.5409 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.427, allocations: 15.03 kB / 0.5409 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.4271, allocations: 130.8 kB / 0.541 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4271, allocations: 6.625 kB / 0.541 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4271, allocations: 5.688 kB / 0.541 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.4274, allocations: 165.4 kB / 0.5412 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4274, allocations: 3.984 kB / 0.5412 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4274, allocations: 3.234 kB / 0.5412 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.4275, allocations: 11.83 kB / 0.5412 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.4277, allocations: 115.9 kB / 0.5413 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.4282, allocations: 473.5 kB / 0.5418 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.4284, allocations: 112.2 kB / 0.5419 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.4286, allocations: 104 kB / 0.542 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/0.5434, allocations: 25.76 MB / 0.5671 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.5434, allocations: 34.56 kB / 0.5672 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 4.027e-06/0.5434, allocations: 0.7031 kB / 0.5672 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008324/0.5443, allocations: 374 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.5443, allocations: 51.41 kB / 0.5676 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.5445, allocations: 131.5 kB / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5445, allocations: 33.64 kB / 0.5677 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.5445, allocations: 89.09 kB / 0.5678 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.5447, allocations: 132.8 kB / 0.5679 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.5447, allocations: 41.7 kB / 0.568 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5449, allocations: 330.8 kB / 0.5683 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.5451, allocations: 95.95 kB / 0.5684 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.5453, allocations: 122.5 kB / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.5457, allocations: 238.2 kB / 0.5687 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5458, allocations: 0 / 0.5687 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004999/0.5463, allocations: 288.4 kB / 0.569 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5463, allocations: 4 kB / 0.569 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5463, allocations: 0 / 0.569 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.5463, allocations: 4 kB / 0.569 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.5464, allocations: 11.98 kB / 0.569 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5464, allocations: 0 / 0.569 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.5465, allocations: 24.28 kB / 0.5691 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.5466, allocations: 4 kB / 0.5691 GB, free: 13.73 MB / 414.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 0.0001247/0.5467, allocations: 131.1 kB / 0.5692 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.5467, allocations: 24.78 kB / 0.5692 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.5473, allocations: 319.5 kB / 0.5695 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.5474, allocations: 7.984 kB / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5474, allocations: 1.188 kB / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5474, allocations: 3.938 kB / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.5477, allocations: 185.1 kB / 0.5697 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5477, allocations: 4 kB / 0.5697 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.5477, allocations: 11.98 kB / 0.5697 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5477, allocations: 0 / 0.5697 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.5477, allocations: 0 / 0.5697 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5477, allocations: 0 / 0.5697 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5477, allocations: 3.938 kB / 0.5697 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.5483, allocations: 379.5 kB / 0.5701 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.5484, allocations: 27.83 kB / 0.5701 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.5484, allocations: 4 kB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5485, allocations: 11.98 kB / 0.5701 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.5486, allocations: 3.938 kB / 0.5701 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.5486, allocations: 11.98 kB / 0.5701 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.5487, allocations: 95.16 kB / 0.5702 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5487, allocations: 0 / 0.5702 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003738/0.5524, allocations: 1.133 MB / 0.5713 GB, free: 11.34 MB / 414.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.006738/0.5591, allocations: 1.676 MB / 0.573 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.5597, allocations: 236 kB / 0.5732 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5597, allocations: 4 kB / 0.5732 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.5599, allocations: 126.4 kB / 0.5733 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.5609, allocations: 152 kB / 0.5735 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.5616, allocations: 347.3 kB / 0.5738 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.5617, allocations: 115.9 kB / 0.5739 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.492e-05/0.5618, allocations: 19.83 kB / 0.5739 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.5618, allocations: 16.5 kB / 0.5739 GB, free: 8.777 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5618, allocations: 0 / 0.5739 GB, free: 8.777 MB / 414.1 MB Notification: Performance of Templates: time 0.0504/0.6122, allocations: 30.28 MB / 0.6035 GB, free: 10.7 MB / 446.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.615866644307971] Failed to read output from testmodel.py, exit status != 0: 0.620352765545249 0.6365562220000001 0.209055704 Calling exit ...