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.001399/0.001399, 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.00178/0.00178, allocations: 211.7 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.793 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.05187/0.05187, allocations: 9.146 MB / 321.6 MB, free: 10.21 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 0.002036/0.002036, allocations: 63.91 kB / 447 MB, free: 28 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1228, allocations: 54.94 MB / 0.4902 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4611/0.5839, allocations: 174.9 MB / 0.661 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.561/1.145, allocations: 125.6 MB / 0.7837 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/1.146, allocations: 13 kB / 0.7837 GB, free: 200 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/1.149, allocations: 1.254 MB / 0.7849 GB, free: 196 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003998/1.153, allocations: 1.636 MB / 0.7865 GB, free: 180 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.1183/1.272, allocations: 40.56 MB / 0.8261 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002898/1.275, allocations: 1.946 MB / 0.828 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/1.275, allocations: 127.6 kB / 0.8281 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/1.277, allocations: 0.8667 MB / 0.829 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/1.278, allocations: 0.5218 MB / 0.8295 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/1.279, allocations: 59.41 kB / 0.8295 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07995/1.359, allocations: 31.5 MB / 0.8603 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/1.359, allocations: 179.8 kB / 0.8605 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008363/1.36, allocations: 350.6 kB / 0.8608 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.06913/1.429, allocations: 16.42 MB / 0.8768 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.429, allocations: 8 kB / 0.8768 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/1.429, allocations: 0 / 0.8768 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.429, allocations: 0 / 0.8768 GB, free: 0.4922 MB / 0.5919 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.009883/1.439, allocations: 3.402 MB / 0.8802 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.439, allocations: 8.031 kB / 0.8802 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/1.44, allocations: 131.4 kB / 0.8803 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007987/1.441, allocations: 349.6 kB / 0.8806 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/1.441, allocations: 37 kB / 0.8807 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.441, allocations: 51.94 kB / 0.8807 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/1.443, allocations: 1.032 MB / 0.8817 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.443, allocations: 0 / 0.8817 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/1.443, allocations: 24 kB / 0.8817 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/1.443, allocations: 25.53 kB / 0.8818 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/1.445, allocations: 0.7614 MB / 0.8825 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/1.449, allocations: 2.209 MB / 0.8847 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/1.45, allocations: 0.6424 MB / 0.8853 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008255/1.451, allocations: 461.7 kB / 0.8857 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.285/1.736, allocations: 58.72 MB / 0.9431 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.736, allocations: 42.55 kB / 0.9431 GB, free: 12.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 2.785e-06/1.736, allocations: 4 kB / 0.9431 GB, free: 12.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.01001/1.746, allocations: 3.332 MB / 0.9464 GB, free: 9.199 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/1.746, allocations: 55.91 kB / 0.9464 GB, free: 9.133 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/1.746, allocations: 288.1 kB / 0.9467 GB, free: 8.836 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/1.747, allocations: 41.7 kB / 0.9467 GB, free: 8.789 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.747, allocations: 245.4 kB / 0.947 GB, free: 8.543 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.747, allocations: 395.9 kB / 0.9474 GB, free: 8.164 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.747, allocations: 142.3 kB / 0.9475 GB, free: 8.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.747, allocations: 366.7 kB / 0.9478 GB, free: 7.652 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/1.748, allocations: 405.7 kB / 0.9482 GB, free: 7.258 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/1.749, allocations: 0.5473 MB / 0.9488 GB, free: 6.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/1.751, allocations: 1.005 MB / 0.9497 GB, free: 5.609 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.751, allocations: 4 kB / 0.9498 GB, free: 5.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002424/1.754, allocations: 1.147 MB / 0.9509 GB, free: 4.441 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.754, allocations: 11.98 kB / 0.9509 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.754, allocations: 7.938 kB / 0.9509 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004389/1.754, allocations: 102.9 kB / 0.951 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.755, allocations: 207.7 kB / 0.9512 GB, free: 4.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4091/2.164, allocations: 34.94 MB / 0.9853 GB, free: 327.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/2.165, allocations: 44.44 kB / 0.9853 GB, free: 327.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/2.165, allocations: 25.94 kB / 0.9854 GB, free: 327.6 MB / 0.7012 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.0003924/2.165, allocations: 227.2 kB / 0.9856 GB, free: 327.5 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/2.166, allocations: 61.8 kB / 0.9856 GB, free: 327.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/2.169, allocations: 2.44 MB / 0.988 GB, free: 327.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/2.169, allocations: 17.28 kB / 0.988 GB, free: 327.2 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/2.169, allocations: 2.219 kB / 0.9881 GB, free: 327.2 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/2.171, allocations: 1.694 MB / 0.9897 GB, free: 326.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/2.174, allocations: 2.319 MB / 0.992 GB, free: 326.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/2.174, allocations: 1.812 kB / 0.992 GB, free: 326.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/2.175, allocations: 122.4 kB / 0.9921 GB, free: 326.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/2.175, allocations: 211 kB / 0.9923 GB, free: 326.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/2.175, allocations: 16.53 kB / 0.9923 GB, free: 326.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/2.177, allocations: 3.733 MB / 0.996 GB, free: 323.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.177, allocations: 0 / 0.996 GB, free: 323.1 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/2.18, allocations: 2.029 MB / 0.9979 GB, free: 322.9 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/2.18, allocations: 57.89 kB / 0.998 GB, free: 322.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/2.181, allocations: 15.05 kB / 0.998 GB, free: 322.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/2.181, allocations: 37.41 kB / 0.998 GB, free: 322.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/2.181, allocations: 62.94 kB / 0.9981 GB, free: 322.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/2.181, allocations: 26.77 kB / 0.9981 GB, free: 322.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002613/2.181, allocations: 229.3 kB / 0.9983 GB, free: 322.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/2.181, allocations: 0 / 0.9983 GB, free: 322.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.02043/2.202, allocations: 5.544 MB / 1.004 GB, free: 322.8 MB / 0.7012 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.03277/2.235, allocations: 6.906 MB / 1.01 GB, free: 321.8 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00356/2.238, allocations: 1.526 MB / 1.012 GB, free: 321.2 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.238, allocations: 0 / 1.012 GB, free: 321.2 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/2.24, allocations: 0.8055 MB / 1.013 GB, free: 320.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/2.242, allocations: 0.4957 MB / 1.013 GB, free: 320.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/2.245, allocations: 1.762 MB / 1.015 GB, free: 319.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/2.246, allocations: 340.9 kB / 1.015 GB, free: 319.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006924/2.246, allocations: 183.9 kB / 1.015 GB, free: 319.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/2.246, allocations: 49.47 kB / 1.016 GB, free: 319.7 MB / 0.7012 GB Notification: Performance of SimCode: time 1.393e-06/2.246, allocations: 0 / 1.016 GB, free: 319.7 MB / 0.7012 GB Notification: Performance of Templates: time 0.2203/2.467, allocations: 203.9 MB / 1.215 GB, free: 133.1 MB / 0.7012 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: 27.479976752772927] Failed to read output from testmodel.py, exit status != 0: 2.474559061229229 2.484586618 1.053168929 Calling exit ...