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.0008989/0.0008989, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009084/0.0009084, allocations: 177 kB / 23.36 MB, free: 1.125 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.8835/0.8835, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.02957/0.02957, allocations: 7.524 MB / 267.8 MB, free: 5.875 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.483e-06/1.483e-06, allocations: 0 / 285.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.996e-05, allocations: 6.25 kB / 285.8 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.1096/0.1097, allocations: 17.9 MB / 303.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.12, allocations: 16.97 MB / 320.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1201, allocations: 4 kB / 320.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.1207, allocations: 247.7 kB / 320.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.1211, allocations: 230.5 kB / 321.2 MB, free: 13.84 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 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.01413/0.1352, allocations: 7.552 MB / 328.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.1358, allocations: 306.2 kB / 329 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.1358, allocations: 10.45 kB / 329 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.136, allocations: 187.4 kB / 329.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.1361, allocations: 55.84 kB / 329.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1361, allocations: 4 kB / 329.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009403/0.1455, allocations: 7.281 MB / 336.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.1455, allocations: 15.92 kB / 336.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1457, allocations: 63.86 kB / 336.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007349/0.153, allocations: 4.469 MB / 341.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.153, allocations: 4 kB / 341.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.153, allocations: 0 / 341.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.153, allocations: 0 / 341.1 MB, free: 9.859 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.001553/0.1546, allocations: 0.9204 MB / 342 MB, free: 8.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1546, allocations: 8.625 kB / 342 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.1546, allocations: 11.98 kB / 342 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.1547, allocations: 130.7 kB / 342.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1547, allocations: 4 kB / 342.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1547, allocations: 7.938 kB / 342.2 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1549, allocations: 127.7 kB / 342.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.1549, allocations: 3.938 kB / 342.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-06/0.1549, allocations: 0 / 342.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1549, allocations: 13.25 kB / 342.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.155, allocations: 38.72 kB / 342.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.1553, allocations: 361.7 kB / 342.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.1553, allocations: 94.52 kB / 342.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.1554, allocations: 32.8 kB / 342.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1028/0.2582, allocations: 51.62 MB / 394.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2582, allocations: 30.56 kB / 394.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.2582, allocations: 0 / 394.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002224/0.2584, allocations: 226.1 kB / 394.7 MB, free: 4.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.2585, allocations: 55.39 kB / 394.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.2585, allocations: 118.7 kB / 394.9 MB, free: 3.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.2585, allocations: 29.7 kB / 394.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.2586, allocations: 97.03 kB / 395 MB, free: 3.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.2586, allocations: 138.7 kB / 395.1 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.2587, allocations: 45.62 kB / 395.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.2587, allocations: 326.8 kB / 395.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.2588, allocations: 27.38 kB / 395.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.943e-05/0.2588, allocations: 54.53 kB / 395.6 MB, free: 3.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.2589, allocations: 113 kB / 395.7 MB, free: 3.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2589, allocations: 0 / 395.7 MB, free: 3.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001198/0.259, allocations: 144 kB / 395.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.259, allocations: 8 kB / 395.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.259, allocations: 2.188 kB / 395.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.259, allocations: 7.922 kB / 395.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.809e-05/0.2591, allocations: 8 kB / 395.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.2591, allocations: 0 / 395.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.2591, allocations: 27.78 kB / 395.9 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2591, allocations: 4 kB / 395.9 MB, free: 2.82 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.876e-05/0.2592, allocations: 117.8 kB / 396 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.2592, allocations: 8 kB / 396 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.2594, allocations: 195.3 kB / 396.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.2594, allocations: 7.922 kB / 396.2 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.2594, allocations: 4 kB / 396.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2594, allocations: 0 / 396.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2595, allocations: 125.7 kB / 396.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2595, allocations: 0 / 396.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.2596, allocations: 7.984 kB / 396.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2596, allocations: 0 / 396.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2596, allocations: 0 / 396.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2596, allocations: 4 kB / 396.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2596, allocations: 0.6875 kB / 396.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.2597, allocations: 289.7 kB / 396.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.2597, allocations: 31.77 kB / 396.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.2597, allocations: 0 / 396.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.2598, allocations: 4 kB / 396.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2598, allocations: 7.984 kB / 396.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2598, allocations: 4.688 kB / 396.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.839e-05/0.2598, allocations: 29.64 kB / 396.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2598, allocations: 0 / 396.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001682/0.2615, allocations: 1.137 MB / 397.8 MB, free: 0.8086 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.00295/0.2645, allocations: 1.924 MB / 399.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.2647, allocations: 122.5 kB / 399.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2647, allocations: 4 kB / 399.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.2648, allocations: 78.52 kB / 400 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2652, allocations: 153.7 kB / 400.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.2658, allocations: 309.1 kB / 400.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.2658, allocations: 88.27 kB / 400.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.2659, allocations: 7.938 kB / 400.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.266, allocations: 137.2 kB / 400.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.266, allocations: 7.938 kB / 400.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Templates: time 0.1246/0.3907, allocations: 36.65 MB / 437.3 MB, free: 124 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.734947727061808]