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.001228/0.001228, allocations: 115.8 kB / 16.42 MB, free: 6.496 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.00121/0.00121, allocations: 186.5 kB / 17.35 MB, free: 5.742 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.219/1.219, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04368/0.04368, allocations: 9.097 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.001373/0.001373, allocations: 69.7 kB / 388.2 MB, free: 47.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0639/0.06529, allocations: 48.17 MB / 436.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2942/0.3595, allocations: 129.6 MB / 0.5527 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08915/0.4487, allocations: 111.2 MB / 0.6612 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.4492, allocations: 8 kB / 0.6612 GB, free: 428 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.4522, allocations: 1.553 MB / 0.6628 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.4556, allocations: 1.828 MB / 0.6645 GB, free: 13.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.06533/0.521, allocations: 31.14 MB / 0.695 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.5228, allocations: 1.402 MB / 0.6963 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.523, allocations: 137.4 kB / 0.6965 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01468/0.5377, allocations: 9.145 MB / 0.7054 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.5382, allocations: 382.4 kB / 0.7058 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.5383, allocations: 40 kB / 0.7058 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2719/0.8102, allocations: 34.95 MB / 0.7399 GB, free: 57.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.8104, allocations: 119.4 kB / 0.74 GB, free: 57.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.8109, allocations: 306.9 kB / 0.7403 GB, free: 57.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03509/0.846, allocations: 14.09 MB / 0.7541 GB, free: 56.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.846, allocations: 0 / 0.7541 GB, free: 56.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.846, allocations: 1.125 kB / 0.7541 GB, free: 56.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.8461, allocations: 1.25 kB / 0.7541 GB, free: 56.75 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.005432/0.8515, allocations: 2.679 MB / 0.7567 GB, free: 55.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.8515, allocations: 9.312 kB / 0.7567 GB, free: 55.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/0.8521, allocations: 88.48 kB / 0.7568 GB, free: 55.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.8525, allocations: 346 kB / 0.7571 GB, free: 54.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.8525, allocations: 31.94 kB / 0.7572 GB, free: 54.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.8526, allocations: 35.12 kB / 0.7572 GB, free: 54.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.8537, allocations: 0.5979 MB / 0.7578 GB, free: 54.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.8537, allocations: 0 / 0.7578 GB, free: 54.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.8537, allocations: 18.11 kB / 0.7578 GB, free: 54.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.8537, allocations: 19.98 kB / 0.7578 GB, free: 54.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.8549, allocations: 0.5478 MB / 0.7584 GB, free: 54.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.8567, allocations: 2.549 MB / 0.7608 GB, free: 53.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.8577, allocations: 0.5046 MB / 0.7613 GB, free: 53.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.8581, allocations: 335.9 kB / 0.7617 GB, free: 53.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2057/1.064, allocations: 139 MB / 0.8974 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.064, allocations: 46.7 kB / 0.8974 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 2.926e-06/1.064, allocations: 0 / 0.8974 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005159/1.069, allocations: 2.334 MB / 0.8997 GB, free: 21.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/1.069, allocations: 57.94 kB / 0.8998 GB, free: 21.19 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/1.069, allocations: 251.6 kB / 0.9 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.069, allocations: 35.7 kB / 0.9 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/1.069, allocations: 185.2 kB / 0.9002 GB, free: 20.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.07, allocations: 279.7 kB / 0.9005 GB, free: 20.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/1.07, allocations: 103.4 kB / 0.9006 GB, free: 20.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.07, allocations: 352.6 kB / 0.9009 GB, free: 20.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/1.07, allocations: 273.2 kB / 0.9012 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/1.071, allocations: 399.7 kB / 0.9015 GB, free: 19.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/1.072, allocations: 0.6967 MB / 0.9022 GB, free: 19.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.072, allocations: 1.5 kB / 0.9022 GB, free: 19.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001217/1.073, allocations: 0.7872 MB / 0.903 GB, free: 18.65 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.073, allocations: 4 kB / 0.903 GB, free: 18.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.073, allocations: 4 kB / 0.903 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/1.073, allocations: 69.77 kB / 0.9031 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/1.073, allocations: 96.28 kB / 0.9032 GB, free: 18.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06109/1.134, allocations: 17.28 MB / 0.92 GB, free: 17.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/1.135, allocations: 28.08 kB / 0.9201 GB, free: 17.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/1.135, allocations: 23.3 kB / 0.9201 GB, free: 17.75 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.0002168/1.135, allocations: 188.4 kB / 0.9203 GB, free: 17.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/1.135, allocations: 47.78 kB / 0.9203 GB, free: 17.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/1.137, allocations: 1.541 MB / 0.9218 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/1.138, allocations: 1.141 MB / 0.9229 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/1.138, allocations: 4 kB / 0.9229 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.138, allocations: 115.5 kB / 0.923 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/1.138, allocations: 13.8 kB / 0.9231 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/1.138, allocations: 24.41 kB / 0.9231 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/1.139, allocations: 41.83 kB / 0.9231 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001256/1.14, allocations: 0.7975 MB / 0.9239 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001393/1.141, allocations: 1.187 MB / 0.9251 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004527/1.142, allocations: 329 kB / 0.9254 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002243/1.142, allocations: 239.4 kB / 0.9256 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of Backend: time 5.31e-07/1.142, allocations: 4.062 kB / 0.9256 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02622/1.168, allocations: 8.24 MB / 0.9337 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002031/1.17, allocations: 1.51 MB / 0.9351 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of Templates: time 0.317/1.487, allocations: 163.1 MB / 1.094 GB, free: 253.9 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)