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.00119/0.00119, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.002989, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008112/0.0008112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.00228, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9213/0.9213, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07829/0.9996, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04666/0.04666, allocations: 11.71 MB / 255.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005005/0.05166, allocations: 3.083 MB / 258.8 MB, free: 0.8242 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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 1.613e-06/1.613e-06, allocations: 0 / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.245e-05, allocations: 2.312 kB / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.1624/0.1624, allocations: 61.14 MB / 321.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04067/0.2031, allocations: 48.06 MB / 369.3 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.2034, allocations: 7.938 kB / 369.3 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.204, allocations: 386.1 kB / 369.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008027/0.2048, allocations: 0.6413 MB / 370.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04141/0.2462, allocations: 22.92 MB / 393.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.2475, allocations: 1.464 MB / 394.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2477, allocations: 93.69 kB / 394.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.253, allocations: 5.457 MB / 400.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.2534, allocations: 332.3 kB / 400.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.2534, allocations: 44 kB / 400.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02643/0.2798, allocations: 17.52 MB / 418.1 MB, free: 5.105 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.28, allocations: 103.6 kB / 418.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.2804, allocations: 191.7 kB / 418.4 MB, free: 4.816 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1371/0.4175, allocations: 7.107 MB / 425.5 MB, free: 68.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.4175, allocations: 0 / 425.5 MB, free: 68.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4175, allocations: 3.594 kB / 425.5 MB, free: 68.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.4175, allocations: 3.828 kB / 425.5 MB, free: 68.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00408/0.4216, allocations: 2.506 MB / 428 MB, free: 67.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.4216, allocations: 12.41 kB / 428 MB, free: 67.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.4219, allocations: 93.83 kB / 428.1 MB, free: 67.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.4222, allocations: 237.3 kB / 428.4 MB, free: 67.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.4223, allocations: 27.31 kB / 428.4 MB, free: 67.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.4223, allocations: 35.56 kB / 428.4 MB, free: 67.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.4229, allocations: 0.5589 MB / 429 MB, free: 67.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4229, allocations: 2.656 kB / 429 MB, free: 67.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.423, allocations: 22.72 kB / 429 MB, free: 67.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.423, allocations: 18.56 kB / 429 MB, free: 67.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.4234, allocations: 241.5 kB / 429.3 MB, free: 67.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.453, allocations: 24.88 MB / 454.1 MB, free: 65.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.4535, allocations: 283.7 kB / 454.4 MB, free: 65.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.4536, allocations: 98.8 kB / 454.5 MB, free: 65.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07792/0.5315, allocations: 70.84 MB / 0.513 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5315, allocations: 44 kB / 0.5131 GB, free: 9.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 3.226e-06/0.5315, allocations: 0 / 0.5131 GB, free: 9.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002873/0.5344, allocations: 1.469 MB / 0.5145 GB, free: 7.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.5344, allocations: 65.78 kB / 0.5146 GB, free: 7.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.5345, allocations: 215.8 kB / 0.5148 GB, free: 7.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.5345, allocations: 33.7 kB / 0.5148 GB, free: 7.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.5346, allocations: 180.4 kB / 0.515 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.5347, allocations: 294.8 kB / 0.5153 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.5347, allocations: 111.3 kB / 0.5154 GB, free: 6.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.5348, allocations: 350.2 kB / 0.5157 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.5349, allocations: 88.3 kB / 0.5158 GB, free: 6.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.535, allocations: 219.7 kB / 0.516 GB, free: 6.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.5352, allocations: 375 kB / 0.5164 GB, free: 5.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5352, allocations: 4 kB / 0.5164 GB, free: 5.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003881/0.5356, allocations: 430.9 kB / 0.5168 GB, free: 5.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5356, allocations: 8 kB / 0.5168 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5356, allocations: 6.516 kB / 0.5168 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.5358, allocations: 96.64 kB / 0.5169 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.536, allocations: 107.8 kB / 0.517 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.5382, allocations: 4.385 MB / 0.5213 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.5384, allocations: 16 kB / 0.5213 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5385, allocations: 19.98 kB / 0.5213 GB, free: 0.6953 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (51): * Single equations (assignments): 46 * 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.0001384/0.5386, allocations: 151.7 kB / 0.5215 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.5387, allocations: 40 kB / 0.5215 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.5408, allocations: 3.134 MB / 0.5246 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008479/0.5417, allocations: 1.35 MB / 0.5259 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5417, allocations: 0 / 0.5259 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009173/0.5426, allocations: 1.66 MB / 0.5275 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.5443, allocations: 1.894 MB / 0.5293 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5443, allocations: 4 kB / 0.5293 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.5446, allocations: 112.4 kB / 0.5295 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.5446, allocations: 75.36 kB / 0.5295 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.5448, allocations: 44.75 kB / 0.5296 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5448, allocations: 12 kB / 0.5296 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005786/0.5454, allocations: 1.175 MB / 0.5307 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.5454, allocations: 3.984 kB / 0.5307 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.5467, allocations: 1.441 MB / 0.5321 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.5467, allocations: 17.33 kB / 0.5322 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.5469, allocations: 12 kB / 0.5322 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.547, allocations: 36.42 kB / 0.5322 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.547, allocations: 16.08 kB / 0.5322 GB, free: 5.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.5471, allocations: 102.4 kB / 0.5323 GB, free: 5.754 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5471, allocations: 0 / 0.5323 GB, free: 5.754 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003094/0.5502, allocations: 1.245 MB / 0.5335 GB, free: 4.508 MB / 410.7 MB 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: 11 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.phase,volume.medium.state.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 (58): * Single equations (assignments): 53 * 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.004459/0.5546, allocations: 2.255 MB / 0.5357 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.5556, allocations: 0.9408 MB / 0.5366 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/0.5557, allocations: 10.12 kB / 0.5367 GB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.5561, allocations: 0.551 MB / 0.5372 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5571, allocations: 455.8 kB / 0.5376 GB, free: 0.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.5648, allocations: 1.562 MB / 0.5392 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.565, allocations: 210.7 kB / 0.5394 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000364/0.5653, allocations: 169.8 kB / 0.5395 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.5658, allocations: 272.7 kB / 0.5398 GB, free: 14.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5658, allocations: 0 / 0.5398 GB, free: 14.35 MB / 426.7 MB Notification: Performance of Templates: time 0.1565/0.7223, allocations: 44.55 MB / 0.5833 GB, free: 119.5 MB / 442.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.513094666413963]