Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001361/0.001361, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.001506/0.001506, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.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.04879/0.04879, allocations: 7.535 MB / 267.3 MB, free: 9.605 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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.89 kB / 392.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1075, allocations: 54.91 MB / 447.7 MB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3704/0.4779, allocations: 114.9 MB / 0.5494 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1143/0.5922, allocations: 98.6 MB / 0.6457 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.5927, allocations: 7.938 kB / 0.6457 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.5959, allocations: 1.233 MB / 0.6469 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.6005, allocations: 1.56 MB / 0.6484 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.08005/0.6806, allocations: 31.08 MB / 0.6788 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.6827, allocations: 1.411 MB / 0.6801 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.683, allocations: 77.92 kB / 0.6802 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02102/0.704, allocations: 10.95 MB / 0.6909 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.7047, allocations: 370.5 kB / 0.6913 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.7048, allocations: 48 kB / 0.6913 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3307/1.035, allocations: 23.83 MB / 0.7146 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/1.036, allocations: 130.2 kB / 0.7147 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005932/1.036, allocations: 250.9 kB / 0.715 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04397/1.08, allocations: 12.2 MB / 0.7269 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.08, allocations: 1.781 kB / 0.7269 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/1.08, allocations: 3.125 kB / 0.7269 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.08, allocations: 0 / 0.7269 GB, free: 38.77 MB / 0.5606 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.00857/1.089, allocations: 2.589 MB / 0.7294 GB, free: 37.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.089, allocations: 15.14 kB / 0.7294 GB, free: 37.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006584/1.09, allocations: 86.16 kB / 0.7295 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/1.09, allocations: 279.2 kB / 0.7298 GB, free: 37.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/1.09, allocations: 29.91 kB / 0.7298 GB, free: 37.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/1.09, allocations: 36.23 kB / 0.7298 GB, free: 37.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.092, allocations: 0.7632 MB / 0.7306 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.092, allocations: 5.75 kB / 0.7306 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/1.092, allocations: 12.88 kB / 0.7306 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.092, allocations: 19.66 kB / 0.7306 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/1.093, allocations: 0.5542 MB / 0.7312 GB, free: 36.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/1.095, allocations: 1.651 MB / 0.7328 GB, free: 36.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.096, allocations: 472.3 kB / 0.7332 GB, free: 36.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/1.097, allocations: 314.2 kB / 0.7335 GB, free: 36.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1931/1.29, allocations: 44.03 MB / 0.7765 GB, free: 20.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/1.29, allocations: 38.97 kB / 0.7766 GB, free: 20.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 3.016e-06/1.29, allocations: 3.281 kB / 0.7766 GB, free: 20.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=81): time 0.005644/1.295, allocations: 2.248 MB / 0.7788 GB, free: 18.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/1.296, allocations: 55.41 kB / 0.7788 GB, free: 18.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/1.296, allocations: 232 kB / 0.779 GB, free: 18.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/1.296, allocations: 37.52 kB / 0.7791 GB, free: 18.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/1.296, allocations: 201.2 kB / 0.7793 GB, free: 17.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/1.296, allocations: 275.8 kB / 0.7795 GB, free: 17.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.296, allocations: 100.9 kB / 0.7796 GB, free: 17.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/1.296, allocations: 351.9 kB / 0.7799 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/1.297, allocations: 288.9 kB / 0.7802 GB, free: 17.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/1.297, allocations: 405.8 kB / 0.7806 GB, free: 16.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/1.298, allocations: 0.7215 MB / 0.7813 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.298, allocations: 0 / 0.7813 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001263/1.299, allocations: 0.8139 MB / 0.7821 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.299, allocations: 10.72 kB / 0.7821 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.299, allocations: 4 kB / 0.7821 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/1.299, allocations: 61.05 kB / 0.7822 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/1.3, allocations: 146.5 kB / 0.7823 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0668/1.367, allocations: 18.19 MB / 0.8001 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/1.367, allocations: 27.83 kB / 0.8001 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/1.368, allocations: 19.92 kB / 0.8001 GB, free: 14.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0003145/1.368, allocations: 194.1 kB / 0.8003 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.368, allocations: 47.66 kB / 0.8004 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/1.37, allocations: 1.745 MB / 0.8021 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.37, allocations: 6.812 kB / 0.8021 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.37, allocations: 4 kB / 0.8021 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/1.372, allocations: 1.324 MB / 0.8034 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/1.375, allocations: 1.646 MB / 0.805 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.375, allocations: 0 / 0.805 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/1.375, allocations: 74.72 kB / 0.805 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/1.375, allocations: 174.3 kB / 0.8052 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.375, allocations: 7.938 kB / 0.8052 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.377, allocations: 2.446 MB / 0.8076 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/1.377, allocations: 0 / 0.8076 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/1.379, allocations: 1.42 MB / 0.809 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.38, allocations: 39.69 kB / 0.809 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/1.38, allocations: 3.875 kB / 0.809 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/1.38, allocations: 27.53 kB / 0.8091 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.38, allocations: 43.67 kB / 0.8091 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/1.38, allocations: 15.67 kB / 0.8091 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002244/1.38, allocations: 204.6 kB / 0.8093 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.38, allocations: 0 / 0.8093 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01348/1.394, allocations: 3.574 MB / 0.8128 GB, free: 2.953 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02494/1.419, allocations: 4.526 MB / 0.8172 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.421, allocations: 1.02 MB / 0.8182 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.421, allocations: 0 / 0.8182 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/1.422, allocations: 0.4918 MB / 0.8187 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.424, allocations: 366.9 kB / 0.8191 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/1.426, allocations: 1.221 MB / 0.8202 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/1.426, allocations: 254.1 kB / 0.8205 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004044/1.427, allocations: 134 kB / 0.8206 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/1.427, allocations: 36.5 kB / 0.8206 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of SimCode: time 8.71e-07/1.427, allocations: 3 kB / 0.8207 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.4543/1.881, allocations: 126.6 MB / 0.9442 GB, free: 323.3 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.09386847098358] Failed to read output from testmodel.py, exit status != 0: 1.890158183989115 1.900321848 0.817434395 Calling exit ...