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.001764/0.001764, allocations: 88.72 kB / 19.44 MB, free: 356 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.002295/0.002295, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.517/1.517, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.05456/0.05456, allocations: 7.514 MB / 267.1 MB, free: 6.016 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.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 2.384e-06/2.384e-06, allocations: 3.938 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.34e-05, allocations: 6.312 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3096/0.3096, allocations: 113.7 MB / 451.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1348/0.4444, allocations: 97.17 MB / 0.536 GB, free: 7.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.445, allocations: 11.94 kB / 0.536 GB, free: 7.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.4483, allocations: 0.9374 MB / 0.5369 GB, free: 6.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.452, allocations: 1.12 MB / 0.538 GB, free: 5.125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.306/0.758, allocations: 30.85 MB / 0.5681 GB, free: 18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.7601, allocations: 1.401 MB / 0.5695 GB, free: 17.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.7604, allocations: 80.03 kB / 0.5696 GB, free: 17.69 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02262/0.783, allocations: 12.58 MB / 0.5818 GB, free: 17.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009745/0.784, allocations: 336.8 kB / 0.5822 GB, free: 17.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.7841, allocations: 43.25 kB / 0.5822 GB, free: 17.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04641/0.8305, allocations: 23.82 MB / 0.6055 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.8308, allocations: 125.4 kB / 0.6056 GB, free: 14.87 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.8314, allocations: 220.4 kB / 0.6058 GB, free: 14.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04203/0.8735, allocations: 14.5 MB / 0.62 GB, free: 8.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.8735, allocations: 0 / 0.62 GB, free: 8.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.8735, allocations: 4 kB / 0.62 GB, free: 8.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.8735, allocations: 0 / 0.62 GB, free: 8.484 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007553/0.8811, allocations: 2.584 MB / 0.6225 GB, free: 5.977 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.8811, allocations: 12.62 kB / 0.6225 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.8819, allocations: 178 kB / 0.6227 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.8825, allocations: 281.8 kB / 0.6229 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.8826, allocations: 37.78 kB / 0.623 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.8826, allocations: 39.64 kB / 0.623 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.8841, allocations: 0.7535 MB / 0.6237 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.8841, allocations: 3 kB / 0.6238 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.8841, allocations: 11.69 kB / 0.6238 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.8842, allocations: 18.98 kB / 0.6238 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.8855, allocations: 0.5554 MB / 0.6243 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.8877, allocations: 1.647 MB / 0.6259 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.8888, allocations: 489 kB / 0.6264 GB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.8893, allocations: 314.6 kB / 0.6267 GB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2365/1.126, allocations: 44.1 MB / 0.6698 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/1.126, allocations: 39.53 kB / 0.6698 GB, free: 10.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=79): time 2.935e-06/1.126, allocations: 4 kB / 0.6698 GB, free: 10.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.008386/1.134, allocations: 2.275 MB / 0.672 GB, free: 8.398 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/1.134, allocations: 55.41 kB / 0.6721 GB, free: 8.332 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/1.135, allocations: 229 kB / 0.6723 GB, free: 8.133 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/1.135, allocations: 36.45 kB / 0.6723 GB, free: 8.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/1.135, allocations: 190.1 kB / 0.6725 GB, free: 7.934 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006197/1.136, allocations: 278.4 kB / 0.6728 GB, free: 7.695 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.136, allocations: 96.61 kB / 0.6729 GB, free: 7.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/1.136, allocations: 347.5 kB / 0.6732 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/1.137, allocations: 276.5 kB / 0.6735 GB, free: 7.133 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/1.137, allocations: 412.4 kB / 0.6739 GB, free: 6.805 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.139, allocations: 0.7225 MB / 0.6746 GB, free: 6.297 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.139, allocations: 4 kB / 0.6746 GB, free: 6.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001924/1.141, allocations: 0.8228 MB / 0.6754 GB, free: 5.723 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.141, allocations: 10.5 kB / 0.6754 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.141, allocations: 3.984 kB / 0.6754 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/1.141, allocations: 73.3 kB / 0.6755 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/1.142, allocations: 99.53 kB / 0.6756 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07762/1.219, allocations: 16.73 MB / 0.6919 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/1.22, allocations: 27.97 kB / 0.6919 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/1.22, allocations: 28.08 kB / 0.6919 GB, free: 4.438 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 43 * 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.0003602/1.22, allocations: 183 kB / 0.6921 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.22, allocations: 59.66 kB / 0.6922 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/1.223, allocations: 1.591 MB / 0.6937 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-05/1.223, allocations: 11.83 kB / 0.6937 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.223, allocations: 0 / 0.6937 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/1.225, allocations: 1.176 MB / 0.6949 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/1.228, allocations: 1.491 MB / 0.6963 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.228, allocations: 0 / 0.6963 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/1.229, allocations: 80.06 kB / 0.6964 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/1.229, allocations: 52.78 kB / 0.6965 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/1.229, allocations: 11.98 kB / 0.6965 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/1.231, allocations: 1.287 MB / 0.6977 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.231, allocations: 0 / 0.6977 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/1.233, allocations: 1.226 MB / 0.6989 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/1.233, allocations: 43.67 kB / 0.699 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/1.234, allocations: 12.06 kB / 0.699 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/1.234, allocations: 19.98 kB / 0.699 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.234, allocations: 51.84 kB / 0.6991 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/1.234, allocations: 12 kB / 0.6991 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003206/1.234, allocations: 223.1 kB / 0.6993 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/1.234, allocations: 0 / 0.6993 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007704/1.242, allocations: 2.438 MB / 0.7017 GB, free: 10.18 MB / 0.4948 GB 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: 9 ($cse5.phase,$cse6.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (40): * Single equations (assignments): 35 * 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.01392/1.256, allocations: 3.739 MB / 0.7053 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.258, allocations: 0.9035 MB / 0.7062 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.258, allocations: 0 / 0.7062 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.26, allocations: 478.8 kB / 0.7067 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.262, allocations: 379.8 kB / 0.707 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.264, allocations: 1.094 MB / 0.7081 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.265, allocations: 250.3 kB / 0.7083 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005679/1.265, allocations: 160.2 kB / 0.7085 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/1.265, allocations: 44.5 kB / 0.7085 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/1.265, allocations: 2.812 kB / 0.7085 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of Templates: time 0.2707/1.536, allocations: 77.9 MB / 0.7846 GB, free: 243.1 MB / 0.5261 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.823108652955852]