Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.0006767/0.0006767, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008954/0.001572, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.0006754/0.0006754, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009008/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.962/0.962, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09841/1.06, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04494/0.04494, allocations: 11.74 MB / 255.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005358/0.05029, allocations: 3.091 MB / 259 MB, free: 0.6914 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.391e-05, allocations: 2.312 kB / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.1682/0.1682, allocations: 61.17 MB / 321.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03299/0.2012, allocations: 48.07 MB / 369.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.2015, allocations: 7.938 kB / 369.5 MB, free: 5.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.2022, allocations: 378.1 kB / 369.9 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007406/0.2029, allocations: 0.649 MB / 370.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04804/0.251, allocations: 22.94 MB / 393.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.2524, allocations: 1.468 MB / 395 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2526, allocations: 89.7 kB / 395.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/0.2582, allocations: 5.968 MB / 401 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.2585, allocations: 328.3 kB / 401.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.2585, allocations: 44 kB / 401.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/0.2862, allocations: 17.6 MB / 419 MB, free: 4.246 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.2864, allocations: 107.7 kB / 419.1 MB, free: 4.141 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.2868, allocations: 191.7 kB / 419.3 MB, free: 3.953 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1603/0.4471, allocations: 7.111 MB / 426.4 MB, free: 63.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.4471, allocations: 0.9688 kB / 426.4 MB, free: 63.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4471, allocations: 0 / 426.4 MB, free: 63.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4472, allocations: 0 / 426.4 MB, free: 63.43 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.004465/0.4516, allocations: 2.508 MB / 428.9 MB, free: 62.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.4517, allocations: 10.16 kB / 428.9 MB, free: 62.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.4519, allocations: 90.78 kB / 429 MB, free: 62.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.4522, allocations: 242.3 kB / 429.2 MB, free: 62.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4522, allocations: 30 kB / 429.3 MB, free: 62.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.4523, allocations: 37.05 kB / 429.3 MB, free: 62.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.4529, allocations: 0.5597 MB / 429.9 MB, free: 61.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4529, allocations: 0.9688 kB / 429.9 MB, free: 61.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.4529, allocations: 18.28 kB / 429.9 MB, free: 61.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4529, allocations: 15.81 kB / 429.9 MB, free: 61.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.4533, allocations: 244.9 kB / 430.1 MB, free: 61.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02843/0.4817, allocations: 24.9 MB / 455 MB, free: 60.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.4822, allocations: 281.8 kB / 455.3 MB, free: 59.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.4822, allocations: 100.1 kB / 455.4 MB, free: 59.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0738/0.556, allocations: 70.94 MB / 0.514 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5561, allocations: 42.55 kB / 0.514 GB, free: 4.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 1.874e-06/0.5561, allocations: 0 / 0.514 GB, free: 4.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002997/0.5591, allocations: 1.495 MB / 0.5155 GB, free: 2.676 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.5591, allocations: 55.41 kB / 0.5156 GB, free: 2.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5592, allocations: 227.2 kB / 0.5158 GB, free: 2.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.5592, allocations: 33.7 kB / 0.5158 GB, free: 2.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.5593, allocations: 180.9 kB / 0.516 GB, free: 2.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.5594, allocations: 289.1 kB / 0.5163 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.5594, allocations: 109.6 kB / 0.5164 GB, free: 1.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.5595, allocations: 352.8 kB / 0.5167 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.5596, allocations: 92.3 kB / 0.5168 GB, free: 1.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5597, allocations: 214.7 kB / 0.517 GB, free: 1.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.5599, allocations: 391.1 kB / 0.5174 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5599, allocations: 0 / 0.5174 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003829/0.5603, allocations: 436.5 kB / 0.5178 GB, free: 364 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5603, allocations: 4 kB / 0.5178 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5603, allocations: 4 kB / 0.5178 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.5605, allocations: 91.12 kB / 0.5179 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.5607, allocations: 108.2 kB / 0.518 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.5638, allocations: 4.399 MB / 0.5223 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.5639, allocations: 8 kB / 0.5223 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.5639, allocations: 24 kB / 0.5223 GB, free: 11.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (51): * Single equations (assignments): 46 * 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.0001203/0.5641, allocations: 155.6 kB / 0.5225 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.5641, allocations: 31.97 kB / 0.5225 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.5659, allocations: 3.144 MB / 0.5256 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007995/0.5667, allocations: 1.344 MB / 0.5269 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5667, allocations: 0 / 0.5269 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000868/0.5676, allocations: 1.655 MB / 0.5285 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.5693, allocations: 1.895 MB / 0.5303 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5693, allocations: 1.25 kB / 0.5303 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.5695, allocations: 114.6 kB / 0.5304 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.5696, allocations: 67.42 kB / 0.5305 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.5697, allocations: 48.75 kB / 0.5306 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.5697, allocations: 15.94 kB / 0.5306 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000507/0.5702, allocations: 1.18 MB / 0.5317 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5702, allocations: 0 / 0.5317 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/0.5712, allocations: 1.456 MB / 0.5331 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.5713, allocations: 19.89 kB / 0.5332 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5714, allocations: 15.98 kB / 0.5332 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.5714, allocations: 36.42 kB / 0.5332 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.5715, allocations: 17.7 kB / 0.5332 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.5716, allocations: 102.4 kB / 0.5333 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5716, allocations: 0 / 0.5333 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00321/0.5748, allocations: 1.247 MB / 0.5345 GB, free: 15.43 MB / 426.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: 11 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003285/0.578, allocations: 2.24 MB / 0.5367 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000798/0.5788, allocations: 0.9545 MB / 0.5377 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.5789, allocations: 8.375 kB / 0.5377 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.5793, allocations: 0.5848 MB / 0.5382 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.5805, allocations: 1.532 MB / 0.5397 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.5872, allocations: 1.544 MB / 0.5412 GB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.5873, allocations: 206 kB / 0.5414 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.5876, allocations: 170.4 kB / 0.5416 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.588, allocations: 273.1 kB / 0.5419 GB, free: 7.93 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.588, allocations: 0 / 0.5419 GB, free: 7.93 MB / 426.7 MB Notification: Performance of Templates: time 0.1611/0.7491, allocations: 44.59 MB / 0.5854 GB, free: 136.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.395748261362314]