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.0006846/0.0006846, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009289/0.001613, allocations: 440 kB / 10.41 MB, free: 284 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002535, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.975/0.975, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.065, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04574/0.04574, allocations: 11.73 MB / 255.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005052/0.05079, allocations: 3.084 MB / 259 MB, free: 0.707 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.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.333e-06/1.333e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.407e-06/1.074e-05, allocations: 2.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.168/0.168, allocations: 62.56 MB / 322.9 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03532/0.2033, allocations: 48.5 MB / 371.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.2036, allocations: 15.88 kB / 371.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.2044, allocations: 421.8 kB / 371.8 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.2054, allocations: 0.9094 MB / 372.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0438/0.2492, allocations: 23.14 MB / 395.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2511, allocations: 2.064 MB / 397.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.2513, allocations: 131.2 kB / 398 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.2522, allocations: 1.15 MB / 399.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.2527, allocations: 471.9 kB / 399.6 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.2527, allocations: 60 kB / 399.7 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02669/0.2794, allocations: 18.17 MB / 417.9 MB, free: 5.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.2796, allocations: 143.5 kB / 418 MB, free: 5.199 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.2801, allocations: 275.6 kB / 418.3 MB, free: 4.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1496/0.4298, allocations: 7.263 MB / 425.5 MB, free: 66.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.4298, allocations: 0 / 425.5 MB, free: 66.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4298, allocations: 1.781 kB / 425.5 MB, free: 66.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.4298, allocations: 0 / 425.5 MB, free: 66.46 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.005083/0.4349, allocations: 2.729 MB / 428.3 MB, free: 65.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4349, allocations: 9.281 kB / 428.3 MB, free: 65.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.4353, allocations: 129.5 kB / 428.4 MB, free: 65.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.4357, allocations: 294.7 kB / 428.7 MB, free: 65.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4357, allocations: 39.28 kB / 428.7 MB, free: 65.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.4358, allocations: 51.39 kB / 428.8 MB, free: 65.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.4366, allocations: 0.7454 MB / 429.5 MB, free: 64.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4366, allocations: 7.641 kB / 429.5 MB, free: 64.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.4366, allocations: 21.03 kB / 429.6 MB, free: 64.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.4367, allocations: 26.52 kB / 429.6 MB, free: 64.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.4372, allocations: 337.3 kB / 429.9 MB, free: 64.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.4387, allocations: 1.676 MB / 431.6 MB, free: 63.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.4393, allocations: 432.2 kB / 432 MB, free: 63.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.4394, allocations: 136.2 kB / 432.1 MB, free: 63.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07619/0.5156, allocations: 70.95 MB / 0.4913 GB, free: 29.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.5156, allocations: 42.38 kB / 0.4913 GB, free: 29.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=113): time 3.436e-06/0.5156, allocations: 0 / 0.4913 GB, free: 29.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.004572/0.5202, allocations: 2.358 MB / 0.4936 GB, free: 27.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.5202, allocations: 59.91 kB / 0.4937 GB, free: 27.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.5204, allocations: 266.3 kB / 0.494 GB, free: 26.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.5204, allocations: 40.39 kB / 0.494 GB, free: 26.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.5204, allocations: 220.1 kB / 0.4942 GB, free: 26.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5206, allocations: 412.7 kB / 0.4946 GB, free: 26.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.5207, allocations: 170.7 kB / 0.4948 GB, free: 26.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.5207, allocations: 367.8 kB / 0.4951 GB, free: 25.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5209, allocations: 138.5 kB / 0.4952 GB, free: 25.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.521, allocations: 283 kB / 0.4955 GB, free: 25.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.5213, allocations: 0.5267 MB / 0.496 GB, free: 24.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5213, allocations: 7.188 kB / 0.496 GB, free: 24.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0005431/0.5219, allocations: 0.6171 MB / 0.4966 GB, free: 24.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5219, allocations: 12.09 kB / 0.4967 GB, free: 24.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5219, allocations: 0 / 0.4967 GB, free: 24.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.5222, allocations: 161.5 kB / 0.4968 GB, free: 24.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.5236, allocations: 467.1 kB / 0.4973 GB, free: 23.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003983/0.5275, allocations: 9.944 MB / 0.507 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.5277, allocations: 19.75 kB / 0.507 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.5278, allocations: 36.62 kB / 0.507 GB, free: 13.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.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 (77): * Single equations (assignments): 66 * 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.0001295/0.5279, allocations: 155 kB / 0.5072 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.528, allocations: 58.88 kB / 0.5072 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.5303, allocations: 5.136 MB / 0.5122 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001154/0.5315, allocations: 2.541 MB / 0.5147 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5315, allocations: 7.188 kB / 0.5147 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.5326, allocations: 2.751 MB / 0.5174 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.5346, allocations: 3.247 MB / 0.5206 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5346, allocations: 5.156 kB / 0.5206 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.5354, allocations: 313.2 kB / 0.5209 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.5355, allocations: 126.8 kB / 0.521 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.5357, allocations: 76.67 kB / 0.5211 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.5357, allocations: 19.94 kB / 0.5211 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.5373, allocations: 3.519 MB / 0.5245 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5373, allocations: 0 / 0.5245 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.5392, allocations: 2.553 MB / 0.527 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.5392, allocations: 19.98 kB / 0.527 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5394, allocations: 16 kB / 0.5271 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.5394, allocations: 56.89 kB / 0.5271 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.5395, allocations: 17.67 kB / 0.5271 GB, free: 9.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.518e-05/0.5396, allocations: 114.7 kB / 0.5272 GB, free: 9.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5396, allocations: 0 / 0.5272 GB, free: 9.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003524/0.5431, allocations: 1.313 MB / 0.5285 GB, free: 8.18 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: 18 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse9.phase,$cse11.sat.vap.phase,$cse11.sat.liq.phase,$cse13.phase,$cse14.phase,$cse15.phase,$cse17.sat.vap.phase,$cse17.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,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 (83): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003308/0.5464, allocations: 2.248 MB / 0.5307 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.5478, allocations: 1.666 MB / 0.5323 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/0.5478, allocations: 14.81 kB / 0.5324 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.5486, allocations: 1.023 MB / 0.5334 GB, free: 3.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5501, allocations: 1.905 MB / 0.5352 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/0.5596, allocations: 2.535 MB / 0.5377 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.5598, allocations: 316.2 kB / 0.538 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003924/0.5602, allocations: 252.3 kB / 0.5382 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/0.5607, allocations: 371 kB / 0.5386 GB, free: 13.85 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5607, allocations: 0 / 0.5386 GB, free: 13.85 MB / 426.7 MB Notification: Performance of Templates: time 0.171/0.7317, allocations: 54.8 MB / 0.5921 GB, free: 111.1 MB / 442.7 MB " [Timeout remaining time 659] 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: 4.848202813416719]