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.001471/0.001471, 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.001632/0.001632, 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.539/1.539, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.05426/0.05426, allocations: 7.527 MB / 267.1 MB, free: 5.887 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.413e-06/1.413e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.842e-05, allocations: 6.312 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4103/0.4103, allocations: 174.6 MB / 0.5005 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4099/0.8202, allocations: 125.6 MB / 0.6232 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.8211, allocations: 14.56 kB / 0.6232 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.8245, allocations: 1.268 MB / 0.6244 GB, free: 15.24 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.8287, allocations: 1.679 MB / 0.6261 GB, free: 14.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.129/0.9577, allocations: 41.14 MB / 0.6662 GB, free: 10.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003543/0.9613, allocations: 1.967 MB / 0.6682 GB, free: 8.301 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.9618, allocations: 133.2 kB / 0.6683 GB, free: 8.168 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.9653, allocations: 1.14 MB / 0.6694 GB, free: 7.113 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.9666, allocations: 481.6 kB / 0.6699 GB, free: 6.691 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.9667, allocations: 60 kB / 0.6699 GB, free: 6.633 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07746/1.044, allocations: 31.74 MB / 0.7009 GB, free: 8.512 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004527/1.045, allocations: 174.8 kB / 0.7011 GB, free: 8.352 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008836/1.046, allocations: 309.3 kB / 0.7014 GB, free: 8.062 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05643/1.102, allocations: 19.35 MB / 0.7203 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.102, allocations: 3.938 kB / 0.7203 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/1.102, allocations: 0 / 0.7203 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.696e-05/1.102, allocations: 3.984 kB / 0.7203 GB, free: 6.125 MB / 0.4948 GB 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.009751/1.112, allocations: 3.392 MB / 0.7236 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.112, allocations: 8.031 kB / 0.7236 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.113, allocations: 240.7 kB / 0.7238 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/1.114, allocations: 361.1 kB / 0.7242 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/1.114, allocations: 41 kB / 0.7242 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.114, allocations: 52 kB / 0.7243 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/1.116, allocations: 1.043 MB / 0.7253 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/1.116, allocations: 4 kB / 0.7253 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/1.117, allocations: 20 kB / 0.7253 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/1.117, allocations: 22.66 kB / 0.7253 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.119, allocations: 0.7613 MB / 0.7261 GB, free: 68 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/1.123, allocations: 2.218 MB / 0.7282 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/1.126, allocations: 0.6478 MB / 0.7289 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009892/1.126, allocations: 458.3 kB / 0.7293 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5396/1.666, allocations: 58.8 MB / 0.7867 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.666, allocations: 37.81 kB / 0.7868 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 2.665e-06/1.666, allocations: 4 kB / 0.7868 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01024/1.676, allocations: 3.399 MB / 0.7901 GB, free: 76.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/1.676, allocations: 55.53 kB / 0.7901 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/1.677, allocations: 289 kB / 0.7904 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.677, allocations: 41.05 kB / 0.7905 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/1.677, allocations: 239.7 kB / 0.7907 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.677, allocations: 395.2 kB / 0.7911 GB, free: 75.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/1.678, allocations: 133.4 kB / 0.7912 GB, free: 75.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/1.678, allocations: 369.4 kB / 0.7915 GB, free: 75.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/1.678, allocations: 409.6 kB / 0.7919 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/1.679, allocations: 0.5405 MB / 0.7925 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.681, allocations: 1.011 MB / 0.7934 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/1.681, allocations: 0 / 0.7934 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002431/1.683, allocations: 1.179 MB / 0.7946 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.683, allocations: 9.562 kB / 0.7946 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.683, allocations: 3.5 kB / 0.7946 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/1.684, allocations: 113.2 kB / 0.7947 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.685, allocations: 210.3 kB / 0.7949 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.132/1.817, allocations: 34.48 MB / 0.8286 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/1.818, allocations: 40.23 kB / 0.8286 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.818, allocations: 26.38 kB / 0.8287 GB, free: 59.2 MB / 0.5261 GB 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.0004129/1.818, allocations: 228.2 kB / 0.8289 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.818, allocations: 78.11 kB / 0.8289 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/1.821, allocations: 2.432 MB / 0.8313 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/1.822, allocations: 23.44 kB / 0.8313 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.822, allocations: 0 / 0.8313 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002074/1.824, allocations: 1.696 MB / 0.833 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/1.827, allocations: 2.323 MB / 0.8353 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.827, allocations: 0 / 0.8353 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/1.828, allocations: 123.2 kB / 0.8354 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/1.828, allocations: 216.4 kB / 0.8356 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/1.828, allocations: 18.41 kB / 0.8356 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/1.83, allocations: 3.743 MB / 0.8393 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.83, allocations: 0 / 0.8393 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/1.833, allocations: 2.042 MB / 0.8413 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/1.833, allocations: 52.55 kB / 0.8413 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.833, allocations: 15.59 kB / 0.8413 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/1.834, allocations: 45.38 kB / 0.8414 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.834, allocations: 62.89 kB / 0.8414 GB, free: 50 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/1.834, allocations: 19.2 kB / 0.8414 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000242/1.834, allocations: 233.8 kB / 0.8417 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.834, allocations: 0.7656 kB / 0.8417 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007539/1.842, allocations: 3.297 MB / 0.8449 GB, free: 47.36 MB / 0.5261 GB 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 ($cse7.phase,$cse10.phase,$cse11.phase,$cse12.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,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 (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0158/1.858, allocations: 5.009 MB / 0.8498 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0034/1.861, allocations: 1.495 MB / 0.8512 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.861, allocations: 0 / 0.8512 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.862, allocations: 0.7938 MB / 0.852 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.865, allocations: 0.501 MB / 0.8525 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/1.868, allocations: 1.661 MB / 0.8541 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.868, allocations: 337.7 kB / 0.8544 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006914/1.869, allocations: 186.6 kB / 0.8546 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.869, allocations: 50.5 kB / 0.8547 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of SimCode: time 1.452e-06/1.869, allocations: 0 / 0.8547 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.164/2.033, allocations: 106.4 MB / 0.9586 GB, free: 260 kB / 0.5886 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.187734179082327]