Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.001672/0.001672, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001575/0.001575, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.801 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.05241/0.05241, allocations: 9.131 MB / 321.6 MB, free: 10.32 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.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 447 MB, free: 192 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 54.93 MB / 0.4902 GB, free: 9.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02764/0.1557, allocations: 17.43 MB / 0.5072 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2199/0.3755, allocations: 8.356 MB / 0.5154 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.3758, allocations: 2.125 kB / 0.5154 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.3767, allocations: 391.7 kB / 0.5157 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.3772, allocations: 275.9 kB / 0.516 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.3928, allocations: 4.747 MB / 0.5206 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.3934, allocations: 404.1 kB / 0.521 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.3935, allocations: 13.83 kB / 0.521 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.3939, allocations: 185.9 kB / 0.5212 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.3941, allocations: 97.78 kB / 0.5213 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3941, allocations: 4.656 kB / 0.5213 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.4094, allocations: 5.025 MB / 0.5262 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.4095, allocations: 18.42 kB / 0.5262 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.4098, allocations: 98.59 kB / 0.5263 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.42, allocations: 2.728 MB / 0.529 GB, free: 6.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.42, allocations: 5.344 kB / 0.529 GB, free: 6.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.42, allocations: 0 / 0.529 GB, free: 6.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.42, allocations: 0 / 0.529 GB, free: 6.871 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002518/0.4225, allocations: 0.7561 MB / 0.5297 GB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4226, allocations: 11 kB / 0.5297 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.4231, allocations: 60 kB / 0.5298 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4232, allocations: 137.2 kB / 0.5299 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.4233, allocations: 6.312 kB / 0.5299 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.4233, allocations: 4.188 kB / 0.5299 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.4238, allocations: 246 kB / 0.5302 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4239, allocations: 4 kB / 0.5302 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4239, allocations: 5 kB / 0.5302 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.4239, allocations: 9.656 kB / 0.5302 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.4244, allocations: 228.1 kB / 0.5304 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.4249, allocations: 274.4 kB / 0.5307 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.4262, allocations: 317.6 kB / 0.531 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.4266, allocations: 211.6 kB / 0.5312 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04432/0.4709, allocations: 9.23 MB / 0.5402 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.471, allocations: 36.55 kB / 0.5402 GB, free: 3.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.471, allocations: 0 / 0.5402 GB, free: 3.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.0011/0.4721, allocations: 0.716 MB / 0.5409 GB, free: 3.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.4721, allocations: 55.22 kB / 0.541 GB, free: 3.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.4721, allocations: 116 kB / 0.5411 GB, free: 3.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4722, allocations: 29.14 kB / 0.5411 GB, free: 3.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.4722, allocations: 88.11 kB / 0.5412 GB, free: 3.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4723, allocations: 243.9 kB / 0.5414 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.4723, allocations: 60.14 kB / 0.5415 GB, free: 2.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.4724, allocations: 339.7 kB / 0.5418 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.4726, allocations: 184.2 kB / 0.542 GB, free: 2.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.4729, allocations: 188.4 kB / 0.5422 GB, free: 2.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.4734, allocations: 454.5 kB / 0.5426 GB, free: 2.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4734, allocations: 0 / 0.5426 GB, free: 2.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006429/0.4741, allocations: 0.4912 MB / 0.5431 GB, free: 2.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4741, allocations: 5.531 kB / 0.5431 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4741, allocations: 2.172 kB / 0.5431 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4741, allocations: 1.281 kB / 0.5431 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.4742, allocations: 27.72 kB / 0.5431 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4742, allocations: 0 / 0.5431 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.4744, allocations: 42.31 kB / 0.5432 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.4744, allocations: 9.672 kB / 0.5432 GB, free: 2.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 8.883e-05/0.4745, allocations: 133.9 kB / 0.5433 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.4746, allocations: 20.77 kB / 0.5433 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009145/0.4755, allocations: 0.8218 MB / 0.5441 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4755, allocations: 12.06 kB / 0.5441 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4755, allocations: 1.375 kB / 0.5441 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4755, allocations: 3.984 kB / 0.5441 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.4758, allocations: 367.7 kB / 0.5445 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4758, allocations: 0 / 0.5445 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.476, allocations: 32.41 kB / 0.5445 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.476, allocations: 0.7031 kB / 0.5445 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.476, allocations: 4.125 kB / 0.5445 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.476, allocations: 1.375 kB / 0.5445 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.476, allocations: 0 / 0.5445 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.4766, allocations: 0.552 MB / 0.5451 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.4767, allocations: 42.59 kB / 0.5451 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.4767, allocations: 4.25 kB / 0.5451 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.4769, allocations: 9.859 kB / 0.5451 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.4769, allocations: 12.53 kB / 0.5451 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4769, allocations: 4.969 kB / 0.5451 GB, free: 1.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.4769, allocations: 86.7 kB / 0.5452 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4769, allocations: 0 / 0.5452 GB, free: 1.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001826/0.4788, allocations: 0.7229 MB / 0.5459 GB, free: 1.262 MB / 382.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: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002743/0.4815, allocations: 1.047 MB / 0.5469 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.4821, allocations: 422.1 kB / 0.5473 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4821, allocations: 0 / 0.5473 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.4824, allocations: 205.2 kB / 0.5475 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4835, allocations: 240.2 kB / 0.5478 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.4841, allocations: 0.5667 MB / 0.5483 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.4842, allocations: 143.6 kB / 0.5485 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.4845, allocations: 196.1 kB / 0.5486 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.4846, allocations: 23.67 kB / 0.5487 GB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4846, allocations: 2.312 kB / 0.5487 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Templates: time 0.04135/0.5259, allocations: 27.41 MB / 0.5754 GB, free: 4.785 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.619307644665241] Failed to read output from testmodel.py, exit status != 0: 0.5334214009344578 0.548799562 0.125547783 Calling exit ...