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.0008501/0.0008502, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006167/0.006167, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 222.4 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04415/0.04415, allocations: 9.067 MB / 279.8 MB, free: 12.37 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.0006369/0.0006369, allocations: 20.22 kB / 339.7 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09594, allocations: 49.19 MB / 388.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.327/0.423, allocations: 128.8 MB / 0.5056 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3616/0.7847, allocations: 111.7 MB / 0.6146 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/0.7853, allocations: 7.625 kB / 0.6146 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.7884, allocations: 1.194 MB / 0.6158 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.7922, allocations: 1.475 MB / 0.6172 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07542/0.8677, allocations: 24.92 MB / 0.6416 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.8696, allocations: 1.842 MB / 0.6434 GB, free: 48 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.8698, allocations: 100.2 kB / 0.6435 GB, free: 16 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.871, allocations: 0.5312 MB / 0.644 GB, free: 0 / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.8716, allocations: 395.7 kB / 0.6444 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.8716, allocations: 19.75 kB / 0.6444 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05457/0.9262, allocations: 31.14 MB / 0.6748 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.9266, allocations: 95.09 kB / 0.6749 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.9273, allocations: 305.5 kB / 0.6752 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04388/0.9712, allocations: 13.46 MB / 0.6883 GB, free: 8.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.9713, allocations: 4 kB / 0.6883 GB, free: 8.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.9713, allocations: 0 / 0.6883 GB, free: 8.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.9713, allocations: 0 / 0.6883 GB, free: 8.395 MB / 478.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.008218/0.9796, allocations: 2.492 MB / 0.6908 GB, free: 5.949 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.9796, allocations: 11.41 kB / 0.6908 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.9803, allocations: 87.31 kB / 0.6909 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.9808, allocations: 332.4 kB / 0.6912 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.9809, allocations: 28.22 kB / 0.6912 GB, free: 5.527 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.9809, allocations: 39.56 kB / 0.6912 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.9822, allocations: 0.611 MB / 0.6918 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.9823, allocations: 4 kB / 0.6918 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.9823, allocations: 19.73 kB / 0.6919 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.9823, allocations: 13.16 kB / 0.6919 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.9837, allocations: 0.5793 MB / 0.6924 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.9863, allocations: 2.553 MB / 0.6949 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.9874, allocations: 0.518 MB / 0.6954 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.988, allocations: 354.8 kB / 0.6958 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4998/1.488, allocations: 135.8 MB / 0.8284 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.488, allocations: 42.73 kB / 0.8284 GB, free: 132 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.196e-06/1.488, allocations: 0 / 0.8284 GB, free: 132 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006216/1.494, allocations: 2.4 MB / 0.8308 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.494, allocations: 57.09 kB / 0.8308 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/1.494, allocations: 253 kB / 0.8311 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/1.495, allocations: 31.7 kB / 0.8311 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/1.495, allocations: 188.9 kB / 0.8313 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/1.495, allocations: 264.8 kB / 0.8315 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/1.495, allocations: 66.02 kB / 0.8316 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/1.495, allocations: 362 kB / 0.8319 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/1.496, allocations: 281.2 kB / 0.8322 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/1.496, allocations: 408.9 kB / 0.8326 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.497, allocations: 0.7198 MB / 0.8333 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.497, allocations: 2.312 kB / 0.8333 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00157/1.499, allocations: 0.8134 MB / 0.8341 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.499, allocations: 12.94 kB / 0.8341 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.499, allocations: 3.562 kB / 0.8341 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/1.499, allocations: 67.36 kB / 0.8342 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/1.5, allocations: 104.2 kB / 0.8343 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0942/1.594, allocations: 22.02 MB / 0.8558 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/1.595, allocations: 54.45 kB / 0.8558 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/1.595, allocations: 27.39 kB / 0.8559 GB, free: 121.7 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.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.000293/1.595, allocations: 182.9 kB / 0.856 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.595, allocations: 43.06 kB / 0.8561 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/1.597, allocations: 1.583 MB / 0.8576 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.597, allocations: 11.84 kB / 0.8576 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.597, allocations: 0 / 0.8576 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/1.598, allocations: 1.17 MB / 0.8588 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/1.601, allocations: 1.62 MB / 0.8604 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.601, allocations: 3.938 kB / 0.8604 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/1.601, allocations: 85.48 kB / 0.8604 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/1.601, allocations: 54.02 kB / 0.8605 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/1.601, allocations: 14.36 kB / 0.8605 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007828/1.602, allocations: 1.325 MB / 0.8618 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.602, allocations: 0 / 0.8618 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.604, allocations: 1.219 MB / 0.863 GB, free: 118.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/1.604, allocations: 139.2 kB / 0.8631 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/1.604, allocations: 14.22 kB / 0.8631 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/1.604, allocations: 42.81 kB / 0.8632 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.605, allocations: 43.45 kB / 0.8632 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/1.605, allocations: 17.22 kB / 0.8632 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002589/1.605, allocations: 242.4 kB / 0.8635 GB, free: 118.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.31e-07/1.605, allocations: 0 / 0.8635 GB, free: 118.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009428/1.614, allocations: 3.19 MB / 0.8666 GB, free: 118.6 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 (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.01658/1.631, allocations: 4.011 MB / 0.8705 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.633, allocations: 0.9577 MB / 0.8714 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.633, allocations: 0 / 0.8714 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007328/1.634, allocations: 0.4897 MB / 0.8719 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.636, allocations: 385.1 kB / 0.8723 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/1.638, allocations: 1.439 MB / 0.8737 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/1.638, allocations: 0.8538 MB / 0.8745 GB, free: 113.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000479/1.638, allocations: 162.6 kB / 0.8747 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.639, allocations: 45.94 kB / 0.8747 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/1.639, allocations: 3.938 kB / 0.8747 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.3183/1.957, allocations: 117.4 MB / 0.9893 GB, free: 289.4 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: