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.0009547/0.0009547, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000966/0.000966, allocations: 177.3 kB / 15.94 MB, free: 228 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.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04227/0.04227, allocations: 9.062 MB / 279.4 MB, free: 12.14 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.0005099/0.0005101, allocations: 16.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08485, allocations: 49.2 MB / 388.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2736/0.3585, allocations: 106.7 MB / 494.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08281/0.4413, allocations: 88.61 MB / 0.5699 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.4421, allocations: 7.938 kB / 0.5699 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.4452, allocations: 1.141 MB / 0.571 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.4486, allocations: 1.304 MB / 0.5723 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3213/0.7699, allocations: 22.37 MB / 0.5941 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.7717, allocations: 0.7939 MB / 0.5949 GB, free: 16.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.772, allocations: 93.02 kB / 0.595 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.7735, allocations: 0.5639 MB / 0.5955 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.7741, allocations: 268.6 kB / 0.5958 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.7741, allocations: 19.72 kB / 0.5958 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0512/0.8253, allocations: 24.77 MB / 0.62 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.8257, allocations: 85.72 kB / 0.6201 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004707/0.8261, allocations: 147.1 kB / 0.6202 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01596/0.8421, allocations: 6.387 MB / 0.6264 GB, free: 16.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8422, allocations: 0 / 0.6264 GB, free: 16.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.8422, allocations: 0 / 0.6264 GB, free: 16.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.8422, allocations: 0 / 0.6264 GB, free: 16.08 MB / 446.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.005336/0.8475, allocations: 1.996 MB / 0.6284 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.8476, allocations: 9.375 kB / 0.6284 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006463/0.8482, allocations: 90.92 kB / 0.6285 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.8487, allocations: 325 kB / 0.6288 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.8487, allocations: 27.94 kB / 0.6288 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.8488, allocations: 33.12 kB / 0.6289 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.85, allocations: 0.6146 MB / 0.6295 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.85, allocations: 0 / 0.6295 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.85, allocations: 13.22 kB / 0.6295 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.8501, allocations: 15.75 kB / 0.6295 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.8513, allocations: 0.577 MB / 0.63 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.854, allocations: 2.552 MB / 0.6325 GB, free: 28.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8551, allocations: 0.5156 MB / 0.633 GB, free: 28.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.235/1.09, allocations: 136.2 MB / 0.766 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/1.09, allocations: 38.84 kB / 0.7661 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/1.09, allocations: 0 / 0.7661 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006434/1.097, allocations: 2.711 MB / 0.7687 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/1.097, allocations: 55.41 kB / 0.7688 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/1.097, allocations: 242.8 kB / 0.769 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/1.097, allocations: 36.2 kB / 0.769 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.097, allocations: 188.8 kB / 0.7692 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.097, allocations: 261.1 kB / 0.7695 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/1.097, allocations: 13 kB / 0.7695 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.098, allocations: 354.7 kB / 0.7698 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/1.098, allocations: 279.3 kB / 0.7701 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/1.099, allocations: 410.6 kB / 0.7705 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/1.099, allocations: 329.9 kB / 0.7708 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.099, allocations: 4 kB / 0.7708 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001576/1.101, allocations: 0.8029 MB / 0.7716 GB, free: 328 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.101, allocations: 4 kB / 0.7716 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.101, allocations: 4.656 kB / 0.7716 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/1.101, allocations: 76.62 kB / 0.7717 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/1.102, allocations: 101.4 kB / 0.7718 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3261/1.428, allocations: 21.99 MB / 0.7932 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/1.429, allocations: 56.69 kB / 0.7933 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.429, allocations: 21.09 kB / 0.7933 GB, free: 186.1 MB / 0.5919 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.0002981/1.429, allocations: 186 kB / 0.7935 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/1.429, allocations: 46.16 kB / 0.7935 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/1.431, allocations: 1.576 MB / 0.7951 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.431, allocations: 14.2 kB / 0.7951 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.431, allocations: 3.938 kB / 0.7951 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/1.433, allocations: 1.165 MB / 0.7962 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/1.435, allocations: 1.616 MB / 0.7978 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.435, allocations: 3.344 kB / 0.7978 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/1.435, allocations: 88.27 kB / 0.7979 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/1.435, allocations: 49 kB / 0.7979 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/1.435, allocations: 7.406 kB / 0.7979 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007373/1.436, allocations: 1.335 MB / 0.7992 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.436, allocations: 3.688 kB / 0.7992 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/1.438, allocations: 1.229 MB / 0.8004 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/1.438, allocations: 145.8 kB / 0.8006 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/1.438, allocations: 13.95 kB / 0.8006 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/1.439, allocations: 48.72 kB / 0.8006 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.439, allocations: 44.33 kB / 0.8007 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/1.439, allocations: 17.55 kB / 0.8007 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000219/1.439, allocations: 236.7 kB / 0.8009 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.439, allocations: 3.156 kB / 0.8009 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008413/1.447, allocations: 3.179 MB / 0.804 GB, free: 183.2 MB / 0.5919 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.01405/1.461, allocations: 4.025 MB / 0.808 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.463, allocations: 0.9543 MB / 0.8089 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.463, allocations: 3.875 kB / 0.8089 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006387/1.464, allocations: 0.4887 MB / 0.8094 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.465, allocations: 319.6 kB / 0.8097 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/1.467, allocations: 1.382 MB / 0.811 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/1.467, allocations: 0.864 MB / 0.8119 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003943/1.468, allocations: 156.9 kB / 0.812 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/1.468, allocations: 39.25 kB / 0.8121 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/1.468, allocations: 0 / 0.8121 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1333/1.601, allocations: 116.5 MB / 0.9259 GB, free: 82.61 MB / 0.5919 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: