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.0009217/0.0009217, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009328/0.0009328, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.8785/0.8785, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.03022/0.03022, allocations: 7.526 MB / 267.8 MB, free: 6.078 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 1.403e-06/1.403e-06, allocations: 0 / 338.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.651e-05, allocations: 2.312 kB / 338.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2303/0.2303, allocations: 131.1 MB / 469.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05934/0.2897, allocations: 112.9 MB / 0.569 GB, free: 13.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.2901, allocations: 8.812 kB / 0.569 GB, free: 13.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.292, allocations: 1.248 MB / 0.5702 GB, free: 12.63 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.2943, allocations: 1.605 MB / 0.5718 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2038/0.4981, allocations: 31.59 MB / 0.6027 GB, free: 20.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.4993, allocations: 1.428 MB / 0.6041 GB, free: 20.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.4995, allocations: 92.42 kB / 0.6041 GB, free: 20.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009606/0.5091, allocations: 9.521 MB / 0.6134 GB, free: 20.6 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.5094, allocations: 337.6 kB / 0.6138 GB, free: 20.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.5095, allocations: 43.66 kB / 0.6138 GB, free: 20.56 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02809/0.5376, allocations: 24.44 MB / 0.6377 GB, free: 19.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5377, allocations: 133.7 kB / 0.6378 GB, free: 19.26 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.5379, allocations: 220.7 kB / 0.638 GB, free: 19.24 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02085/0.5588, allocations: 14.18 MB / 0.6519 GB, free: 18.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5588, allocations: 0 / 0.6519 GB, free: 18.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5588, allocations: 0 / 0.6519 GB, free: 18.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.5588, allocations: 0 / 0.6519 GB, free: 18.48 MB / 442.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.004486/0.5633, allocations: 2.681 MB / 0.6545 GB, free: 16.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5633, allocations: 11.28 kB / 0.6545 GB, free: 16.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/0.5638, allocations: 173.5 kB / 0.6547 GB, free: 16.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.564, allocations: 283.2 kB / 0.6549 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.5641, allocations: 37.12 kB / 0.655 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.5641, allocations: 39.58 kB / 0.655 GB, free: 16.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.5648, allocations: 0.6006 MB / 0.6556 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5648, allocations: 0 / 0.6556 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.5648, allocations: 17.44 kB / 0.6556 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.5648, allocations: 20.02 kB / 0.6556 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.5653, allocations: 281.1 kB / 0.6559 GB, free: 16.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.5664, allocations: 1.813 MB / 0.6577 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.5669, allocations: 282.8 kB / 0.6579 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.5671, allocations: 117 kB / 0.658 GB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09469/0.6618, allocations: 41.69 MB / 0.6988 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.6618, allocations: 44.42 kB / 0.6988 GB, free: 15.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=79): time 2.465e-06/0.6618, allocations: 0 / 0.6988 GB, free: 15.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.003186/0.665, allocations: 1.476 MB / 0.7002 GB, free: 13.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.665, allocations: 55.41 kB / 0.7003 GB, free: 13.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.6652, allocations: 279.7 kB / 0.7006 GB, free: 13.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.6652, allocations: 32.64 kB / 0.7006 GB, free: 13.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.6653, allocations: 240.5 kB / 0.7008 GB, free: 13.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6655, allocations: 289.6 kB / 0.7011 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.6656, allocations: 122.3 kB / 0.7012 GB, free: 12.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6657, allocations: 0.5321 MB / 0.7017 GB, free: 12.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.6658, allocations: 95.02 kB / 0.7018 GB, free: 12.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.666, allocations: 271.2 kB / 0.7021 GB, free: 11.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.6664, allocations: 420.4 kB / 0.7025 GB, free: 11.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6664, allocations: 0 / 0.7025 GB, free: 11.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005794/0.667, allocations: 0.4921 MB / 0.703 GB, free: 11.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.667, allocations: 4 kB / 0.703 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.667, allocations: 4 kB / 0.703 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.6672, allocations: 62.33 kB / 0.703 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.6674, allocations: 90.52 kB / 0.7031 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03493/0.7023, allocations: 16.07 MB / 0.7188 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.7025, allocations: 22.42 kB / 0.7188 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.7025, allocations: 15.88 kB / 0.7188 GB, free: 11.1 MB / 490.7 MB 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.0001478/0.7027, allocations: 188.8 kB / 0.719 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.7028, allocations: 66.84 kB / 0.7191 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.7039, allocations: 1.385 MB / 0.7204 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7039, allocations: 11.3 kB / 0.7205 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7039, allocations: 0 / 0.7205 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005155/0.7044, allocations: 0.7535 MB / 0.7212 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.7056, allocations: 1.05 MB / 0.7222 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7056, allocations: 0 / 0.7222 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.7057, allocations: 71.14 kB / 0.7223 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.7059, allocations: 42.95 kB / 0.7223 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.7059, allocations: 14.98 kB / 0.7223 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006713/0.7066, allocations: 1.743 MB / 0.724 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7066, allocations: 0 / 0.724 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.7072, allocations: 0.7293 MB / 0.7248 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.7073, allocations: 39.69 kB / 0.7248 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.7073, allocations: 14.08 kB / 0.7248 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.7074, allocations: 15.98 kB / 0.7248 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.7075, allocations: 45.39 kB / 0.7249 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.7075, allocations: 19.61 kB / 0.7249 GB, free: 5.316 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.7077, allocations: 230.2 kB / 0.7251 GB, free: 5.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.7077, allocations: 0 / 0.7251 GB, free: 5.113 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005034/0.7127, allocations: 2.435 MB / 0.7275 GB, free: 2.762 MB / 490.7 MB 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.00669/0.7194, allocations: 3.752 MB / 0.7311 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007569/0.7202, allocations: 0.7046 MB / 0.7318 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7202, allocations: 4 kB / 0.7318 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.7205, allocations: 377.7 kB / 0.7322 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.7214, allocations: 373.4 kB / 0.7326 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.7228, allocations: 0.9681 MB / 0.7335 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.806e-05/0.7228, allocations: 135.6 kB / 0.7336 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.7231, allocations: 153.6 kB / 0.7338 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.7232, allocations: 42.12 kB / 0.7338 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/0.7232, allocations: 0 / 0.7338 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.1752/0.8984, allocations: 78.38 MB / 0.8104 GB, free: 259.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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.200900482013822]