Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.0009254/0.0009254, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.0009738/0.0009738, allocations: 173 kB / 23.28 MB, free: 1.227 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.8847/0.8847, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.04449/0.04449, allocations: 7.529 MB / 267.8 MB, free: 5.848 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.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 339.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.825e-05, allocations: 2.312 kB / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01131/0.01133, allocations: 13.13 MB / 352.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.02383, allocations: 17.11 MB / 369.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.02398, allocations: 0 / 369.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.02416, allocations: 47.67 kB / 369.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.02428, allocations: 75.33 kB / 369.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.03703, allocations: 6.793 MB / 376.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.03723, allocations: 182.8 kB / 376.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.03727, allocations: 9.625 kB / 376.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.03743, allocations: 95.77 kB / 376.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.0375, allocations: 51.91 kB / 376.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.03751, allocations: 7.938 kB / 376.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.05025, allocations: 10.34 MB / 386.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.05028, allocations: 15.92 kB / 386.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.05034, allocations: 51.84 kB / 387 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008691/0.05903, allocations: 7.788 MB / 394.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.05903, allocations: 0 / 394.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.05903, allocations: 3.938 kB / 394.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.05904, allocations: 0 / 394.8 MB, free: 2.863 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002189/0.06123, allocations: 1.399 MB / 396.2 MB, free: 1.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.06126, allocations: 12.62 kB / 396.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.06137, allocations: 36.83 kB / 396.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.06152, allocations: 176.3 kB / 396.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.06153, allocations: 8.375 kB / 396.4 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.06155, allocations: 8.375 kB / 396.4 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.06199, allocations: 316.7 kB / 396.7 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.062, allocations: 3.938 kB / 396.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.06201, allocations: 8 kB / 396.7 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.06202, allocations: 3.938 kB / 396.7 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.06235, allocations: 199.7 kB / 396.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.06289, allocations: 1.037 MB / 398 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.06328, allocations: 261.1 kB / 398.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.06332, allocations: 43.05 kB / 398.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2826/0.3459, allocations: 108.8 MB / 0.4952 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.346, allocations: 45.38 kB / 0.4953 GB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.346, allocations: 0 / 0.4953 GB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009142/0.3469, allocations: 420 kB / 0.4957 GB, free: 11.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3469, allocations: 106.8 kB / 0.4958 GB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.347, allocations: 206.9 kB / 0.496 GB, free: 11.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.347, allocations: 29.7 kB / 0.496 GB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.3471, allocations: 167.3 kB / 0.4961 GB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3471, allocations: 38.89 kB / 0.4962 GB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.3472, allocations: 54.83 kB / 0.4962 GB, free: 11.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3473, allocations: 0.4987 MB / 0.4967 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.3473, allocations: 20.23 kB / 0.4967 GB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.3474, allocations: 90.41 kB / 0.4968 GB, free: 10.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.3475, allocations: 115.6 kB / 0.4969 GB, free: 10.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3475, allocations: 0 / 0.4969 GB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001423/0.3476, allocations: 139.5 kB / 0.4971 GB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3476, allocations: 7.938 kB / 0.4971 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3476, allocations: 0 / 0.4971 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.3477, allocations: 4 kB / 0.4971 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3478, allocations: 43.45 kB / 0.4971 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.3478, allocations: 3.984 kB / 0.4971 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.3478, allocations: 19.89 kB / 0.4971 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3478, allocations: 8.219 kB / 0.4971 GB, free: 10.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_dT.phase,state_ph.phase,state.phase,state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.472e-05/0.3479, allocations: 172 kB / 0.4973 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.3479, allocations: 15.91 kB / 0.4973 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.3485, allocations: 0.6495 MB / 0.498 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3485, allocations: 19.97 kB / 0.498 GB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3485, allocations: 0 / 0.498 GB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3485, allocations: 4 kB / 0.498 GB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3488, allocations: 354.4 kB / 0.4983 GB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3488, allocations: 3.984 kB / 0.4983 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.3488, allocations: 23.98 kB / 0.4983 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3488, allocations: 4 kB / 0.4984 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3488, allocations: 6.938 kB / 0.4984 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3488, allocations: 0 / 0.4984 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3488, allocations: 9.906 kB / 0.4984 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3492, allocations: 0.7603 MB / 0.4991 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3492, allocations: 71.44 kB / 0.4992 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.3493, allocations: 4 kB / 0.4992 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.3494, allocations: 12 kB / 0.4992 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.3494, allocations: 19.91 kB / 0.4992 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3494, allocations: 4 kB / 0.4992 GB, free: 8.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.3494, allocations: 149 kB / 0.4994 GB, free: 7.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3494, allocations: 0 / 0.4994 GB, free: 7.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002536/0.352, allocations: 1.454 MB / 0.5008 GB, free: 6.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003583/0.3556, allocations: 1.971 MB / 0.5027 GB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3557, allocations: 133.3 kB / 0.5028 GB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3557, allocations: 4 kB / 0.5028 GB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.3558, allocations: 118.3 kB / 0.5029 GB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3562, allocations: 54.03 kB / 0.503 GB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.357, allocations: 0.6825 MB / 0.5037 GB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.326e-05/0.3571, allocations: 109.8 kB / 0.5038 GB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.3572, allocations: 121.3 kB / 0.5039 GB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3573, allocations: 122.2 kB / 0.504 GB, free: 3.324 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3573, allocations: 0 / 0.504 GB, free: 3.324 MB / 362.7 MB Notification: Performance of Templates: time 0.1515/0.5088, allocations: 60.31 MB / 0.5629 GB, free: 131.5 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.243526206817478]