Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.0008546/0.0008546, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008809/0.0008809, allocations: 169 kB / 23.27 MB, free: 1.219 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.905/0.905, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.03065/0.03065, allocations: 7.513 MB / 267.8 MB, free: 5.844 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.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 339.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.285e-05, allocations: 2.312 kB / 339.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.01534/0.01535, allocations: 20.24 MB / 359.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.03755, allocations: 33.39 MB / 392.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.03776, allocations: 15.88 kB / 392.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.0386, allocations: 0.5172 MB / 393.3 MB, free: 5.238 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.03931, allocations: 0.6491 MB / 393.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01511/0.05442, allocations: 11.47 MB / 405.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.05552, allocations: 1.491 MB / 406.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.05567, allocations: 86.45 kB / 407 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008208/0.05649, allocations: 0.8185 MB / 407.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.05681, allocations: 351 kB / 408.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.05686, allocations: 40 kB / 408.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009135/0.06599, allocations: 8.341 MB / 416.5 MB, free: 13.92 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.06609, allocations: 127.5 kB / 416.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.06625, allocations: 219.6 kB / 416.9 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006075/0.07233, allocations: 5.045 MB / 421.9 MB, free: 8.523 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.07233, allocations: 0 / 421.9 MB, free: 8.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07233, allocations: 0 / 421.9 MB, free: 8.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.07234, allocations: 0 / 421.9 MB, free: 8.523 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001569/0.07391, allocations: 1.43 MB / 423.3 MB, free: 7.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.07394, allocations: 12.62 kB / 423.4 MB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.07431, allocations: 178.8 kB / 423.5 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.07456, allocations: 276.1 kB / 423.8 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.07459, allocations: 32.66 kB / 423.8 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.07463, allocations: 32 kB / 423.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.0752, allocations: 0.5763 MB / 424.4 MB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.07522, allocations: 3.984 kB / 424.4 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.07524, allocations: 20 kB / 424.5 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.07525, allocations: 19.98 kB / 424.5 MB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.07557, allocations: 225.3 kB / 424.7 MB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.07677, allocations: 1.75 MB / 426.5 MB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.07718, allocations: 252.4 kB / 426.7 MB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.07727, allocations: 97.23 kB / 426.8 MB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02672/0.104, allocations: 10.97 MB / 437.8 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.104, allocations: 45.61 kB / 437.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 1.593e-06/0.104, allocations: 0 / 437.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.002233/0.1063, allocations: 1.335 MB / 439.1 MB, free: 7.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.1063, allocations: 55.41 kB / 439.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1064, allocations: 270.6 kB / 439.5 MB, free: 6.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1064, allocations: 29.7 kB / 439.5 MB, free: 6.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.1065, allocations: 240.1 kB / 439.7 MB, free: 6.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1067, allocations: 297.4 kB / 440 MB, free: 6.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1068, allocations: 123.8 kB / 440.1 MB, free: 5.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1069, allocations: 0.539 MB / 440.7 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.107, allocations: 73.45 kB / 440.7 MB, free: 5.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.1072, allocations: 259.4 kB / 441 MB, free: 5.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1075, allocations: 373.6 kB / 441.4 MB, free: 4.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1075, allocations: 0 / 441.4 MB, free: 4.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0004668/0.1079, allocations: 474 kB / 441.8 MB, free: 4.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1079, allocations: 13.7 kB / 441.8 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1079, allocations: 0 / 441.8 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.1081, allocations: 59.78 kB / 441.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1083, allocations: 95.81 kB / 442 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1381/0.2464, allocations: 13.73 MB / 455.7 MB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.2467, allocations: 26.72 kB / 455.8 MB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.2467, allocations: 16.25 kB / 455.8 MB, free: 99.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.2469, allocations: 188.8 kB / 456 MB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.2469, allocations: 56.78 kB / 456 MB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000911/0.2478, allocations: 1.385 MB / 457.4 MB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000291/0.2481, allocations: 425 kB / 457.8 MB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2481, allocations: 0 / 457.8 MB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003144/0.2485, allocations: 0.715 MB / 458.5 MB, free: 98.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.2494, allocations: 1.118 MB / 459.6 MB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2494, allocations: 0 / 459.6 MB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2496, allocations: 96.09 kB / 459.7 MB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.2497, allocations: 48.5 kB / 459.8 MB, free: 97.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2497, allocations: 18.06 kB / 459.8 MB, free: 97.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004072/0.2501, allocations: 1.724 MB / 461.5 MB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2501, allocations: 0 / 461.5 MB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.2505, allocations: 0.687 MB / 462.2 MB, free: 95.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.2506, allocations: 43.95 kB / 462.3 MB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.2506, allocations: 10.28 kB / 462.3 MB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2508, allocations: 19.33 kB / 462.3 MB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2508, allocations: 47 kB / 462.3 MB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.2508, allocations: 19.22 kB / 462.3 MB, free: 95.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.317e-05/0.2509, allocations: 223.1 kB / 462.6 MB, free: 95.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2509, allocations: 0 / 462.6 MB, free: 95.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001334/0.2522, allocations: 0.9576 MB / 463.5 MB, free: 95.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.254, allocations: 1.41 MB / 464.9 MB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.2545, allocations: 0.677 MB / 465.6 MB, free: 95.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2545, allocations: 0 / 465.6 MB, free: 95.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.2547, allocations: 428.3 kB / 466 MB, free: 94.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.2556, allocations: 406.1 kB / 466.4 MB, free: 94.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2567, allocations: 0.9683 MB / 467.4 MB, free: 94.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.2567, allocations: 138.3 kB / 467.5 MB, free: 94.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.2569, allocations: 149.9 kB / 467.7 MB, free: 94.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.2573, allocations: 316 kB / 468 MB, free: 94.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2573, allocations: 0 / 468 MB, free: 94.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03102/0.2883, allocations: 40.85 MB / 0.4969 GB, free: 79.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.674292514100671]