Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001343/0.001344, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04468/0.04468, allocations: 9.107 MB / 279.7 MB, free: 2.922 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.001332/0.001332, allocations: 75.36 kB / 388.2 MB, free: 47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06233/0.06367, allocations: 48.18 MB / 436.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3031/0.3668, allocations: 128.6 MB / 0.5518 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08884/0.4557, allocations: 111.1 MB / 0.6602 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.4562, allocations: 11.94 kB / 0.6603 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.4593, allocations: 1.546 MB / 0.6618 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.463, allocations: 1.828 MB / 0.6636 GB, free: 14.02 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.07219/0.5352, allocations: 31.14 MB / 0.694 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.5371, allocations: 1.41 MB / 0.6953 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.5373, allocations: 131.2 kB / 0.6955 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.554, allocations: 9.145 MB / 0.7044 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007971/0.5549, allocations: 387.2 kB / 0.7048 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.555, allocations: 40 kB / 0.7048 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06264/0.6176, allocations: 34.95 MB / 0.7389 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.6179, allocations: 119.6 kB / 0.7391 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005783/0.6185, allocations: 302.8 kB / 0.7393 GB, free: 256 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2588/0.8773, allocations: 14.09 MB / 0.7531 GB, free: 57.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8774, allocations: 4.969 kB / 0.7531 GB, free: 57.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8774, allocations: 0 / 0.7531 GB, free: 57.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8774, allocations: 0 / 0.7531 GB, free: 57.11 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.006466/0.8839, allocations: 2.68 MB / 0.7557 GB, free: 55.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8839, allocations: 7.344 kB / 0.7557 GB, free: 55.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.8845, allocations: 88.98 kB / 0.7558 GB, free: 55.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.8849, allocations: 340 kB / 0.7561 GB, free: 55.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.8849, allocations: 31.09 kB / 0.7562 GB, free: 55.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.885, allocations: 34.03 kB / 0.7562 GB, free: 55.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.8861, allocations: 0.602 MB / 0.7568 GB, free: 55.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.8861, allocations: 3.406 kB / 0.7568 GB, free: 55.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.8862, allocations: 18.52 kB / 0.7568 GB, free: 55.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.8862, allocations: 16.03 kB / 0.7568 GB, free: 55.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.8874, allocations: 0.5491 MB / 0.7574 GB, free: 55.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.8893, allocations: 2.549 MB / 0.7599 GB, free: 53.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.8903, allocations: 0.5029 MB / 0.7603 GB, free: 53.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.8908, allocations: 334.2 kB / 0.7607 GB, free: 53.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2215/1.112, allocations: 139 MB / 0.8964 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.112, allocations: 34.72 kB / 0.8964 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 2.886e-06/1.112, allocations: 0 / 0.8964 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005462/1.118, allocations: 2.339 MB / 0.8987 GB, free: 22.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/1.118, allocations: 56.61 kB / 0.8988 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/1.118, allocations: 251.9 kB / 0.899 GB, free: 21.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/1.118, allocations: 32.14 kB / 0.899 GB, free: 21.85 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/1.118, allocations: 182.2 kB / 0.8992 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.118, allocations: 291.1 kB / 0.8995 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/1.119, allocations: 97.05 kB / 0.8996 GB, free: 21.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.119, allocations: 353 kB / 0.8999 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.119, allocations: 266.4 kB / 0.9002 GB, free: 20.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/1.12, allocations: 401.6 kB / 0.9006 GB, free: 20.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008881/1.12, allocations: 0.7047 MB / 0.9012 GB, free: 20.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.12, allocations: 0 / 0.9012 GB, free: 20.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001283/1.122, allocations: 0.7848 MB / 0.902 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.122, allocations: 8 kB / 0.902 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.122, allocations: 3.5 kB / 0.902 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/1.122, allocations: 66.92 kB / 0.9021 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/1.122, allocations: 98.88 kB / 0.9022 GB, free: 19.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06461/1.187, allocations: 17.2 MB / 0.919 GB, free: 18.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/1.188, allocations: 30.97 kB / 0.919 GB, free: 18.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/1.188, allocations: 16 kB / 0.919 GB, free: 18.67 MB / 0.6544 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.000272/1.188, allocations: 193.7 kB / 0.9192 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/1.188, allocations: 43.72 kB / 0.9192 GB, free: 18.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.19, allocations: 1.547 MB / 0.9208 GB, free: 17.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/1.191, allocations: 1.141 MB / 0.9219 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.191, allocations: 0 / 0.9219 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/1.191, allocations: 127.1 kB / 0.922 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/1.191, allocations: 7.188 kB / 0.922 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/1.191, allocations: 28.09 kB / 0.922 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/1.192, allocations: 43 kB / 0.9221 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001378/1.193, allocations: 0.7985 MB / 0.9228 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001521/1.194, allocations: 1.178 MB / 0.924 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004414/1.195, allocations: 331.2 kB / 0.9243 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002147/1.195, allocations: 246.2 kB / 0.9245 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of Backend: time 4.7e-07/1.195, allocations: 0 / 0.9245 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02939/1.225, allocations: 8.21 MB / 0.9326 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002088/1.227, allocations: 1.509 MB / 0.934 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of Templates: time 0.3236/1.55, allocations: 162.3 MB / 1.093 GB, free: 257.3 MB / 0.6856 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1)