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.001422/0.001422, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001674/0.001674, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.9451/0.9451, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 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.04298/0.04298, allocations: 7.52 MB / 267.8 MB, free: 5.855 MB / 250.7 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.703e-06/1.703e-06, allocations: 0 / 339.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.652e-05, allocations: 2.312 kB / 339.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.01479/0.01481, allocations: 21.49 MB / 360.6 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0212/0.03601, allocations: 33.22 MB / 393.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.03627, allocations: 15.88 kB / 393.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.03705, allocations: 457.8 kB / 394.3 MB, free: 4.371 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009145/0.03797, allocations: 0.8821 MB / 395.2 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01512/0.05309, allocations: 11.22 MB / 406.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.05451, allocations: 2.009 MB / 408.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.05471, allocations: 131.6 kB / 408.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.05562, allocations: 1.087 MB / 409.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.05605, allocations: 486.5 kB / 410.1 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.05612, allocations: 60 kB / 410.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008244/0.06436, allocations: 8.147 MB / 418.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.06448, allocations: 187.3 kB / 418.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.0647, allocations: 311.5 kB / 418.8 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.06969, allocations: 5.248 MB / 424 MB, free: 6.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.0697, allocations: 0 / 424 MB, free: 6.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.0697, allocations: 0 / 424 MB, free: 6.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.0697, allocations: 0 / 424 MB, free: 6.52 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001555/0.07126, allocations: 1.613 MB / 425.7 MB, free: 4.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.07129, allocations: 12.03 kB / 425.7 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.07176, allocations: 238.4 kB / 425.9 MB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.07206, allocations: 338.5 kB / 426.2 MB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.0721, allocations: 41 kB / 426.3 MB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.07215, allocations: 55.98 kB / 426.3 MB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.0729, allocations: 0.7759 MB / 427.1 MB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.07292, allocations: 3.938 kB / 427.1 MB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.07295, allocations: 24 kB / 427.1 MB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.07297, allocations: 19.98 kB / 427.1 MB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.07342, allocations: 323.4 kB / 427.5 MB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.07504, allocations: 2.34 MB / 429.8 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.07557, allocations: 356.7 kB / 430.2 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.0757, allocations: 154.1 kB / 430.3 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02704/0.1027, allocations: 10.96 MB / 441.3 MB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1028, allocations: 41.89 kB / 441.3 MB, free: 4.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 1.744e-06/0.1028, allocations: 0 / 441.3 MB, free: 4.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.003123/0.1059, allocations: 2.035 MB / 443.3 MB, free: 2.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.1059, allocations: 59.91 kB / 443.4 MB, free: 2.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1061, allocations: 326 kB / 443.7 MB, free: 2.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1061, allocations: 33.7 kB / 443.7 MB, free: 2.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1062, allocations: 284.2 kB / 444 MB, free: 2.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.1064, allocations: 416.4 kB / 444.4 MB, free: 1.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.1066, allocations: 163.9 kB / 444.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.1068, allocations: 0.5624 MB / 445.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.107, allocations: 117.9 kB / 445.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.1072, allocations: 325.7 kB / 445.6 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1128/0.22, allocations: 490.6 kB / 446.1 MB, free: 103.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.22, allocations: 1.156 kB / 446.1 MB, free: 103.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008655/0.2209, allocations: 0.6708 MB / 446.7 MB, free: 103.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2209, allocations: 6.469 kB / 446.7 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2209, allocations: 6.438 kB / 446.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.2211, allocations: 98.73 kB / 446.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.2216, allocations: 192.1 kB / 447 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/0.2453, allocations: 19.51 MB / 466.5 MB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2456, allocations: 34.59 kB / 466.6 MB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2456, allocations: 20.22 kB / 466.6 MB, free: 91.61 MB / 410.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: 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.000156/0.2458, allocations: 204.2 kB / 466.8 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.2458, allocations: 92.95 kB / 466.9 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2471, allocations: 2.026 MB / 468.9 MB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005088/0.2476, allocations: 0.7041 MB / 469.6 MB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2476, allocations: 5.438 kB / 469.6 MB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005273/0.2482, allocations: 0.9272 MB / 470.5 MB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2494, allocations: 1.583 MB / 472.1 MB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2494, allocations: 0 / 472.1 MB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.2497, allocations: 131 kB / 472.3 MB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.2499, allocations: 181.5 kB / 472.4 MB, free: 90 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2499, allocations: 17.59 kB / 472.5 MB, free: 90 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.251, allocations: 5.061 MB / 477.5 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.251, allocations: 2.688 kB / 477.5 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.2518, allocations: 1.054 MB / 478.6 MB, free: 84.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.2519, allocations: 60.83 kB / 478.6 MB, free: 84.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.2519, allocations: 13.31 kB / 478.6 MB, free: 84.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2521, allocations: 30.98 kB / 478.7 MB, free: 84.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2522, allocations: 77.16 kB / 478.7 MB, free: 84.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.2523, allocations: 20.2 kB / 478.8 MB, free: 84.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2524, allocations: 231.9 kB / 479 MB, free: 84.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2524, allocations: 0 / 479 MB, free: 84.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002025/0.2544, allocations: 1.015 MB / 480 MB, free: 84.52 MB / 410.7 MB 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 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse7.phase,$cse10.phase,$cse11.phase,$cse12.phase,volume.medium.state.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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002107/0.2565, allocations: 1.457 MB / 481.5 MB, free: 84.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.2577, allocations: 1.168 MB / 482.6 MB, free: 83.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2577, allocations: 4 kB / 482.6 MB, free: 83.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.2582, allocations: 0.7343 MB / 483.4 MB, free: 83.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.2594, allocations: 0.5253 MB / 483.9 MB, free: 83.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.261, allocations: 1.424 MB / 485.3 MB, free: 82.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.2611, allocations: 178.2 kB / 485.5 MB, free: 82.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000366/0.2615, allocations: 174.3 kB / 485.7 MB, free: 82.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.262, allocations: 404.2 kB / 486.1 MB, free: 82.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.262, allocations: 0 / 486.1 MB, free: 82.47 MB / 410.7 MB Notification: Performance of Templates: time 0.03802/0.3, allocations: 47.39 MB / 0.5209 GB, free: 56.75 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.884914736263454]