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.0008992/0.0008992, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009494/0.0009494, allocations: 173 kB / 23.03 MB, free: 1.547 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.9103/0.9103, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03002/0.03002, allocations: 7.521 MB / 267.5 MB, free: 6 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.403e-06/1.403e-06, allocations: 0 / 338.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.032e-05, allocations: 2.312 kB / 338.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.01473/0.01475, allocations: 20.45 MB / 359.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02264/0.03739, allocations: 33.76 MB / 392.9 MB, free: 5.617 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.03769, allocations: 7.938 kB / 392.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.03869, allocations: 0.521 MB / 393.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.03953, allocations: 0.653 MB / 394.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.05634, allocations: 11.47 MB / 405.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.05751, allocations: 1.487 MB / 407 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.05767, allocations: 77.91 kB / 407.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.05866, allocations: 0.834 MB / 407.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.059, allocations: 342.9 kB / 408.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.05905, allocations: 40 kB / 408.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.06912, allocations: 8.345 MB / 416.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.06925, allocations: 123.5 kB / 416.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.06948, allocations: 223.6 kB / 417 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007472/0.07696, allocations: 5.042 MB / 422 MB, free: 8.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.07696, allocations: 0 / 422 MB, free: 8.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.07696, allocations: 3.984 kB / 422 MB, free: 8.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.07697, allocations: 0 / 422 MB, free: 8.367 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.001814/0.07878, allocations: 1.422 MB / 423.5 MB, free: 6.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.07882, allocations: 12.62 kB / 423.5 MB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.07922, allocations: 170.9 kB / 423.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.07952, allocations: 288 kB / 423.9 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.07955, allocations: 28.66 kB / 424 MB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.0796, allocations: 36 kB / 424 MB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.08027, allocations: 0.6038 MB / 424.6 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.08028, allocations: 3.938 kB / 424.6 MB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.08031, allocations: 16 kB / 424.6 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.08032, allocations: 15.98 kB / 424.6 MB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.08074, allocations: 280.3 kB / 424.9 MB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.08204, allocations: 1.777 MB / 426.7 MB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.0825, allocations: 284.4 kB / 427 MB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.08263, allocations: 129.2 kB / 427.1 MB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03135/0.114, allocations: 13.8 MB / 440.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.114, allocations: 37.66 kB / 440.9 MB, free: 5.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 2.625e-06/0.114, allocations: 8 kB / 440.9 MB, free: 5.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.002573/0.1166, allocations: 1.464 MB / 442.4 MB, free: 3.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1166, allocations: 59.39 kB / 442.5 MB, free: 3.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1168, allocations: 266.7 kB / 442.7 MB, free: 3.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1168, allocations: 37.7 kB / 442.8 MB, free: 3.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.1169, allocations: 236.1 kB / 443 MB, free: 3.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.117, allocations: 297.4 kB / 443.3 MB, free: 2.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1171, allocations: 119.8 kB / 443.4 MB, free: 2.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003585/0.1175, allocations: 0.5352 MB / 443.9 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1176, allocations: 97.45 kB / 444 MB, free: 2.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.1178, allocations: 271.5 kB / 444.3 MB, free: 1.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.1182, allocations: 425.9 kB / 444.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1182, allocations: 0 / 444.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005405/0.1187, allocations: 494.3 kB / 445.2 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1187, allocations: 8.938 kB / 445.2 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.1187, allocations: 4 kB / 445.2 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.1189, allocations: 59.27 kB / 445.3 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1191, allocations: 88.23 kB / 445.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.144/0.2631, allocations: 14.25 MB / 459.6 MB, free: 97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2633, allocations: 19.62 kB / 459.6 MB, free: 97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2633, allocations: 19.38 kB / 459.6 MB, free: 97 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.0001384/0.2635, allocations: 197.6 kB / 459.8 MB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.2635, allocations: 54.19 kB / 459.9 MB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/0.2645, allocations: 1.397 MB / 461.3 MB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003761/0.2649, allocations: 484.3 kB / 461.7 MB, free: 96.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2649, allocations: 0 / 461.7 MB, free: 96.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004011/0.2653, allocations: 0.77 MB / 462.5 MB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2663, allocations: 1.232 MB / 463.8 MB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2663, allocations: 0 / 463.8 MB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2665, allocations: 98.77 kB / 463.8 MB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.2666, allocations: 47.33 kB / 463.9 MB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2666, allocations: 17.12 kB / 463.9 MB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000421/0.267, allocations: 1.741 MB / 465.7 MB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.267, allocations: 0 / 465.7 MB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.2677, allocations: 0.7513 MB / 466.4 MB, free: 93.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.2677, allocations: 38.44 kB / 466.4 MB, free: 93.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.2677, allocations: 14.86 kB / 466.5 MB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2678, allocations: 20.2 kB / 466.5 MB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.2679, allocations: 50.88 kB / 466.5 MB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2679, allocations: 16.59 kB / 466.5 MB, free: 93.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.268, allocations: 236.9 kB / 466.8 MB, free: 93.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.268, allocations: 0 / 466.8 MB, free: 93.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001393/0.2694, allocations: 0.9577 MB / 467.7 MB, free: 93.46 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.001832/0.2713, allocations: 1.371 MB / 469.1 MB, free: 93.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.2719, allocations: 0.7109 MB / 469.8 MB, free: 92.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2719, allocations: 0 / 469.8 MB, free: 92.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.2722, allocations: 451 kB / 470.3 MB, free: 92.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.2732, allocations: 404.9 kB / 470.6 MB, free: 92.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2744, allocations: 0.9794 MB / 471.6 MB, free: 92.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.2745, allocations: 136.5 kB / 471.8 MB, free: 92.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.2747, allocations: 155.3 kB / 471.9 MB, free: 92.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.2748, allocations: 53.06 kB / 472 MB, free: 92.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2748, allocations: 0 / 472 MB, free: 92.05 MB / 410.7 MB Notification: Performance of Templates: time 0.03304/0.3078, allocations: 41.55 MB / 0.5015 GB, free: 75.47 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.9417915479280055]