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.001263/0.001263, allocations: 109.4 kB / 16.42 MB, free: 6.5 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.001357/0.001358, allocations: 197.6 kB / 17.35 MB, free: 5.758 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.347/1.347, 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.04611/0.04611, allocations: 9.097 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.001397/0.001397, allocations: 68.02 kB / 388.2 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/0.08155, allocations: 48.18 MB / 436.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3072/0.3888, allocations: 128.6 MB / 0.5518 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09126/0.4801, allocations: 111.1 MB / 0.6603 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006062/0.4808, allocations: 8 kB / 0.6603 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.4838, allocations: 1.354 MB / 0.6616 GB, free: 120 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.4877, allocations: 1.656 MB / 0.6632 GB, free: 14.45 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.06805/0.5558, allocations: 29.35 MB / 0.6919 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5576, allocations: 1.406 MB / 0.6932 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.5578, allocations: 120.6 kB / 0.6934 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/0.5742, allocations: 8.981 MB / 0.7021 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.5748, allocations: 374.5 kB / 0.7025 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.5748, allocations: 44 kB / 0.7025 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05993/0.6348, allocations: 34.95 MB / 0.7367 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.6351, allocations: 127.5 kB / 0.7368 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.6357, allocations: 302.8 kB / 0.7371 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2824/0.9181, allocations: 14.05 MB / 0.7508 GB, free: 57.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9181, allocations: 2 kB / 0.7508 GB, free: 57.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9181, allocations: 1.031 kB / 0.7508 GB, free: 57.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.9181, allocations: 0 / 0.7508 GB, free: 57.26 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.007647/0.9258, allocations: 2.574 MB / 0.7533 GB, free: 55.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.9258, allocations: 7.625 kB / 0.7533 GB, free: 55.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006136/0.9265, allocations: 85.48 kB / 0.7534 GB, free: 55.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.9269, allocations: 343.5 kB / 0.7537 GB, free: 55.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.9269, allocations: 25.88 kB / 0.7538 GB, free: 55.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.927, allocations: 35.97 kB / 0.7538 GB, free: 55.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.9282, allocations: 0.597 MB / 0.7544 GB, free: 55.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.9282, allocations: 3.125 kB / 0.7544 GB, free: 55.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.9282, allocations: 14.94 kB / 0.7544 GB, free: 55.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.9283, allocations: 16.11 kB / 0.7544 GB, free: 55.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.9294, allocations: 0.5546 MB / 0.7549 GB, free: 55.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.9314, allocations: 2.549 MB / 0.7574 GB, free: 53.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.9325, allocations: 0.5037 MB / 0.7579 GB, free: 53.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/0.933, allocations: 334.9 kB / 0.7582 GB, free: 53.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2397/1.173, allocations: 139 MB / 0.894 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.173, allocations: 36.25 kB / 0.894 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 3.436e-06/1.173, allocations: 0 / 0.894 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005856/1.179, allocations: 2.333 MB / 0.8963 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.179, allocations: 59.27 kB / 0.8963 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.179, allocations: 256.9 kB / 0.8966 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/1.179, allocations: 29.45 kB / 0.8966 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/1.179, allocations: 191.5 kB / 0.8968 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.179, allocations: 261 kB / 0.897 GB, free: 23.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/1.179, allocations: 100.3 kB / 0.8971 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.18, allocations: 353.3 kB / 0.8975 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/1.18, allocations: 269.8 kB / 0.8977 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/1.18, allocations: 402 kB / 0.8981 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/1.181, allocations: 0.7009 MB / 0.8988 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.181, allocations: 0.5 kB / 0.8988 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001288/1.183, allocations: 0.7871 MB / 0.8996 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.183, allocations: 8 kB / 0.8996 GB, free: 21.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.183, allocations: 10.08 kB / 0.8996 GB, free: 21.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/1.183, allocations: 66.2 kB / 0.8996 GB, free: 21.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/1.183, allocations: 102.2 kB / 0.8997 GB, free: 21.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07212/1.256, allocations: 17.16 MB / 0.9165 GB, free: 20.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/1.256, allocations: 31.36 kB / 0.9165 GB, free: 20.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/1.256, allocations: 23.61 kB / 0.9166 GB, free: 20.49 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.0002727/1.256, allocations: 192.6 kB / 0.9167 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/1.256, allocations: 44.31 kB / 0.9168 GB, free: 20.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/1.258, allocations: 1.546 MB / 0.9183 GB, free: 19.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/1.259, allocations: 1.147 MB / 0.9194 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.259, allocations: 0 / 0.9194 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/1.26, allocations: 112.6 kB / 0.9195 GB, free: 18.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/1.26, allocations: 11.73 kB / 0.9195 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/1.26, allocations: 34.91 kB / 0.9196 GB, free: 18.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/1.26, allocations: 38.83 kB / 0.9196 GB, free: 18.05 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001394/1.261, allocations: 0.7928 MB / 0.9204 GB, free: 17.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001524/1.263, allocations: 1.194 MB / 0.9215 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004882/1.264, allocations: 324.7 kB / 0.9218 GB, free: 16.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002326/1.264, allocations: 240.3 kB / 0.9221 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of Backend: time 7.51e-07/1.264, allocations: 0 / 0.9221 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0301/1.294, allocations: 8.105 MB / 0.93 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002322/1.296, allocations: 1.502 MB / 0.9315 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of Templates: time 0.3538/1.65, allocations: 162.5 MB / 1.09 GB, free: 258.1 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)