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.001649/0.001649, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00204/0.00204, allocations: 212 kB / 22.24 MB, free: 5.262 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 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.05224/0.05224, allocations: 9.139 MB / 321.6 MB, free: 10.22 MB / 254.1 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 0.002079/0.002079, allocations: 67.91 kB / 447 MB, free: 80 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 54.94 MB / 0.4902 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3423/0.4484, allocations: 115.8 MB / 0.6033 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1165/0.5649, allocations: 98.68 MB / 0.6997 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.5654, allocations: 11.88 kB / 0.6997 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.5686, allocations: 1.223 MB / 0.7009 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.5723, allocations: 1.567 MB / 0.7024 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3425/0.9147, allocations: 31.16 MB / 0.7329 GB, free: 21.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.9164, allocations: 1.422 MB / 0.7342 GB, free: 21.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.9166, allocations: 79.86 kB / 0.7343 GB, free: 21.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01525/0.9319, allocations: 9.203 MB / 0.7433 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.9325, allocations: 379.8 kB / 0.7437 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.9325, allocations: 42.09 kB / 0.7437 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03967/0.9722, allocations: 24.25 MB / 0.7674 GB, free: 21.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.9724, allocations: 126.2 kB / 0.7675 GB, free: 21.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.973, allocations: 252.8 kB / 0.7678 GB, free: 21.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03183/1.005, allocations: 12.29 MB / 0.7798 GB, free: 20.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.005, allocations: 0 / 0.7798 GB, free: 20.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.225e-06/1.005, allocations: 0 / 0.7798 GB, free: 20.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.005, allocations: 0 / 0.7798 GB, free: 20.22 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.006423/1.011, allocations: 2.584 MB / 0.7823 GB, free: 18.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.011, allocations: 12.64 kB / 0.7823 GB, free: 18.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/1.012, allocations: 88.72 kB / 0.7824 GB, free: 18.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/1.012, allocations: 280.5 kB / 0.7826 GB, free: 18.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/1.012, allocations: 33.66 kB / 0.7827 GB, free: 18.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/1.012, allocations: 29.88 kB / 0.7827 GB, free: 18.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.014, allocations: 0.7659 MB / 0.7835 GB, free: 18.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.014, allocations: 0 / 0.7835 GB, free: 18.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/1.014, allocations: 15.25 kB / 0.7835 GB, free: 18.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/1.014, allocations: 17.75 kB / 0.7835 GB, free: 18.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/1.015, allocations: 0.5533 MB / 0.784 GB, free: 17.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/1.017, allocations: 1.643 MB / 0.7856 GB, free: 16.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/1.018, allocations: 479.5 kB / 0.7861 GB, free: 16.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/1.018, allocations: 327.1 kB / 0.7864 GB, free: 16.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2002/1.218, allocations: 44.03 MB / 0.8294 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.218, allocations: 38.72 kB / 0.8294 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.387e-06/1.218, allocations: 1.094 kB / 0.8294 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006139/1.224, allocations: 2.244 MB / 0.8316 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/1.225, allocations: 58.03 kB / 0.8317 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/1.225, allocations: 228.6 kB / 0.8319 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/1.225, allocations: 29.52 kB / 0.8319 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.225, allocations: 192.6 kB / 0.8321 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/1.225, allocations: 289.8 kB / 0.8324 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.225, allocations: 96.05 kB / 0.8325 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.226, allocations: 350.8 kB / 0.8328 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/1.226, allocations: 273 kB / 0.8331 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/1.227, allocations: 412.2 kB / 0.8335 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.228, allocations: 0.7237 MB / 0.8342 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.228, allocations: 4 kB / 0.8342 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001591/1.229, allocations: 0.8055 MB / 0.835 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.229, allocations: 4.547 kB / 0.835 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.229, allocations: 4 kB / 0.835 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/1.23, allocations: 64.2 kB / 0.835 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/1.23, allocations: 95.25 kB / 0.8351 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07365/1.304, allocations: 17.03 MB / 0.8518 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/1.304, allocations: 31.22 kB / 0.8518 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/1.304, allocations: 15.31 kB / 0.8518 GB, free: 9.637 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.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.0003044/1.305, allocations: 199.2 kB / 0.852 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.305, allocations: 43.72 kB / 0.852 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.307, allocations: 1.584 MB / 0.8536 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/1.307, allocations: 19.2 kB / 0.8536 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.307, allocations: 3.938 kB / 0.8536 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001613/1.308, allocations: 1.175 MB / 0.8548 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/1.311, allocations: 1.486 MB / 0.8562 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.311, allocations: 1.531 kB / 0.8562 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/1.311, allocations: 82.78 kB / 0.8563 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/1.311, allocations: 44.52 kB / 0.8563 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/1.311, allocations: 11.8 kB / 0.8563 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/1.313, allocations: 1.3 MB / 0.8576 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.313, allocations: 0 / 0.8576 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.315, allocations: 1.21 MB / 0.8588 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/1.315, allocations: 39.64 kB / 0.8588 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/1.315, allocations: 14.38 kB / 0.8588 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/1.315, allocations: 25.86 kB / 0.8589 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.315, allocations: 46.84 kB / 0.8589 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/1.315, allocations: 15.31 kB / 0.8589 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002562/1.315, allocations: 223.5 kB / 0.8591 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.315, allocations: 0 / 0.8591 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009711/1.325, allocations: 3.573 MB / 0.8626 GB, free: 180 kB / 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 (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.02069/1.346, allocations: 4.589 MB / 0.8671 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.348, allocations: 0.924 MB / 0.868 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.348, allocations: 0 / 0.868 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009435/1.349, allocations: 472.9 kB / 0.8685 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.351, allocations: 365.7 kB / 0.8688 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/1.353, allocations: 1.177 MB / 0.87 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.353, allocations: 246.3 kB / 0.8702 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005261/1.354, allocations: 160.2 kB / 0.8703 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.354, allocations: 45.11 kB / 0.8704 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of SimCode: time 1.363e-06/1.354, allocations: 0 / 0.8704 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.4008/1.755, allocations: 127 MB / 0.9944 GB, free: 331.3 MB / 0.7012 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.686941258609295] Failed to read output from testmodel.py, exit status != 0: 1.7625380530953407 1.7762229200000001 0.767048469 Calling exit ...