Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.001262/0.001262, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001347/0.001347, allocations: 164 kB / 22.46 MB, free: 5.359 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.362/1.362, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.04808/0.04808, allocations: 7.52 MB / 266.7 MB, free: 9.652 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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.91e-05, allocations: 2.281 kB / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.3236/0.3236, allocations: 174.6 MB / 0.5536 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3455/0.6691, allocations: 125.6 MB / 0.6762 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.6697, allocations: 16.59 kB / 0.6762 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.6721, allocations: 1.273 MB / 0.6775 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.6747, allocations: 1.665 MB / 0.6791 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.08652/0.7612, allocations: 41.24 MB / 0.7194 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.7635, allocations: 1.957 MB / 0.7213 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.7637, allocations: 133.3 kB / 0.7214 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.7651, allocations: 1.153 MB / 0.7226 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.7658, allocations: 477.9 kB / 0.723 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.7658, allocations: 61.12 kB / 0.7231 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05955/0.8254, allocations: 31.74 MB / 0.7541 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.8258, allocations: 185.1 kB / 0.7542 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.8265, allocations: 298.3 kB / 0.7545 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05387/0.8804, allocations: 19.32 MB / 0.7734 GB, free: 444 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.8804, allocations: 0 / 0.7734 GB, free: 444 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8804, allocations: 0 / 0.7734 GB, free: 444 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.8804, allocations: 0 / 0.7734 GB, free: 444 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.009204/0.8896, allocations: 3.395 MB / 0.7767 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8896, allocations: 8.031 kB / 0.7767 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.8905, allocations: 127.4 kB / 0.7768 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.8911, allocations: 355.9 kB / 0.7772 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.8912, allocations: 48.98 kB / 0.7772 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.8913, allocations: 47.94 kB / 0.7773 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.8933, allocations: 1.033 MB / 0.7783 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.8933, allocations: 4 kB / 0.7783 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.8934, allocations: 22.3 kB / 0.7783 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.8934, allocations: 26.17 kB / 0.7783 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.8954, allocations: 0.7582 MB / 0.7791 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.8986, allocations: 2.194 MB / 0.7812 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.9002, allocations: 0.6555 MB / 0.7818 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.901, allocations: 449.9 kB / 0.7823 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.285/1.186, allocations: 58.72 MB / 0.8396 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/1.186, allocations: 37.69 kB / 0.8397 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 3.176e-06/1.186, allocations: 4 kB / 0.8397 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117): time 0.009849/1.196, allocations: 3.352 MB / 0.8429 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.196, allocations: 55.91 kB / 0.843 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/1.196, allocations: 284.1 kB / 0.8433 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/1.196, allocations: 41.64 kB / 0.8433 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/1.197, allocations: 243.3 kB / 0.8435 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.197, allocations: 393 kB / 0.8439 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.197, allocations: 142.3 kB / 0.844 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.197, allocations: 366.8 kB / 0.8444 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/1.198, allocations: 413.7 kB / 0.8448 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009529/1.199, allocations: 0.5421 MB / 0.8453 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/1.201, allocations: 1.003 MB / 0.8463 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.201, allocations: 0 / 0.8463 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002355/1.203, allocations: 1.156 MB / 0.8474 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.203, allocations: 12.09 kB / 0.8474 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.203, allocations: 4 kB / 0.8474 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/1.204, allocations: 105.6 kB / 0.8475 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.205, allocations: 201.3 kB / 0.8477 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/1.353, allocations: 34.94 MB / 0.8819 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/1.353, allocations: 35.97 kB / 0.8819 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/1.353, allocations: 30.61 kB / 0.8819 GB, free: 76 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.1558/1.509, allocations: 222 kB / 0.8821 GB, free: 335.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.509, allocations: 59.69 kB / 0.8822 GB, free: 335.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/1.513, allocations: 2.43 MB / 0.8846 GB, free: 335.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/1.513, allocations: 21.31 kB / 0.8846 GB, free: 335.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.513, allocations: 1.062 kB / 0.8846 GB, free: 335.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002178/1.515, allocations: 1.69 MB / 0.8862 GB, free: 335.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/1.518, allocations: 2.327 MB / 0.8885 GB, free: 334.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.518, allocations: 0 / 0.8885 GB, free: 334.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/1.519, allocations: 116.9 kB / 0.8886 GB, free: 334.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/1.519, allocations: 212.4 kB / 0.8888 GB, free: 334.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/1.519, allocations: 15.56 kB / 0.8888 GB, free: 334.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/1.521, allocations: 3.728 MB / 0.8925 GB, free: 331.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.521, allocations: 4.156 kB / 0.8925 GB, free: 331.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/1.524, allocations: 2.025 MB / 0.8945 GB, free: 330.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.524, allocations: 60.61 kB / 0.8945 GB, free: 330.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/1.524, allocations: 15.22 kB / 0.8945 GB, free: 330.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/1.525, allocations: 35.3 kB / 0.8946 GB, free: 330.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.525, allocations: 67.66 kB / 0.8946 GB, free: 330.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/1.525, allocations: 20.31 kB / 0.8946 GB, free: 330.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002214/1.525, allocations: 237.4 kB / 0.8949 GB, free: 330 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/1.525, allocations: 0 / 0.8949 GB, free: 330 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01148/1.537, allocations: 5.546 MB / 0.9003 GB, free: 329.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0234/1.56, allocations: 7.461 MB / 0.9076 GB, free: 328.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002832/1.563, allocations: 1.53 MB / 0.9091 GB, free: 327.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.563, allocations: 3.656 kB / 0.9091 GB, free: 327.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/1.564, allocations: 0.7889 MB / 0.9098 GB, free: 327.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.566, allocations: 0.4903 MB / 0.9103 GB, free: 327.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.568, allocations: 1.67 MB / 0.912 GB, free: 326.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/1.569, allocations: 336.7 kB / 0.9123 GB, free: 326.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003834/1.569, allocations: 182.5 kB / 0.9124 GB, free: 326.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/1.569, allocations: 51.52 kB / 0.9125 GB, free: 326.5 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/1.569, allocations: 0 / 0.9125 GB, free: 326.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.1862/1.755, allocations: 203.2 MB / 1.111 GB, free: 133.5 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 24.90799054503441] Failed to read output from testmodel.py, exit status != 0: 1.7627994865179062 1.7713991119999999 0.888801845 Calling exit ...