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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 231.4 MB, free: 3.18 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05198/0.05198, allocations: 9.155 MB / 292.6 MB, free: 6.066 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") [Timeout 660] "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.002138/0.002138, allocations: 66.08 kB / 409.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2373, allocations: 50.71 MB / 459.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.152/0.3893, allocations: 130.3 MB / 0.5763 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3304/0.7197, allocations: 111.4 MB / 0.6852 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006392/0.7203, allocations: 9.312 kB / 0.6852 GB, free: 24 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.7235, allocations: 1.552 MB / 0.6867 GB, free: 4 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.7276, allocations: 1.837 MB / 0.6885 GB, free: 15.95 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.08604/0.8136, allocations: 31.16 MB / 0.7189 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002996/0.8166, allocations: 1.413 MB / 0.7203 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.817, allocations: 87.16 kB / 0.7204 GB, free: 372 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01891/0.8359, allocations: 9.221 MB / 0.7294 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.8366, allocations: 402.8 kB / 0.7298 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.8367, allocations: 44 kB / 0.7298 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06793/0.9046, allocations: 35.43 MB / 0.7644 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.9048, allocations: 119.8 kB / 0.7645 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.9055, allocations: 309.3 kB / 0.7648 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04356/0.949, allocations: 14.09 MB / 0.7786 GB, free: 7.363 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.949, allocations: 4 kB / 0.7786 GB, free: 7.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.949, allocations: 0 / 0.7786 GB, free: 7.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.949, allocations: 0 / 0.7786 GB, free: 7.359 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.006632/0.9557, allocations: 2.672 MB / 0.7812 GB, free: 4.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9557, allocations: 15.34 kB / 0.7812 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.9563, allocations: 95.62 kB / 0.7813 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.9569, allocations: 341.5 kB / 0.7816 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.957, allocations: 33.53 kB / 0.7817 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.957, allocations: 36 kB / 0.7817 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.9584, allocations: 0.5932 MB / 0.7823 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.9584, allocations: 8 kB / 0.7823 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.9585, allocations: 16 kB / 0.7823 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.9585, allocations: 11.2 kB / 0.7823 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.9598, allocations: 0.5454 MB / 0.7828 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.9628, allocations: 2.559 MB / 0.7853 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.964, allocations: 471.9 kB / 0.7858 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.9645, allocations: 306.3 kB / 0.7861 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4095/1.374, allocations: 139 MB / 0.9218 GB, free: 202.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.374, allocations: 34.59 kB / 0.9218 GB, free: 202 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 3.045e-06/1.374, allocations: 0 / 0.9218 GB, free: 202 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005052/1.379, allocations: 2.345 MB / 0.9241 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/1.379, allocations: 55.41 kB / 0.9242 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/1.379, allocations: 256.5 kB / 0.9244 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/1.379, allocations: 32.27 kB / 0.9245 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/1.379, allocations: 186.8 kB / 0.9246 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/1.379, allocations: 286.6 kB / 0.9249 GB, free: 198.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.38, allocations: 98.11 kB / 0.925 GB, free: 198.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/1.38, allocations: 350.8 kB / 0.9253 GB, free: 198.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/1.38, allocations: 272.1 kB / 0.9256 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/1.38, allocations: 395.4 kB / 0.926 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/1.381, allocations: 0.7039 MB / 0.9267 GB, free: 197 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.381, allocations: 0 / 0.9267 GB, free: 197 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001163/1.382, allocations: 0.7845 MB / 0.9274 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.382, allocations: 8 kB / 0.9274 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.383, allocations: 0 / 0.9274 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/1.383, allocations: 69.23 kB / 0.9275 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/1.383, allocations: 99.88 kB / 0.9276 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0637/1.447, allocations: 17.28 MB / 0.9445 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/1.447, allocations: 23.97 kB / 0.9445 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/1.447, allocations: 20 kB / 0.9445 GB, free: 178.3 MB / 0.6075 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.000209/1.447, allocations: 190.8 kB / 0.9447 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/1.448, allocations: 43.72 kB / 0.9447 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/1.449, allocations: 1.555 MB / 0.9463 GB, free: 176.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.449, allocations: 5.797 kB / 0.9463 GB, free: 176.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.449, allocations: 0 / 0.9463 GB, free: 176.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/1.45, allocations: 1.146 MB / 0.9474 GB, free: 175.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/1.452, allocations: 1.587 MB / 0.9489 GB, free: 173.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.452, allocations: 0 / 0.9489 GB, free: 173.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/1.452, allocations: 79.88 kB / 0.949 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/1.452, allocations: 52.78 kB / 0.9491 GB, free: 173.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.452, allocations: 11.94 kB / 0.9491 GB, free: 173.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000693/1.453, allocations: 1.417 MB / 0.9505 GB, free: 171.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.453, allocations: 0 / 0.9505 GB, free: 171.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/1.455, allocations: 1.178 MB / 0.9516 GB, free: 170.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/1.455, allocations: 119.5 kB / 0.9517 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/1.455, allocations: 15.95 kB / 0.9517 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/1.455, allocations: 19.98 kB / 0.9518 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.455, allocations: 47.88 kB / 0.9518 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/1.455, allocations: 15.98 kB / 0.9518 GB, free: 170.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001843/1.455, allocations: 247.1 kB / 0.9521 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.455, allocations: 0 / 0.9521 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007004/1.462, allocations: 3.579 MB / 0.9556 GB, free: 167 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/1.476, allocations: 4.607 MB / 0.9601 GB, free: 162.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.478, allocations: 0.8973 MB / 0.9609 GB, free: 162 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.478, allocations: 0.75 kB / 0.9609 GB, free: 162 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006948/1.479, allocations: 467 kB / 0.9614 GB, free: 161.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.48, allocations: 370.1 kB / 0.9617 GB, free: 161.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.482, allocations: 1.169 MB / 0.9629 GB, free: 160 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/1.482, allocations: 0.8565 MB / 0.9637 GB, free: 159.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003589/1.482, allocations: 170.6 kB / 0.9639 GB, free: 158.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/1.482, allocations: 39.42 kB / 0.9639 GB, free: 158.9 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/1.482, allocations: 4 kB / 0.9639 GB, free: 158.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.1217/1.604, allocations: 126.3 MB / 1.087 GB, free: 32.36 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.239005499519408]