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.001834/0.001834, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002568/0.002568, allocations: 157.6 kB / 22.75 MB, free: 1.68 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 1.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.465 MB / 186.7 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.05164/0.05164, allocations: 7.517 MB / 267.1 MB, free: 5.895 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 2.725e-06/2.725e-06, allocations: 0 / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.343e-05, allocations: 2.312 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01787/0.01791, allocations: 16.27 MB / 354.2 MB, free: 11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.03918, allocations: 15.05 MB / 369.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.03936, allocations: 4 kB / 369.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008267/0.04018, allocations: 254.6 kB / 369.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.04083, allocations: 226.6 kB / 369.7 MB, free: 11.43 MB / 298.7 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.02078/0.06161, allocations: 7.504 MB / 377.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.06212, allocations: 306.2 kB / 377.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.06217, allocations: 9.812 kB / 377.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.06251, allocations: 175.5 kB / 377.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.06263, allocations: 55.84 kB / 377.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.06265, allocations: 4 kB / 377.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.0795, allocations: 7.339 MB / 385.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.07955, allocations: 19.88 kB / 385.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.07975, allocations: 55.92 kB / 385.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.09372, allocations: 4.5 MB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.09373, allocations: 3.938 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.09373, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.09374, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.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.002712/0.09645, allocations: 0.9456 MB / 390.6 MB, free: 6.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.09651, allocations: 8.625 kB / 390.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.09659, allocations: 15.91 kB / 390.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.09679, allocations: 129 kB / 390.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.09681, allocations: 0 / 390.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.09683, allocations: 19.94 kB / 390.8 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.09723, allocations: 168.2 kB / 390.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.09724, allocations: 0 / 390.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.09726, allocations: 4 kB / 390.9 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.09727, allocations: 7.984 kB / 390.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.09756, allocations: 115.9 kB / 391.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/0.09834, allocations: 480 kB / 391.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.09858, allocations: 114.5 kB / 391.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.09878, allocations: 100.8 kB / 391.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2994/0.3982, allocations: 25.86 MB / 417.6 MB, free: 84.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3982, allocations: 33.41 kB / 417.6 MB, free: 84.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.3982, allocations: 0 / 417.6 MB, free: 84.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007281/0.3989, allocations: 380.2 kB / 418 MB, free: 84.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.3989, allocations: 52.56 kB / 418 MB, free: 84.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.399, allocations: 126.2 kB / 418.2 MB, free: 84.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.399, allocations: 25.7 kB / 418.2 MB, free: 84.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.3991, allocations: 87.22 kB / 418.3 MB, free: 84.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.3992, allocations: 145.1 kB / 418.4 MB, free: 84.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.3992, allocations: 40.98 kB / 418.5 MB, free: 84.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.3993, allocations: 329 kB / 418.8 MB, free: 83.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3994, allocations: 88.48 kB / 418.9 MB, free: 83.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.3996, allocations: 129 kB / 419 MB, free: 83.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.4, allocations: 247 kB / 419.2 MB, free: 83.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4, allocations: 0 / 419.2 MB, free: 83.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004433/0.4004, allocations: 273 kB / 419.5 MB, free: 83.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4004, allocations: 10.88 kB / 419.5 MB, free: 83.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4004, allocations: 3.984 kB / 419.5 MB, free: 83.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4005, allocations: 7.719 kB / 419.5 MB, free: 83.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.4005, allocations: 13.94 kB / 419.5 MB, free: 83.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4005, allocations: 0 / 419.5 MB, free: 83.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.4006, allocations: 25.55 kB / 419.6 MB, free: 83.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4006, allocations: 3.844 kB / 419.6 MB, free: 83.28 MB / 330.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 6.88e-05/0.4007, allocations: 129 kB / 419.7 MB, free: 83.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.4007, allocations: 18.34 kB / 419.7 MB, free: 83.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.4012, allocations: 311.8 kB / 420 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.4012, allocations: 11.92 kB / 420 MB, free: 82.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4012, allocations: 0 / 420 MB, free: 82.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4012, allocations: 0.8438 kB / 420 MB, free: 82.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.4014, allocations: 194 kB / 420.2 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4014, allocations: 2.156 kB / 420.2 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.4015, allocations: 11.58 kB / 420.2 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4015, allocations: 0 / 420.2 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4015, allocations: 0 / 420.2 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4015, allocations: 0 / 420.2 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4015, allocations: 3.938 kB / 420.2 MB, free: 82.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.4018, allocations: 381.7 kB / 420.6 MB, free: 82.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.4019, allocations: 28.75 kB / 420.6 MB, free: 82.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4019, allocations: 7.188 kB / 420.6 MB, free: 82.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.402, allocations: 3.281 kB / 420.6 MB, free: 82.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.4021, allocations: 11.61 kB / 420.7 MB, free: 82.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.4021, allocations: 6.719 kB / 420.7 MB, free: 82.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.4021, allocations: 94.8 kB / 420.8 MB, free: 82.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4021, allocations: 0.5625 kB / 420.8 MB, free: 82.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002475/0.4046, allocations: 1.14 MB / 421.9 MB, free: 82.03 MB / 330.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.004369/0.4089, allocations: 1.85 MB / 423.7 MB, free: 80.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.4093, allocations: 237.4 kB / 424 MB, free: 80.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4093, allocations: 0 / 424 MB, free: 80.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4095, allocations: 129.6 kB / 424.1 MB, free: 80.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.4104, allocations: 148.2 kB / 424.3 MB, free: 79.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.4108, allocations: 335.8 kB / 424.6 MB, free: 79.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.4109, allocations: 111.9 kB / 424.7 MB, free: 79.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.411, allocations: 15.94 kB / 424.7 MB, free: 79.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.411, allocations: 16.5 kB / 424.7 MB, free: 79.37 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.411, allocations: 3.938 kB / 424.7 MB, free: 79.36 MB / 330.7 MB Notification: Performance of Templates: time 0.03508/0.4461, allocations: 30.45 MB / 455.2 MB, free: 49.12 MB / 330.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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.083398376009427]