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.001528/0.001528, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001654/0.001654, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.356/1.356, allocations: 177.1 MB / 202.8 MB, free: 9.141 MB / 190.1 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.04731/0.04731, allocations: 7.515 MB / 266.7 MB, free: 9.609 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 1.583e-06/1.583e-06, allocations: 0 / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.712e-05, allocations: 5.656 kB / 392.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2854/0.2854, allocations: 114.7 MB / 0.4951 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1075/0.3929, allocations: 98.59 MB / 0.5914 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.3934, allocations: 11.88 kB / 0.5914 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.3964, allocations: 1.241 MB / 0.5926 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.4001, allocations: 1.609 MB / 0.5942 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06923/0.4693, allocations: 31.57 MB / 0.625 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.4712, allocations: 1.425 MB / 0.6264 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.4714, allocations: 89.7 kB / 0.6265 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2236/0.695, allocations: 11.17 MB / 0.6374 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005158/0.6956, allocations: 339.1 kB / 0.6377 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.819e-05/0.6956, allocations: 43.19 kB / 0.6377 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03754/0.7332, allocations: 24.04 MB / 0.6612 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.7334, allocations: 134 kB / 0.6613 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004437/0.7339, allocations: 218.8 kB / 0.6616 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0295/0.7634, allocations: 14.37 MB / 0.6756 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7634, allocations: 7.375 kB / 0.6756 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7634, allocations: 2.812 kB / 0.6756 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7634, allocations: 0 / 0.6756 GB, free: 36.45 MB / 0.4981 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.005137/0.7685, allocations: 2.581 MB / 0.6781 GB, free: 35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.7685, allocations: 11.38 kB / 0.6781 GB, free: 35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005739/0.7691, allocations: 89.92 kB / 0.6782 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.7694, allocations: 280.4 kB / 0.6785 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.7695, allocations: 26.12 kB / 0.6785 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.7695, allocations: 42.2 kB / 0.6786 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.7706, allocations: 0.7579 MB / 0.6793 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.7707, allocations: 0 / 0.6793 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.7707, allocations: 17.92 kB / 0.6793 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.7707, allocations: 17.98 kB / 0.6793 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.7719, allocations: 0.555 MB / 0.6799 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.7737, allocations: 1.646 MB / 0.6815 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.7746, allocations: 468.4 kB / 0.6819 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.7751, allocations: 317.7 kB / 0.6822 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1877/0.9628, allocations: 44.03 MB / 0.7252 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.9628, allocations: 41.19 kB / 0.7253 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=77): time 2.966e-06/0.9628, allocations: 0 / 0.7253 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.005095/0.9679, allocations: 2.24 MB / 0.7274 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.9679, allocations: 57.28 kB / 0.7275 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.9681, allocations: 235.8 kB / 0.7277 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.9681, allocations: 33.52 kB / 0.7278 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.9682, allocations: 203 kB / 0.728 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.9683, allocations: 267.4 kB / 0.7282 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.9684, allocations: 100.3 kB / 0.7283 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.9684, allocations: 349.4 kB / 0.7286 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.9689, allocations: 286.2 kB / 0.7289 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.9693, allocations: 404.5 kB / 0.7293 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008868/0.9702, allocations: 0.7216 MB / 0.73 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9702, allocations: 2.812 kB / 0.73 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001186/0.9714, allocations: 0.8126 MB / 0.7308 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9714, allocations: 10.06 kB / 0.7308 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.9714, allocations: 4.375 kB / 0.7308 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.9716, allocations: 65.17 kB / 0.7309 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.9723, allocations: 145.2 kB / 0.731 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07329/1.046, allocations: 18.19 MB / 0.7488 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/1.046, allocations: 31.53 kB / 0.7488 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/1.046, allocations: 19.81 kB / 0.7488 GB, free: 0.9922 MB / 0.5137 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.0003198/1.046, allocations: 189.5 kB / 0.749 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.047, allocations: 47.56 kB / 0.749 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/1.049, allocations: 1.742 MB / 0.7508 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.049, allocations: 17.64 kB / 0.7508 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/1.049, allocations: 0 / 0.7508 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/1.051, allocations: 1.323 MB / 0.7521 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/1.053, allocations: 1.641 MB / 0.7537 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.053, allocations: 3.938 kB / 0.7537 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/1.053, allocations: 78.92 kB / 0.7537 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/1.054, allocations: 164.4 kB / 0.7539 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/1.054, allocations: 15.67 kB / 0.7539 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/1.055, allocations: 2.439 MB / 0.7563 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.055, allocations: 4.031 kB / 0.7563 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/1.058, allocations: 1.415 MB / 0.7577 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/1.058, allocations: 39.81 kB / 0.7577 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/1.058, allocations: 11.81 kB / 0.7577 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/1.058, allocations: 23.84 kB / 0.7578 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.058, allocations: 47.22 kB / 0.7578 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/1.058, allocations: 11.94 kB / 0.7578 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002009/1.058, allocations: 205.8 kB / 0.758 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.058, allocations: 0 / 0.758 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009132/1.067, allocations: 3.571 MB / 0.7615 GB, free: 5.898 MB / 0.5294 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.01579/1.083, allocations: 4.902 MB / 0.7663 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002384/1.086, allocations: 1.026 MB / 0.7673 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.086, allocations: 7.938 kB / 0.7673 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/1.086, allocations: 495.3 kB / 0.7678 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.088, allocations: 365.2 kB / 0.7681 GB, free: 140 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/1.09, allocations: 1.14 MB / 0.7692 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/1.09, allocations: 254.2 kB / 0.7695 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003201/1.091, allocations: 131.1 kB / 0.7696 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/1.091, allocations: 36.5 kB / 0.7696 GB, free: 14.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/1.091, allocations: 3.094 kB / 0.7696 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Templates: time 0.3155/1.406, allocations: 127 MB / 0.8936 GB, free: 272.4 MB / 0.6075 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.568091452121735] Failed to read output from testmodel.py, exit status != 0: 1.4160860814154148 1.422810604 0.657062915 Calling exit ...