Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001547, allocations: 113.8 kB / 16.42 MB, free: 6.516 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.001781/0.001781, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04597/0.04597, allocations: 9.096 MB / 279.7 MB, free: 2.949 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.001614/0.001614, allocations: 73.38 kB / 388.2 MB, free: 47.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06981/0.07143, allocations: 48.18 MB / 436.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3328/0.4043, allocations: 129.6 MB / 0.5527 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09432/0.4986, allocations: 111.2 MB / 0.6612 GB, free: 456 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005233/0.4992, allocations: 7.938 kB / 0.6612 GB, free: 448 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.5021, allocations: 1.37 MB / 0.6626 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.5056, allocations: 1.652 MB / 0.6642 GB, free: 13.4 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.0698/0.5754, allocations: 29.34 MB / 0.6928 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.5772, allocations: 1.402 MB / 0.6942 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.5774, allocations: 122.6 kB / 0.6943 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.5917, allocations: 8.979 MB / 0.7031 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.5922, allocations: 379.8 kB / 0.7035 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.5923, allocations: 44 kB / 0.7035 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05371/0.646, allocations: 34.95 MB / 0.7376 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.6463, allocations: 123.5 kB / 0.7377 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.6467, allocations: 306.8 kB / 0.738 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2647/0.9114, allocations: 14.05 MB / 0.7518 GB, free: 57.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9115, allocations: 3.516 kB / 0.7518 GB, free: 57.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9115, allocations: 1.531 kB / 0.7518 GB, free: 57.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.9115, allocations: 0 / 0.7518 GB, free: 57.13 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.006578/0.9181, allocations: 2.563 MB / 0.7543 GB, free: 55.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.9181, allocations: 9.156 kB / 0.7543 GB, free: 55.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.9187, allocations: 85.39 kB / 0.7544 GB, free: 55.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.919, allocations: 347 kB / 0.7547 GB, free: 55.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.9191, allocations: 32.69 kB / 0.7547 GB, free: 55.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.9191, allocations: 28.88 kB / 0.7548 GB, free: 55.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.9203, allocations: 0.5972 MB / 0.7553 GB, free: 55.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.9203, allocations: 8.062 kB / 0.7553 GB, free: 55.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.9204, allocations: 12.81 kB / 0.7554 GB, free: 55.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.9204, allocations: 20.33 kB / 0.7554 GB, free: 55.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.9216, allocations: 0.5492 MB / 0.7559 GB, free: 55.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.9234, allocations: 2.548 MB / 0.7584 GB, free: 53.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.9245, allocations: 0.5074 MB / 0.7589 GB, free: 53.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.925, allocations: 335.8 kB / 0.7592 GB, free: 53.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2329/1.158, allocations: 139 MB / 0.8949 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.158, allocations: 42.41 kB / 0.895 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 2.895e-06/1.158, allocations: 0 / 0.895 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005566/1.164, allocations: 2.331 MB / 0.8973 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/1.164, allocations: 55.41 kB / 0.8973 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/1.164, allocations: 246.8 kB / 0.8975 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/1.164, allocations: 37.39 kB / 0.8976 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/1.164, allocations: 188.3 kB / 0.8978 GB, free: 22.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/1.164, allocations: 262.7 kB / 0.898 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/1.164, allocations: 104.7 kB / 0.8981 GB, free: 22.08 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.164, allocations: 353.7 kB / 0.8984 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/1.165, allocations: 265.2 kB / 0.8987 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/1.165, allocations: 398.8 kB / 0.8991 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/1.166, allocations: 0.6998 MB / 0.8998 GB, free: 20.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.166, allocations: 7.828 kB / 0.8998 GB, free: 20.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001263/1.167, allocations: 0.7853 MB / 0.9005 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.167, allocations: 4 kB / 0.9005 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.167, allocations: 4.375 kB / 0.9005 GB, free: 20.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/1.168, allocations: 65.73 kB / 0.9006 GB, free: 20.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/1.168, allocations: 99.78 kB / 0.9007 GB, free: 20.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06754/1.236, allocations: 17.25 MB / 0.9175 GB, free: 19.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/1.236, allocations: 34.78 kB / 0.9176 GB, free: 19.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/1.236, allocations: 18.5 kB / 0.9176 GB, free: 19.38 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.0002654/1.236, allocations: 193.7 kB / 0.9178 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/1.237, allocations: 44.09 kB / 0.9178 GB, free: 19.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.238, allocations: 1.54 MB / 0.9193 GB, free: 18.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/1.239, allocations: 1.145 MB / 0.9204 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.239, allocations: 4.859 kB / 0.9205 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.24, allocations: 112.6 kB / 0.9206 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/1.24, allocations: 11.19 kB / 0.9206 GB, free: 17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/1.24, allocations: 24.25 kB / 0.9206 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/1.24, allocations: 45.5 kB / 0.9206 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001309/1.241, allocations: 0.7961 MB / 0.9214 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001458/1.243, allocations: 1.182 MB / 0.9226 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004241/1.243, allocations: 328.6 kB / 0.9229 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002114/1.243, allocations: 242.8 kB / 0.9231 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of Backend: time 1.212e-06/1.243, allocations: 0.6562 kB / 0.9231 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02848/1.272, allocations: 8.137 MB / 0.9311 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001913/1.274, allocations: 1.498 MB / 0.9325 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of Templates: time 0.3426/1.616, allocations: 163.2 MB / 1.092 GB, free: 256.6 MB / 0.6856 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1)