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.001132/0.001132, allocations: 117.3 kB / 16.42 MB, free: 6.512 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.001129/0.001129, allocations: 190.5 kB / 17.35 MB, free: 5.754 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.253/1.253, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04493/0.04493, allocations: 9.101 MB / 279.7 MB, free: 2.953 MB / 222.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.001438/0.001438, allocations: 76.67 kB / 388.2 MB, free: 47.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06572/0.06717, allocations: 48.18 MB / 436.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3168/0.384, allocations: 128.6 MB / 0.5518 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09108/0.4751, allocations: 111.2 MB / 0.6604 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.4757, allocations: 11.94 kB / 0.6604 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.4788, allocations: 1.589 MB / 0.662 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.4824, allocations: 1.875 MB / 0.6638 GB, free: 13.64 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07053/0.553, allocations: 31.33 MB / 0.6944 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.5547, allocations: 1.425 MB / 0.6958 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.555, allocations: 119.5 kB / 0.6959 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.5561, allocations: 0.6033 MB / 0.6965 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.5568, allocations: 383.6 kB / 0.6968 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.5569, allocations: 40 kB / 0.6969 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05698/0.6139, allocations: 35.01 MB / 0.7311 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.6141, allocations: 123.6 kB / 0.7312 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.6146, allocations: 302.8 kB / 0.7315 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2575/0.8721, allocations: 13.96 MB / 0.7451 GB, free: 63.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8722, allocations: 2.438 kB / 0.7451 GB, free: 63.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8722, allocations: 2.438 kB / 0.7451 GB, free: 63.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.8722, allocations: 0 / 0.7451 GB, free: 63.52 MB / 0.545 GB 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.007152/0.8794, allocations: 2.676 MB / 0.7477 GB, free: 62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8794, allocations: 9.406 kB / 0.7477 GB, free: 62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.8801, allocations: 87.73 kB / 0.7478 GB, free: 61.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.8806, allocations: 348.3 kB / 0.7482 GB, free: 61.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.8807, allocations: 29.75 kB / 0.7482 GB, free: 61.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.8807, allocations: 32.31 kB / 0.7482 GB, free: 61.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.882, allocations: 0.6012 MB / 0.7488 GB, free: 61.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.882, allocations: 3.938 kB / 0.7488 GB, free: 61.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.882, allocations: 14 kB / 0.7488 GB, free: 61.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.8821, allocations: 17.64 kB / 0.7488 GB, free: 61.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.8832, allocations: 0.5486 MB / 0.7494 GB, free: 61.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.8852, allocations: 2.549 MB / 0.7519 GB, free: 59.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/0.8861, allocations: 0.5021 MB / 0.7524 GB, free: 59.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.8866, allocations: 339.4 kB / 0.7527 GB, free: 59.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2193/1.106, allocations: 139 MB / 0.8884 GB, free: 33.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.106, allocations: 36.28 kB / 0.8884 GB, free: 33.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 3.045e-06/1.106, allocations: 1.594 kB / 0.8885 GB, free: 33.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005406/1.111, allocations: 2.33 MB / 0.8907 GB, free: 32.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/1.111, allocations: 51.41 kB / 0.8908 GB, free: 31.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.112, allocations: 261.2 kB / 0.891 GB, free: 31.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/1.112, allocations: 36.95 kB / 0.8911 GB, free: 31.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/1.112, allocations: 182.2 kB / 0.8912 GB, free: 31.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/1.112, allocations: 283.8 kB / 0.8915 GB, free: 31.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.112, allocations: 96.3 kB / 0.8916 GB, free: 31.26 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.112, allocations: 360.2 kB / 0.8919 GB, free: 30.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/1.113, allocations: 274.3 kB / 0.8922 GB, free: 30.76 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/1.113, allocations: 399.7 kB / 0.8926 GB, free: 30.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/1.114, allocations: 0.6939 MB / 0.8933 GB, free: 29.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.114, allocations: 3 kB / 0.8933 GB, free: 29.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001193/1.115, allocations: 0.7866 MB / 0.894 GB, free: 29.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.115, allocations: 4 kB / 0.894 GB, free: 29.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.115, allocations: 4 kB / 0.894 GB, free: 29.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/1.115, allocations: 63.59 kB / 0.8941 GB, free: 29.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/1.116, allocations: 102.3 kB / 0.8942 GB, free: 29.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06328/1.179, allocations: 16.61 MB / 0.9104 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/1.18, allocations: 35.59 kB / 0.9105 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.18, allocations: 22.16 kB / 0.9105 GB, free: 13.13 MB / 0.6387 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.0002545/1.18, allocations: 187.5 kB / 0.9107 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/1.18, allocations: 43.72 kB / 0.9107 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.182, allocations: 1.551 MB / 0.9122 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/1.183, allocations: 1.14 MB / 0.9133 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.183, allocations: 4.875 kB / 0.9133 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.183, allocations: 112.5 kB / 0.9134 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/1.183, allocations: 10.94 kB / 0.9134 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/1.183, allocations: 29.97 kB / 0.9135 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/1.183, allocations: 42.81 kB / 0.9135 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00128/1.185, allocations: 0.7971 MB / 0.9143 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001411/1.186, allocations: 1.192 MB / 0.9155 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000419/1.187, allocations: 325.8 kB / 0.9158 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002038/1.187, allocations: 235.8 kB / 0.916 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of Backend: time 4.81e-07/1.187, allocations: 0 / 0.916 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02864/1.215, allocations: 8.136 MB / 0.9239 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of SimCode: time 0.002158/1.218, allocations: 1.513 MB / 0.9254 GB, free: 464 kB / 0.6387 GB Notification: Performance of Templates: time 0.3502/1.568, allocations: 162.8 MB / 1.084 GB, free: 266.8 MB / 0.6856 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile (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)