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.001353/0.001353, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001497/0.001497, allocations: 173 kB / 23.02 MB, free: 1.551 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.9603/0.9603, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.03001/0.03001, allocations: 7.521 MB / 267.5 MB, free: 6.008 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 2.044e-06/2.044e-06, allocations: 4 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.962e-05, allocations: 2.312 kB / 338.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.01444/0.01446, allocations: 21.71 MB / 360.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02454/0.039, allocations: 33.56 MB / 394 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.03946, allocations: 15.88 kB / 394 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.04037, allocations: 461.8 kB / 394.4 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.04163, allocations: 0.8743 MB / 395.3 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02009/0.06172, allocations: 11.23 MB / 406.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002058/0.06378, allocations: 2.013 MB / 408.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.06405, allocations: 131.7 kB / 408.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.06555, allocations: 1.084 MB / 409.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.06618, allocations: 482.6 kB / 410.2 MB, free: 3.137 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.06627, allocations: 60 kB / 410.3 MB, free: 3.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1683/0.2346, allocations: 8.14 MB / 418.4 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.2348, allocations: 182.4 kB / 418.6 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.2354, allocations: 307.3 kB / 418.9 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.2437, allocations: 5.255 MB / 424.2 MB, free: 34.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2437, allocations: 1.438 kB / 424.2 MB, free: 34.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2437, allocations: 0 / 424.2 MB, free: 34.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2437, allocations: 1.406 kB / 424.2 MB, free: 34.19 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.002086/0.2458, allocations: 1.605 MB / 425.8 MB, free: 33.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2458, allocations: 7.188 kB / 425.8 MB, free: 33.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.2463, allocations: 243.2 kB / 426 MB, free: 33.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.2466, allocations: 349.4 kB / 426.4 MB, free: 32.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.2466, allocations: 43.31 kB / 426.4 MB, free: 32.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.2467, allocations: 48.72 kB / 426.5 MB, free: 32.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.2474, allocations: 0.8198 MB / 427.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2474, allocations: 3.594 kB / 427.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2475, allocations: 18.19 kB / 427.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2475, allocations: 24.62 kB / 427.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.248, allocations: 386 kB / 427.7 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.2494, allocations: 2.383 MB / 430.1 MB, free: 31.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.25, allocations: 404.4 kB / 430.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2501, allocations: 186.7 kB / 430.7 MB, free: 31.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02861/0.2787, allocations: 13.8 MB / 444.5 MB, free: 28.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2788, allocations: 44.61 kB / 444.5 MB, free: 28.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=109): time 2.265e-06/0.2788, allocations: 0 / 444.5 MB, free: 28.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.003366/0.2821, allocations: 2.205 MB / 446.7 MB, free: 27.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.2822, allocations: 57.59 kB / 446.8 MB, free: 27.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2823, allocations: 331.2 kB / 447.1 MB, free: 27.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2823, allocations: 35.55 kB / 447.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.2824, allocations: 293.9 kB / 447.4 MB, free: 27.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.2825, allocations: 407.8 kB / 447.8 MB, free: 26.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2827, allocations: 172.7 kB / 448 MB, free: 26.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.2827, allocations: 0.549 MB / 448.5 MB, free: 26.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2829, allocations: 149.5 kB / 448.7 MB, free: 26.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2831, allocations: 352.6 kB / 449 MB, free: 25.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.2835, allocations: 0.5479 MB / 449.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2835, allocations: 3.281 kB / 449.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006378/0.2841, allocations: 0.709 MB / 450.3 MB, free: 24.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2842, allocations: 9.094 kB / 450.3 MB, free: 24.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2842, allocations: 4 kB / 450.3 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.2844, allocations: 96.95 kB / 450.4 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2848, allocations: 197 kB / 450.6 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/0.3089, allocations: 20.02 MB / 470.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.3092, allocations: 29.73 kB / 470.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3093, allocations: 35.42 kB / 470.7 MB, free: 3.949 MB / 330.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.0001508/0.3094, allocations: 202.6 kB / 470.9 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.3095, allocations: 76.69 kB / 470.9 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.3108, allocations: 2.075 MB / 473 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005858/0.3114, allocations: 0.809 MB / 473.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3114, allocations: 3.938 kB / 473.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000593/0.312, allocations: 1.035 MB / 474.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.3135, allocations: 1.757 MB / 476.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.3135, allocations: 0 / 476.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.3138, allocations: 131.6 kB / 476.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.3141, allocations: 171.4 kB / 476.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.3141, allocations: 30.42 kB / 476.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.3159, allocations: 5.105 MB / 482 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3159, allocations: 0 / 482 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.317, allocations: 1.181 MB / 483.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.317, allocations: 59.5 kB / 483.3 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.3171, allocations: 16.81 kB / 483.3 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3172, allocations: 27.5 kB / 483.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3173, allocations: 77.88 kB / 483.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.3174, allocations: 28.61 kB / 483.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3175, allocations: 248.6 kB / 483.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3175, allocations: 0 / 483.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00222/0.3197, allocations: 1.016 MB / 484.7 MB, free: 6.824 MB / 346.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.002077/0.3218, allocations: 1.402 MB / 486.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3232, allocations: 1.252 MB / 487.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3232, allocations: 1.484 kB / 487.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.3238, allocations: 0.7673 MB / 488.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3249, allocations: 0.5168 MB / 488.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3266, allocations: 1.448 MB / 490.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3267, allocations: 180.9 kB / 490.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.327, allocations: 176.6 kB / 490.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.3271, allocations: 62.88 kB / 490.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3271, allocations: 0 / 490.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of Templates: time 0.04267/0.3698, allocations: 47.94 MB / 0.5258 GB, free: 2.148 MB / 394.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: 10.15672657173127]