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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.0007904, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008175/0.0008175, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04506/0.04506, allocations: 9.064 MB / 279.5 MB, free: 12.24 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 16 kB / 339.1 MB, free: 25.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.08983, allocations: 49.2 MB / 388.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3049/0.3948, allocations: 119.9 MB / 0.4963 GB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3351/0.73, allocations: 104 MB / 0.5979 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.7307, allocations: 6.688 kB / 0.5979 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.7338, allocations: 1.082 MB / 0.5989 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.7374, allocations: 1.334 MB / 0.6002 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06418/0.8016, allocations: 22.41 MB / 0.6221 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.8037, allocations: 1.589 MB / 0.6237 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.804, allocations: 98.84 kB / 0.6238 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.805, allocations: 0.5099 MB / 0.6243 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.8054, allocations: 369 kB / 0.6246 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.8055, allocations: 16.62 kB / 0.6246 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05449/0.86, allocations: 27.62 MB / 0.6516 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.8603, allocations: 92.06 kB / 0.6517 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.861, allocations: 147.5 kB / 0.6518 GB, free: 17.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02292/0.8839, allocations: 8.505 MB / 0.6601 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8839, allocations: 0 / 0.6601 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.884, allocations: 0 / 0.6601 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.884, allocations: 0 / 0.6601 GB, free: 12.72 MB / 462.1 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.007601/0.8916, allocations: 2.494 MB / 0.6626 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8916, allocations: 8.031 kB / 0.6626 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006653/0.8923, allocations: 87.83 kB / 0.6627 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.8928, allocations: 332.6 kB / 0.663 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.8928, allocations: 26.92 kB / 0.663 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.8929, allocations: 40.8 kB / 0.6631 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.8942, allocations: 0.6092 MB / 0.6637 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.8942, allocations: 0 / 0.6637 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.8943, allocations: 13.75 kB / 0.6637 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.8943, allocations: 17.25 kB / 0.6637 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.8955, allocations: 0.5763 MB / 0.6642 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.8981, allocations: 2.556 MB / 0.6667 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.8992, allocations: 0.5226 MB / 0.6673 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.8997, allocations: 347.8 kB / 0.6676 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4681/1.368, allocations: 135.8 MB / 0.8002 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.368, allocations: 35.47 kB / 0.8002 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.096e-06/1.368, allocations: 1.438 kB / 0.8002 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006015/1.374, allocations: 2.398 MB / 0.8026 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/1.374, allocations: 58.31 kB / 0.8026 GB, free: 160 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/1.374, allocations: 253.3 kB / 0.8029 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/1.374, allocations: 33.45 kB / 0.8029 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/1.374, allocations: 191.3 kB / 0.8031 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/1.375, allocations: 259.5 kB / 0.8033 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/1.375, allocations: 8.594 kB / 0.8034 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/1.375, allocations: 358.9 kB / 0.8037 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/1.375, allocations: 282.1 kB / 0.804 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/1.376, allocations: 404.6 kB / 0.8044 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/1.376, allocations: 329.9 kB / 0.8047 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.376, allocations: 3.094 kB / 0.8047 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001353/1.378, allocations: 0.8091 MB / 0.8055 GB, free: 159 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.378, allocations: 9.047 kB / 0.8055 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.378, allocations: 3.875 kB / 0.8055 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/1.378, allocations: 68.16 kB / 0.8055 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/1.378, allocations: 102.8 kB / 0.8056 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08252/1.461, allocations: 22.03 MB / 0.8271 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/1.461, allocations: 54.53 kB / 0.8272 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/1.461, allocations: 18.03 kB / 0.8272 GB, free: 150.3 MB / 0.5762 GB 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.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000299/1.462, allocations: 193.7 kB / 0.8274 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.462, allocations: 44.09 kB / 0.8274 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.464, allocations: 1.572 MB / 0.829 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.464, allocations: 20.84 kB / 0.829 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.464, allocations: 3.938 kB / 0.829 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/1.465, allocations: 1.162 MB / 0.8301 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/1.467, allocations: 1.617 MB / 0.8317 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.467, allocations: 0 / 0.8317 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/1.467, allocations: 89.48 kB / 0.8318 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/1.467, allocations: 47 kB / 0.8318 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/1.467, allocations: 17.73 kB / 0.8319 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007814/1.468, allocations: 1.33 MB / 0.8332 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.468, allocations: 3.406 kB / 0.8332 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.47, allocations: 1.216 MB / 0.8343 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/1.47, allocations: 142.1 kB / 0.8345 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/1.47, allocations: 14.19 kB / 0.8345 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/1.471, allocations: 40.47 kB / 0.8345 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.471, allocations: 53.03 kB / 0.8346 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.471, allocations: 14.66 kB / 0.8346 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002369/1.471, allocations: 235 kB / 0.8348 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.52e-07/1.471, allocations: 0 / 0.8348 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008558/1.48, allocations: 3.188 MB / 0.8379 GB, free: 147.3 MB / 0.5762 GB 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 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/1.495, allocations: 4.019 MB / 0.8419 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.497, allocations: 0.9498 MB / 0.8428 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.497, allocations: 3.875 kB / 0.8428 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007064/1.498, allocations: 492.8 kB / 0.8433 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.499, allocations: 346.2 kB / 0.8436 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.501, allocations: 1.383 MB / 0.8449 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/1.501, allocations: 0.8493 MB / 0.8458 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004288/1.502, allocations: 161.6 kB / 0.8459 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/1.502, allocations: 38.84 kB / 0.846 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/1.502, allocations: 0 / 0.846 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1229/1.625, allocations: 116.6 MB / 0.9598 GB, free: 31.11 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) Environment - environmentSimulation: