Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.001534/0.001534, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001847/0.001847, allocations: 164.3 kB / 23.02 MB, free: 4.941 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.04934/0.04934, allocations: 7.537 MB / 267.3 MB, free: 9.562 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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 75.89 kB / 392.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1164, allocations: 54.91 MB / 447.7 MB, free: 4.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3382/0.4546, allocations: 113.9 MB / 0.5484 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1089/0.5635, allocations: 97.15 MB / 0.6433 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006195/0.5641, allocations: 11.94 kB / 0.6433 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.5667, allocations: 0.9221 MB / 0.6442 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.5693, allocations: 1.098 MB / 0.6453 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.07901/0.6484, allocations: 30.43 MB / 0.675 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.6505, allocations: 1.387 MB / 0.6764 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.6507, allocations: 89.91 kB / 0.6765 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02252/0.6732, allocations: 12.34 MB / 0.6885 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.6739, allocations: 370.5 kB / 0.6889 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.674, allocations: 44 kB / 0.6889 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3487/1.023, allocations: 23.62 MB / 0.712 GB, free: 40.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/1.023, allocations: 122.3 kB / 0.7121 GB, free: 40.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/1.024, allocations: 257.8 kB / 0.7123 GB, free: 40.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04897/1.073, allocations: 12.31 MB / 0.7244 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.073, allocations: 2.578 kB / 0.7244 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/1.073, allocations: 2.156 kB / 0.7244 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.782e-05/1.073, allocations: 0 / 0.7244 GB, free: 39.6 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.01203/1.085, allocations: 2.587 MB / 0.7269 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.085, allocations: 9.344 kB / 0.7269 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/1.085, allocations: 92.28 kB / 0.727 GB, free: 38.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/1.086, allocations: 279.3 kB / 0.7273 GB, free: 38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/1.086, allocations: 38.28 kB / 0.7273 GB, free: 38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/1.086, allocations: 31.59 kB / 0.7273 GB, free: 38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/1.087, allocations: 0.7587 MB / 0.7281 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.087, allocations: 6 kB / 0.7281 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/1.087, allocations: 14.53 kB / 0.7281 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.087, allocations: 13.41 kB / 0.7281 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/1.089, allocations: 0.5572 MB / 0.7286 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/1.091, allocations: 1.633 MB / 0.7302 GB, free: 36.94 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/1.092, allocations: 490.7 kB / 0.7307 GB, free: 36.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/1.093, allocations: 312.1 kB / 0.731 GB, free: 36.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1943/1.287, allocations: 44.03 MB / 0.774 GB, free: 22.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/1.287, allocations: 41.97 kB / 0.774 GB, free: 22.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.507e-06/1.287, allocations: 0 / 0.774 GB, free: 22.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.00638/1.293, allocations: 2.245 MB / 0.7762 GB, free: 20.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.293, allocations: 63.16 kB / 0.7763 GB, free: 20.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/1.294, allocations: 229.5 kB / 0.7765 GB, free: 20.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/1.294, allocations: 29.58 kB / 0.7765 GB, free: 20.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/1.294, allocations: 195.2 kB / 0.7767 GB, free: 20.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/1.294, allocations: 291 kB / 0.777 GB, free: 20.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.294, allocations: 97.45 kB / 0.7771 GB, free: 20.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/1.294, allocations: 345.7 kB / 0.7774 GB, free: 19.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/1.295, allocations: 285.8 kB / 0.7777 GB, free: 19.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/1.295, allocations: 400.5 kB / 0.7781 GB, free: 19.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.296, allocations: 0.7255 MB / 0.7788 GB, free: 18.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.296, allocations: 11.52 kB / 0.7788 GB, free: 18.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001388/1.297, allocations: 0.7983 MB / 0.7796 GB, free: 18.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.297, allocations: 9.875 kB / 0.7796 GB, free: 18.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.297, allocations: 4 kB / 0.7796 GB, free: 18.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/1.298, allocations: 65.36 kB / 0.7797 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/1.298, allocations: 97.09 kB / 0.7797 GB, free: 18.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06536/1.363, allocations: 16.98 MB / 0.7963 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/1.364, allocations: 27.86 kB / 0.7964 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/1.364, allocations: 19.92 kB / 0.7964 GB, free: 1.695 MB / 0.5606 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.0003905/1.364, allocations: 198.5 kB / 0.7966 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.365, allocations: 39.72 kB / 0.7966 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/1.366, allocations: 1.581 MB / 0.7981 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.366, allocations: 7.875 kB / 0.7981 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.366, allocations: 10.56 kB / 0.7982 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/1.368, allocations: 1.173 MB / 0.7993 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/1.37, allocations: 1.494 MB / 0.8008 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.37, allocations: 0 / 0.8008 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/1.371, allocations: 87 kB / 0.8008 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/1.371, allocations: 44.61 kB / 0.8009 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/1.371, allocations: 12.25 kB / 0.8009 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.372, allocations: 1.295 MB / 0.8022 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.372, allocations: 160 / 0.8022 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.374, allocations: 1.207 MB / 0.8033 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.374, allocations: 35.73 kB / 0.8034 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/1.375, allocations: 11.77 kB / 0.8034 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/1.375, allocations: 27.84 kB / 0.8034 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.375, allocations: 43.48 kB / 0.8035 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/1.375, allocations: 14.72 kB / 0.8035 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002597/1.375, allocations: 224.4 kB / 0.8037 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.375, allocations: 0 / 0.8037 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01417/1.389, allocations: 3.576 MB / 0.8072 GB, free: 8.25 MB / 0.5762 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.02517/1.415, allocations: 4.596 MB / 0.8117 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002223/1.417, allocations: 0.919 MB / 0.8126 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.417, allocations: 0 / 0.8126 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009654/1.418, allocations: 485.2 kB / 0.813 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.42, allocations: 369.1 kB / 0.8134 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/1.422, allocations: 1.176 MB / 0.8145 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.423, allocations: 250.9 kB / 0.8148 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004945/1.423, allocations: 165 kB / 0.8149 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/1.423, allocations: 36.5 kB / 0.815 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/1.423, allocations: 0 / 0.815 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.1993/1.623, allocations: 126 MB / 0.938 GB, free: 4.434 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.513543225941248] Failed to read output from testmodel.py, exit status != 0: 1.6313220409210771 1.821258595 0.745731615 Calling exit ...