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.001139/0.001139, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001348/0.001348, allocations: 181 kB / 23.36 MB, free: 1.133 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.9154/0.9154, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.04064/0.04064, allocations: 7.522 MB / 267.8 MB, free: 5.867 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.162e-06/1.162e-06, allocations: 0 / 285.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.236e-05, allocations: 6.25 kB / 285.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.1089/0.1089, allocations: 21.6 MB / 307.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02115/0.13, allocations: 33.54 MB / 341 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.1303, allocations: 15.88 kB / 341.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007986/0.1311, allocations: 473.8 kB / 341.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009569/0.132, allocations: 0.8743 MB / 342.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.1491, allocations: 11.31 MB / 353.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1506, allocations: 2.006 MB / 355.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1508, allocations: 143.5 kB / 355.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009643/0.1518, allocations: 1.087 MB / 356.9 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.1522, allocations: 455.2 kB / 357.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.1523, allocations: 60 kB / 357.4 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009044/0.1613, allocations: 8.088 MB / 365.5 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1615, allocations: 191.3 kB / 365.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1617, allocations: 299.5 kB / 366 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00593/0.1676, allocations: 5.252 MB / 371.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1676, allocations: 0 / 371.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1676, allocations: 4 kB / 371.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1677, allocations: 3.938 kB / 371.3 MB, free: 11.62 MB / 330.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.001717/0.1694, allocations: 1.461 MB / 372.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.1694, allocations: 8.031 kB / 372.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.1699, allocations: 222.9 kB / 372.9 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1701, allocations: 279.6 kB / 373.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.1704, allocations: 49.75 kB / 373.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.1705, allocations: 48 kB / 373.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.1712, allocations: 0.7732 MB / 374.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1712, allocations: 0 / 374.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1712, allocations: 24 kB / 374.1 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1712, allocations: 19.98 kB / 374.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.1717, allocations: 326.4 kB / 374.5 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1731, allocations: 1.691 MB / 376.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.1736, allocations: 405.5 kB / 376.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1737, allocations: 139.3 kB / 376.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08638/0.2601, allocations: 42.31 MB / 419 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2601, allocations: 39.06 kB / 419 MB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=109): time 2.985e-06/0.2601, allocations: 0 / 419 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003283/0.2634, allocations: 1.95 MB / 421 MB, free: 9.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.2634, allocations: 55.91 kB / 421 MB, free: 9.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.2636, allocations: 258.9 kB / 421.3 MB, free: 9.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2636, allocations: 41.64 kB / 421.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.2637, allocations: 221.9 kB / 421.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2638, allocations: 400.4 kB / 421.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.264, allocations: 146.2 kB / 422.1 MB, free: 8.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.264, allocations: 370.6 kB / 422.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2642, allocations: 116.7 kB / 422.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2643, allocations: 252.6 kB / 422.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.2647, allocations: 447.9 kB / 423.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2647, allocations: 0.9375 kB / 423.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0005064/0.2652, allocations: 0.5248 MB / 423.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2652, allocations: 8.469 kB / 423.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2652, allocations: 12.72 kB / 423.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.2654, allocations: 78.5 kB / 423.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.2658, allocations: 195.7 kB / 424 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/0.4069, allocations: 16.49 MB / 440.5 MB, free: 87.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.4072, allocations: 32.53 kB / 440.6 MB, free: 87.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.4073, allocations: 15.69 kB / 440.6 MB, free: 87.67 MB / 378.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.0001922/0.4075, allocations: 155 kB / 440.7 MB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.4076, allocations: 52.61 kB / 440.8 MB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.4089, allocations: 1.663 MB / 442.4 MB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006121/0.4096, allocations: 0.6185 MB / 443.1 MB, free: 87.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4096, allocations: 0 / 443.1 MB, free: 87.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005985/0.4102, allocations: 0.8387 MB / 443.9 MB, free: 86.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.4116, allocations: 1.336 MB / 445.2 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4116, allocations: 0 / 445.2 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.4119, allocations: 133.8 kB / 445.4 MB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.4122, allocations: 159.3 kB / 445.5 MB, free: 86.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.4122, allocations: 14.41 kB / 445.5 MB, free: 86.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009966/0.4132, allocations: 3.426 MB / 449 MB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4132, allocations: 3.969 kB / 449 MB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.414, allocations: 0.9323 MB / 449.9 MB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.4141, allocations: 54.91 kB / 450 MB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.4141, allocations: 16.75 kB / 450 MB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.4144, allocations: 25.45 kB / 450 MB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4145, allocations: 80.66 kB / 450.1 MB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.4145, allocations: 22.88 kB / 450.1 MB, free: 82.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.4146, allocations: 107.3 kB / 450.2 MB, free: 82.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4146, allocations: 3.656 kB / 450.2 MB, free: 82.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001832/0.4164, allocations: 1.014 MB / 451.2 MB, free: 82.74 MB / 378.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.002255/0.4187, allocations: 1.466 MB / 452.7 MB, free: 82.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.42, allocations: 0.9539 MB / 453.6 MB, free: 82.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.42, allocations: 3.969 kB / 453.6 MB, free: 82.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.4206, allocations: 0.5928 MB / 454.2 MB, free: 81.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.4219, allocations: 0.5189 MB / 454.8 MB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4236, allocations: 1.375 MB / 456.1 MB, free: 81.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4237, allocations: 176.9 kB / 456.3 MB, free: 81.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.4241, allocations: 173 kB / 456.5 MB, free: 81.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/0.4247, allocations: 335.2 kB / 456.8 MB, free: 81.07 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4247, allocations: 0 / 456.8 MB, free: 81.07 MB / 378.7 MB Notification: Performance of Templates: time 0.04049/0.4652, allocations: 47.11 MB / 0.4921 GB, free: 39.35 MB / 378.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: 8.504839490633458]