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.001229/0.001228, allocations: 109.2 kB / 16.41 MB, free: 6.016 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.001167/0.001167, allocations: 194.4 kB / 17.35 MB, free: 5.625 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04938/0.04938, allocations: 9.103 MB / 279.7 MB, free: 2.961 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.001456/0.001456, allocations: 71.25 kB / 388.2 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.08068, allocations: 48.17 MB / 436.4 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3523/0.433, allocations: 128.7 MB / 0.5518 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09493/0.528, allocations: 111.2 MB / 0.6604 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.5286, allocations: 4 kB / 0.6604 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.532, allocations: 1.382 MB / 0.6617 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.5358, allocations: 1.664 MB / 0.6633 GB, free: 14.13 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.07302/0.6089, allocations: 29.32 MB / 0.692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.6107, allocations: 1.414 MB / 0.6933 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.611, allocations: 128.6 kB / 0.6935 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.6122, allocations: 0.6033 MB / 0.6941 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000692/0.6129, allocations: 382.4 kB / 0.6944 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.613, allocations: 40 kB / 0.6945 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06458/0.6776, allocations: 35.01 MB / 0.7287 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.6779, allocations: 115.6 kB / 0.7288 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005912/0.6785, allocations: 310.7 kB / 0.7291 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2788/0.9573, allocations: 13.92 MB / 0.7427 GB, free: 69.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9573, allocations: 3.75 kB / 0.7427 GB, free: 69.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9573, allocations: 2.438 kB / 0.7427 GB, free: 69.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.9573, allocations: 3.297 kB / 0.7427 GB, free: 69.17 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.00645/0.9638, allocations: 2.568 MB / 0.7452 GB, free: 67.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9638, allocations: 12.19 kB / 0.7452 GB, free: 67.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.9645, allocations: 84.3 kB / 0.7453 GB, free: 67.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.9649, allocations: 343.9 kB / 0.7456 GB, free: 67.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.9649, allocations: 27.25 kB / 0.7456 GB, free: 67.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.965, allocations: 32.16 kB / 0.7456 GB, free: 67.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.9662, allocations: 0.6028 MB / 0.7462 GB, free: 67.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.9662, allocations: 1.656 kB / 0.7462 GB, free: 67.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.9663, allocations: 16.91 kB / 0.7463 GB, free: 67.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.9663, allocations: 17.97 kB / 0.7463 GB, free: 67.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.9676, allocations: 0.5495 MB / 0.7468 GB, free: 67.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.9698, allocations: 2.543 MB / 0.7493 GB, free: 65.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.971, allocations: 0.5051 MB / 0.7498 GB, free: 65.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.9716, allocations: 332.3 kB / 0.7501 GB, free: 65.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2397/1.211, allocations: 139 MB / 0.8858 GB, free: 24.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.211, allocations: 45.06 kB / 0.8859 GB, free: 24.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=79): time 3.988e-06/1.211, allocations: 0 / 0.8859 GB, free: 24.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.007878/1.219, allocations: 2.322 MB / 0.8881 GB, free: 23.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/1.219, allocations: 55.41 kB / 0.8882 GB, free: 23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/1.22, allocations: 252.5 kB / 0.8884 GB, free: 22.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/1.22, allocations: 40.33 kB / 0.8885 GB, free: 22.78 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.22, allocations: 180.4 kB / 0.8886 GB, free: 22.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/1.22, allocations: 269.8 kB / 0.8889 GB, free: 22.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/1.22, allocations: 97.89 kB / 0.889 GB, free: 22.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.22, allocations: 355.5 kB / 0.8893 GB, free: 22.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/1.221, allocations: 269.8 kB / 0.8896 GB, free: 21.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/1.222, allocations: 402.6 kB / 0.89 GB, free: 21.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/1.223, allocations: 0.6963 MB / 0.8907 GB, free: 21.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.223, allocations: 2.219 kB / 0.8907 GB, free: 21.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001876/1.225, allocations: 0.7909 MB / 0.8914 GB, free: 20.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.225, allocations: 8 kB / 0.8914 GB, free: 20.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.225, allocations: 5.547 kB / 0.8914 GB, free: 20.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/1.225, allocations: 69.69 kB / 0.8915 GB, free: 20.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/1.226, allocations: 100.9 kB / 0.8916 GB, free: 20.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06744/1.293, allocations: 16.59 MB / 0.9078 GB, free: 20.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/1.294, allocations: 30.67 kB / 0.9078 GB, free: 20.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/1.294, allocations: 19.36 kB / 0.9079 GB, free: 20.45 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.0002731/1.294, allocations: 195.1 kB / 0.908 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.294, allocations: 43.44 kB / 0.9081 GB, free: 20.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/1.296, allocations: 1.54 MB / 0.9096 GB, free: 19.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001413/1.298, allocations: 1.151 MB / 0.9107 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.298, allocations: 0 / 0.9107 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/1.298, allocations: 112.6 kB / 0.9108 GB, free: 18.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/1.298, allocations: 15.11 kB / 0.9108 GB, free: 18.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/1.298, allocations: 27.53 kB / 0.9109 GB, free: 18.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/1.298, allocations: 42.02 kB / 0.9109 GB, free: 18.02 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001315/1.3, allocations: 0.7915 MB / 0.9117 GB, free: 17.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001458/1.301, allocations: 1.188 MB / 0.9128 GB, free: 16.59 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004085/1.302, allocations: 325.6 kB / 0.9131 GB, free: 16.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002194/1.302, allocations: 244 kB / 0.9134 GB, free: 16.21 MB / 0.6387 GB Notification: Performance of Backend: time 1.573e-06/1.302, allocations: 0 / 0.9134 GB, free: 16.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02463/1.326, allocations: 8.023 MB / 0.9212 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of SimCode: time 0.002077/1.329, allocations: 1.508 MB / 0.9227 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of Templates: time 0.3528/1.681, allocations: 162.9 MB / 1.082 GB, free: 242.6 MB / 0.67 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)