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.000859/0.000859, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0011/0.0011, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9795/0.9795, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.03148/0.03148, allocations: 7.534 MB / 267.8 MB, free: 5.879 MB / 250.7 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 1.152e-06/1.152e-06, allocations: 0 / 285.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.711e-05, allocations: 6.25 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.1223/0.1223, allocations: 17.95 MB / 303.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1326, allocations: 16.96 MB / 320.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.1327, allocations: 8 kB / 320.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.1332, allocations: 247.7 kB / 321 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1336, allocations: 226.5 kB / 321.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.1455, allocations: 7.077 MB / 328.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1458, allocations: 306.2 kB / 328.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.1458, allocations: 10.45 kB / 328.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.146, allocations: 175.5 kB / 328.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.1461, allocations: 63.84 kB / 328.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1461, allocations: 0 / 328.9 MB, free: 6.117 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.009886/0.156, allocations: 7.782 MB / 336.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.156, allocations: 11.92 kB / 336.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.1561, allocations: 55.88 kB / 336.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005977/0.1621, allocations: 4.481 MB / 341.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1621, allocations: 0 / 341.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1621, allocations: 0 / 341.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1621, allocations: 4 kB / 341.2 MB, free: 9.754 MB / 298.7 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.001527/0.1636, allocations: 0.9204 MB / 342.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1637, allocations: 8.625 kB / 342.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1637, allocations: 11.98 kB / 342.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.1638, allocations: 132.9 kB / 342.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1638, allocations: 4 kB / 342.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1638, allocations: 7.938 kB / 342.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.164, allocations: 133.3 kB / 342.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.164, allocations: 0 / 342.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.164, allocations: 0 / 342.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.164, allocations: 11.98 kB / 342.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/0.164, allocations: 34.78 kB / 342.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.1643, allocations: 365.7 kB / 342.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.1644, allocations: 90.48 kB / 342.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.1644, allocations: 28.86 kB / 342.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1036/0.268, allocations: 51.62 MB / 394.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2681, allocations: 30.56 kB / 394.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.333e-06/0.2681, allocations: 4 kB / 394.6 MB, free: 4.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.000224/0.2683, allocations: 218.2 kB / 394.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2683, allocations: 51.41 kB / 394.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.2684, allocations: 130.6 kB / 395 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.2684, allocations: 29.7 kB / 395 MB, free: 3.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.2684, allocations: 93.08 kB / 395.1 MB, free: 3.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.2685, allocations: 130.7 kB / 395.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2685, allocations: 53.55 kB / 395.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.2686, allocations: 330.8 kB / 395.6 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.2686, allocations: 30.81 kB / 395.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.2687, allocations: 54.53 kB / 395.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.2687, allocations: 112.8 kB / 395.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2688, allocations: 0 / 395.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001257/0.2689, allocations: 144.5 kB / 395.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2689, allocations: 4 kB / 395.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2689, allocations: 4 kB / 395.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2689, allocations: 8 kB / 395.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.269, allocations: 11.98 kB / 396 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.269, allocations: 0 / 396 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.269, allocations: 27.72 kB / 396 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.269, allocations: 4 kB / 396 MB, free: 2.719 MB / 346.7 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 5.998e-05/0.2691, allocations: 113.8 kB / 396.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.2691, allocations: 11.98 kB / 396.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.2693, allocations: 183.2 kB / 396.3 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.2693, allocations: 15.92 kB / 396.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2693, allocations: 0.5 kB / 396.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2693, allocations: 0 / 396.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2694, allocations: 125.7 kB / 396.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2694, allocations: 1.375 kB / 396.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.2694, allocations: 4 kB / 396.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2694, allocations: 4 kB / 396.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2694, allocations: 3.984 kB / 396.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2694, allocations: 0 / 396.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2694, allocations: 0 / 396.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2696, allocations: 297.6 kB / 396.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.2696, allocations: 31.77 kB / 396.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.2696, allocations: 0 / 396.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.2697, allocations: 4 kB / 396.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2697, allocations: 3.984 kB / 396.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2697, allocations: 12.69 kB / 396.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.424e-05/0.2697, allocations: 17.94 kB / 396.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2697, allocations: 0 / 396.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001754/0.2715, allocations: 1.129 MB / 397.9 MB, free: 0.7227 MB / 346.7 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.003049/0.2745, allocations: 1.939 MB / 399.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.2747, allocations: 115 kB / 400 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2747, allocations: 0 / 400 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.2747, allocations: 82.64 kB / 400.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2751, allocations: 154.4 kB / 400.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.2757, allocations: 317 kB / 400.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.2757, allocations: 84.27 kB / 400.6 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.2758, allocations: 14.16 kB / 400.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.276, allocations: 133.3 kB / 400.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.276, allocations: 0 / 400.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Templates: time 0.1398/0.4158, allocations: 36.65 MB / 437.4 MB, free: 123.9 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.094962804112583]