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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05249/0.05249, allocations: 7.513 MB / 267.1 MB, free: 6.016 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.758e-05, allocations: 2.312 kB / 338 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2972/0.2972, allocations: 115.6 MB / 453.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1236/0.4208, allocations: 98.68 MB / 0.5393 GB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.4213, allocations: 11.94 kB / 0.5393 GB, free: 3.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.4246, allocations: 1.241 MB / 0.5405 GB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.429, allocations: 1.609 MB / 0.5421 GB, free: 0.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2571/0.6861, allocations: 31.57 MB / 0.573 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.6877, allocations: 1.43 MB / 0.5743 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.6879, allocations: 82.52 kB / 0.5744 GB, free: 13.49 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01676/0.7046, allocations: 9.529 MB / 0.5837 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.7052, allocations: 337.4 kB / 0.5841 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.7052, allocations: 43.34 kB / 0.5841 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04013/0.7454, allocations: 24.45 MB / 0.608 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.7456, allocations: 126.2 kB / 0.6081 GB, free: 10.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004912/0.7461, allocations: 219 kB / 0.6083 GB, free: 10.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03306/0.7792, allocations: 14.48 MB / 0.6224 GB, free: 3.672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.7792, allocations: 3.984 kB / 0.6224 GB, free: 3.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7792, allocations: 4 kB / 0.6224 GB, free: 3.664 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.7792, allocations: 0 / 0.6224 GB, free: 3.664 MB / 426.7 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.005532/0.7847, allocations: 2.582 MB / 0.625 GB, free: 1.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7848, allocations: 8.625 kB / 0.625 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006266/0.7854, allocations: 186.3 kB / 0.6252 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.7858, allocations: 279.6 kB / 0.6254 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.7858, allocations: 31.16 kB / 0.6255 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.7859, allocations: 40.7 kB / 0.6255 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.787, allocations: 0.7553 MB / 0.6262 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.787, allocations: 4 kB / 0.6262 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.7871, allocations: 15.69 kB / 0.6262 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.7871, allocations: 21.8 kB / 0.6263 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.7885, allocations: 0.5585 MB / 0.6268 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.7909, allocations: 1.641 MB / 0.6284 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.7921, allocations: 482.7 kB / 0.6289 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.7927, allocations: 320.4 kB / 0.6292 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2363/1.029, allocations: 44.11 MB / 0.6723 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/1.029, allocations: 38.59 kB / 0.6723 GB, free: 5.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/1.029, allocations: 0 / 0.6723 GB, free: 5.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.006744/1.036, allocations: 2.279 MB / 0.6745 GB, free: 3.562 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/1.036, allocations: 59.16 kB / 0.6746 GB, free: 3.492 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/1.036, allocations: 233.1 kB / 0.6748 GB, free: 3.289 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/1.036, allocations: 29.7 kB / 0.6748 GB, free: 3.258 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/1.036, allocations: 190.7 kB / 0.675 GB, free: 3.094 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/1.037, allocations: 283.4 kB / 0.6753 GB, free: 2.828 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.037, allocations: 94.17 kB / 0.6754 GB, free: 2.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/1.037, allocations: 350.8 kB / 0.6757 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/1.038, allocations: 279.9 kB / 0.676 GB, free: 2.105 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/1.038, allocations: 409 kB / 0.6764 GB, free: 1.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/1.04, allocations: 0.7212 MB / 0.6771 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.04, allocations: 4 kB / 0.6771 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001853/1.042, allocations: 0.8282 MB / 0.6779 GB, free: 96 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.042, allocations: 12.06 kB / 0.6779 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.042, allocations: 4 kB / 0.6779 GB, free: 80 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/1.042, allocations: 61.67 kB / 0.6779 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.043, allocations: 101.1 kB / 0.678 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07624/1.119, allocations: 16.79 MB / 0.6944 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/1.119, allocations: 27.97 kB / 0.6945 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/1.119, allocations: 20 kB / 0.6945 GB, free: 14.73 MB / 0.4948 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.0003495/1.12, allocations: 186.5 kB / 0.6947 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.12, allocations: 59.64 kB / 0.6947 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.122, allocations: 1.585 MB / 0.6963 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.122, allocations: 13.7 kB / 0.6963 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.122, allocations: 4.625 kB / 0.6963 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001881/1.124, allocations: 1.172 MB / 0.6974 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/1.127, allocations: 1.491 MB / 0.6989 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.127, allocations: 0 / 0.6989 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/1.128, allocations: 88.16 kB / 0.699 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/1.128, allocations: 48.73 kB / 0.699 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/1.128, allocations: 8 kB / 0.699 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/1.129, allocations: 1.299 MB / 0.7003 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.129, allocations: 0 / 0.7003 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.132, allocations: 1.22 MB / 0.7015 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/1.132, allocations: 35.72 kB / 0.7015 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/1.132, allocations: 11.94 kB / 0.7015 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/1.132, allocations: 27.97 kB / 0.7016 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.132, allocations: 51.92 kB / 0.7016 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/1.132, allocations: 15.98 kB / 0.7016 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002975/1.133, allocations: 223.1 kB / 0.7018 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/1.133, allocations: 0 / 0.7018 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006667/1.139, allocations: 2.434 MB / 0.7042 GB, free: 4.465 MB / 0.4948 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 ($cse5.phase,$cse6.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.01203/1.151, allocations: 3.741 MB / 0.7079 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.154, allocations: 0.8949 MB / 0.7087 GB, free: 184 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.154, allocations: 0 / 0.7087 GB, free: 184 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.155, allocations: 480.1 kB / 0.7092 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.157, allocations: 366.8 kB / 0.7095 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.159, allocations: 1.115 MB / 0.7106 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/1.159, allocations: 246.3 kB / 0.7109 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004476/1.16, allocations: 165.9 kB / 0.711 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.16, allocations: 40.48 kB / 0.7111 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/1.16, allocations: 0 / 0.7111 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.2361/1.396, allocations: 77.91 MB / 0.7871 GB, free: 269.2 MB / 0.5417 GB " [Timeout remaining time 659] 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: 12.117496857070364]