Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.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.0008819/0.0008819, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.0009153/0.0009153, allocations: 169 kB / 24.23 MB, free: 244 kB / 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.8684/0.8684, allocations: 177.2 MB / 204.7 MB, free: 5.43 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.04412/0.04412, allocations: 11.41 MB / 272.6 MB, free: 2.164 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.PropyleneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 291.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.746e-05, allocations: 3.016 kB / 291.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel): time 0.04307/0.04309, allocations: 62.09 MB / 353.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0326/0.07569, allocations: 47.4 MB / 401.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.07594, allocations: 11.94 kB / 401.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.07687, allocations: 486.2 kB / 401.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007416/0.07761, allocations: 0.6686 MB / 402.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03891/0.1165, allocations: 23.54 MB / 426 MB, free: 2.512 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1178, allocations: 1.515 MB / 427.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.118, allocations: 83.52 kB / 427.5 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005256/0.1232, allocations: 6.036 MB / 433.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.1235, allocations: 339 kB / 433.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.1236, allocations: 44 kB / 434 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1672/0.2908, allocations: 17.57 MB / 451.5 MB, free: 48.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.2909, allocations: 133.4 kB / 451.7 MB, free: 48.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.2914, allocations: 227.7 kB / 451.9 MB, free: 48.28 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.3044, allocations: 8.118 MB / 460 MB, free: 48.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3044, allocations: 0 / 460 MB, free: 48.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3044, allocations: 2.156 kB / 460 MB, free: 48.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3044, allocations: 2.406 kB / 460 MB, free: 48.17 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001358/0.3058, allocations: 1.688 MB / 461.7 MB, free: 47.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3058, allocations: 7.406 kB / 461.7 MB, free: 47.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.306, allocations: 95.84 kB / 461.8 MB, free: 47.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3062, allocations: 227.9 kB / 462 MB, free: 47.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.3062, allocations: 30.69 kB / 462 MB, free: 47.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.3062, allocations: 37.14 kB / 462.1 MB, free: 47.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.3067, allocations: 0.5545 MB / 462.6 MB, free: 46.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3067, allocations: 0 / 462.6 MB, free: 46.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3067, allocations: 11.09 kB / 462.6 MB, free: 46.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3067, allocations: 17.5 kB / 462.7 MB, free: 46.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.307, allocations: 212.9 kB / 462.9 MB, free: 46.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.3078, allocations: 1.26 MB / 464.1 MB, free: 46.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.3081, allocations: 267.1 kB / 464.4 MB, free: 45.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.3082, allocations: 85.41 kB / 464.5 MB, free: 45.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0511/0.3593, allocations: 51.87 MB / 0.5042 GB, free: 22.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3593, allocations: 39.88 kB / 0.5043 GB, free: 22.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.414e-06/0.3594, allocations: 0 / 0.5043 GB, free: 22.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.002443/0.3618, allocations: 1.432 MB / 0.5057 GB, free: 21.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.3618, allocations: 55.41 kB / 0.5057 GB, free: 21.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.3619, allocations: 216.8 kB / 0.5059 GB, free: 20.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3619, allocations: 33.64 kB / 0.506 GB, free: 20.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.362, allocations: 185.5 kB / 0.5061 GB, free: 20.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.362, allocations: 274.8 kB / 0.5064 GB, free: 20.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.3621, allocations: 101.5 kB / 0.5065 GB, free: 20.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.3621, allocations: 353.1 kB / 0.5068 GB, free: 20.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.3622, allocations: 88.05 kB / 0.5069 GB, free: 19.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.3623, allocations: 195.1 kB / 0.5071 GB, free: 19.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3625, allocations: 340 kB / 0.5074 GB, free: 19.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3625, allocations: 0 / 0.5074 GB, free: 19.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0003249/0.3628, allocations: 406.5 kB / 0.5078 GB, free: 19.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3628, allocations: 9.109 kB / 0.5078 GB, free: 19.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3628, allocations: 6.688 kB / 0.5078 GB, free: 19.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.363, allocations: 67.47 kB / 0.5079 GB, free: 19.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.3637, allocations: 258 kB / 0.5082 GB, free: 18.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3659, allocations: 5.504 MB / 0.5135 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.366, allocations: 26.98 kB / 0.5136 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.366, allocations: 15.23 kB / 0.5136 GB, free: 13.26 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/0.3661, allocations: 142.3 kB / 0.5137 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.3662, allocations: 35.72 kB / 0.5137 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.3674, allocations: 3.04 MB / 0.5167 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006118/0.3681, allocations: 1.358 MB / 0.518 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.3681, allocations: 1.094 kB / 0.518 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006134/0.3687, allocations: 1.664 MB / 0.5197 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3698, allocations: 1.932 MB / 0.5215 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3698, allocations: 0 / 0.5215 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.3702, allocations: 184.4 kB / 0.5217 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-05/0.3703, allocations: 43.58 kB / 0.5218 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3703, allocations: 12.05 kB / 0.5218 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003737/0.3707, allocations: 1.757 MB / 0.5235 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3707, allocations: 0 / 0.5235 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.3715, allocations: 1.447 MB / 0.5249 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3715, allocations: 71.48 kB / 0.525 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3715, allocations: 15.81 kB / 0.525 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3716, allocations: 18.86 kB / 0.525 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.3717, allocations: 59.48 kB / 0.5251 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3717, allocations: 15.86 kB / 0.5251 GB, free: 2.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.729e-05/0.3718, allocations: 89.19 kB / 0.5252 GB, free: 2.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3718, allocations: 0 / 0.5252 GB, free: 2.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001158/0.3729, allocations: 1.028 MB / 0.5262 GB, free: 1.172 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001681/0.3746, allocations: 1.714 MB / 0.5278 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3758, allocations: 1.093 MB / 0.5289 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3758, allocations: 5.422 kB / 0.5289 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.3763, allocations: 0.5754 MB / 0.5295 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.377, allocations: 375.8 kB / 0.5298 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3785, allocations: 1.534 MB / 0.5313 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3786, allocations: 202 kB / 0.5315 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.3788, allocations: 127.9 kB / 0.5316 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.3792, allocations: 260.7 kB / 0.5319 GB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3792, allocations: 0 / 0.5319 GB, free: 11.79 MB / 410.7 MB Notification: Performance of Templates: time 0.03511/0.4143, allocations: 41.08 MB / 0.572 GB, free: 3.855 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.044946189969778]