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.001186/0.001186, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04433/0.04433, allocations: 9.06 MB / 279.4 MB, free: 12.12 MB / 238.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.0004907/0.0004907, allocations: 20.2 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07113/0.07163, allocations: 49.2 MB / 388.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2425/0.3142, allocations: 107.5 MB / 495.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08416/0.3984, allocations: 88.53 MB / 0.5706 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.399, allocations: 4 kB / 0.5706 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.4018, allocations: 1.137 MB / 0.5717 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.4048, allocations: 1.289 MB / 0.5729 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2618/0.6667, allocations: 22.44 MB / 0.5949 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.668, allocations: 0.7858 MB / 0.5956 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.6683, allocations: 87.53 kB / 0.5957 GB, free: 16.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/0.6848, allocations: 8.961 MB / 0.6045 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.6852, allocations: 257.6 kB / 0.6047 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.6852, allocations: 24.16 kB / 0.6047 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04223/0.7275, allocations: 25.06 MB / 0.6292 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.7277, allocations: 98.92 kB / 0.6293 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.7281, allocations: 141.8 kB / 0.6294 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.742, allocations: 6.45 MB / 0.6357 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7421, allocations: 0 / 0.6357 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.7421, allocations: 0 / 0.6357 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.7421, allocations: 0 / 0.6357 GB, free: 14.39 MB / 446.1 MB 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.005143/0.7473, allocations: 2.003 MB / 0.6377 GB, free: 13.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.7473, allocations: 14.41 kB / 0.6377 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/0.7479, allocations: 88.75 kB / 0.6378 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.7483, allocations: 320.5 kB / 0.6381 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.7483, allocations: 33.06 kB / 0.6381 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.7484, allocations: 36.5 kB / 0.6382 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.7495, allocations: 0.6006 MB / 0.6387 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.7496, allocations: 8.281 kB / 0.6387 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.7496, allocations: 18.03 kB / 0.6388 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.7496, allocations: 20.05 kB / 0.6388 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.7509, allocations: 0.5705 MB / 0.6393 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.7531, allocations: 2.549 MB / 0.6418 GB, free: 26.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.7542, allocations: 0.5201 MB / 0.6423 GB, free: 25.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.239/0.9931, allocations: 136.2 MB / 0.7753 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.9932, allocations: 41.34 kB / 0.7754 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.075e-06/0.9932, allocations: 0 / 0.7754 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.006401/0.9996, allocations: 2.699 MB / 0.778 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.9997, allocations: 58.5 kB / 0.7781 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/1, allocations: 258.9 kB / 0.7783 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/1, allocations: 29.39 kB / 0.7783 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1, allocations: 181.6 kB / 0.7785 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/1, allocations: 264.5 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/1, allocations: 7 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1, allocations: 351.8 kB / 0.7791 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/1.001, allocations: 283.8 kB / 0.7794 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/1.002, allocations: 404.1 kB / 0.7798 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/1.002, allocations: 335 kB / 0.7801 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.002, allocations: 3.953 kB / 0.7801 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001477/1.004, allocations: 0.8066 MB / 0.7809 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/1.004, allocations: 11.95 kB / 0.7809 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.004, allocations: 4 kB / 0.7809 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/1.004, allocations: 64.05 kB / 0.781 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/1.004, allocations: 110.6 kB / 0.7811 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2517/1.256, allocations: 22.65 MB / 0.8032 GB, free: 310.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/1.257, allocations: 52.47 kB / 0.8032 GB, free: 310.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/1.257, allocations: 19.03 kB / 0.8032 GB, free: 310.9 MB / 0.5919 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.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002643/1.257, allocations: 196.4 kB / 0.8034 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/1.257, allocations: 45.36 kB / 0.8035 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/1.259, allocations: 1.572 MB / 0.805 GB, free: 310.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.259, allocations: 10.17 kB / 0.805 GB, free: 310.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.259, allocations: 7.25 kB / 0.805 GB, free: 310.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/1.26, allocations: 1.173 MB / 0.8062 GB, free: 310.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/1.262, allocations: 1.608 MB / 0.8077 GB, free: 309.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.262, allocations: 3.531 kB / 0.8077 GB, free: 309.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/1.263, allocations: 91.38 kB / 0.8078 GB, free: 309.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/1.263, allocations: 54.09 kB / 0.8079 GB, free: 309.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/1.263, allocations: 7.938 kB / 0.8079 GB, free: 309.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000736/1.264, allocations: 1.333 MB / 0.8092 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.264, allocations: 7.688 kB / 0.8092 GB, free: 308.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.265, allocations: 1.219 MB / 0.8104 GB, free: 307.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.265, allocations: 141.3 kB / 0.8105 GB, free: 307.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/1.265, allocations: 15.39 kB / 0.8105 GB, free: 307.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/1.266, allocations: 41.5 kB / 0.8106 GB, free: 307.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/1.266, allocations: 49.31 kB / 0.8106 GB, free: 307.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.266, allocations: 24.91 kB / 0.8107 GB, free: 307.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001974/1.266, allocations: 235.6 kB / 0.8109 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.266, allocations: 0 / 0.8109 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008171/1.274, allocations: 3.185 MB / 0.814 GB, free: 307.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01585/1.29, allocations: 4.118 MB / 0.818 GB, free: 306.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.292, allocations: 0.9594 MB / 0.8189 GB, free: 305.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.292, allocations: 4.188 kB / 0.819 GB, free: 305.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/1.293, allocations: 0.49 MB / 0.8194 GB, free: 305.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/1.294, allocations: 314.8 kB / 0.8197 GB, free: 305.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/1.296, allocations: 1.38 MB / 0.8211 GB, free: 304.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/1.296, allocations: 0.8627 MB / 0.8219 GB, free: 303.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004071/1.296, allocations: 161.7 kB / 0.8221 GB, free: 303.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/1.296, allocations: 43.44 kB / 0.8221 GB, free: 303.6 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/1.296, allocations: 4 kB / 0.8221 GB, free: 303.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1145/1.411, allocations: 117 MB / 0.9364 GB, free: 186.4 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: