Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.0006901/0.0006901, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000899/0.001589, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000687/0.000687, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008636/0.001551, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9531/0.9531, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08288/1.036, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04459/0.04459, allocations: 11.7 MB / 255.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005016/0.0496, allocations: 3.087 MB / 258.8 MB, free: 0.8242 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.679e-05, allocations: 2.312 kB / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.1735/0.1735, allocations: 63.37 MB / 323.4 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03424/0.2077, allocations: 49.22 MB / 372.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.208, allocations: 15.88 kB / 372.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.2088, allocations: 0.5177 MB / 373.2 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000923/0.2097, allocations: 0.929 MB / 374.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03744/0.2472, allocations: 23.97 MB / 398.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.2488, allocations: 2.11 MB / 400.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.249, allocations: 151 kB / 400.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008801/0.2499, allocations: 1.162 MB / 401.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.2503, allocations: 479.8 kB / 402 MB, free: 5.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.2504, allocations: 60 kB / 402 MB, free: 5.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02596/0.2763, allocations: 18.68 MB / 420.7 MB, free: 2.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.2765, allocations: 147.5 kB / 420.9 MB, free: 2.355 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.277, allocations: 267.6 kB / 421.1 MB, free: 2.094 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1401/0.4171, allocations: 7.258 MB / 428.4 MB, free: 46.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.4171, allocations: 0 / 428.4 MB, free: 46.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4171, allocations: 0.5625 kB / 428.4 MB, free: 46.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.4171, allocations: 1.594 kB / 428.4 MB, free: 46.39 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.004393/0.4215, allocations: 2.736 MB / 431.1 MB, free: 45.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.4215, allocations: 8.906 kB / 431.1 MB, free: 45.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.4218, allocations: 130.5 kB / 431.3 MB, free: 45.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.4222, allocations: 280.6 kB / 431.5 MB, free: 45.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.4222, allocations: 40.44 kB / 431.6 MB, free: 45.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.4223, allocations: 59.98 kB / 431.6 MB, free: 45.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.4231, allocations: 0.7435 MB / 432.4 MB, free: 44.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4231, allocations: 1.906 kB / 432.4 MB, free: 44.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.4231, allocations: 28.28 kB / 432.4 MB, free: 44.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.4231, allocations: 23.06 kB / 432.4 MB, free: 44.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.4239, allocations: 345.5 kB / 432.8 MB, free: 44.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.4254, allocations: 1.676 MB / 434.5 MB, free: 43.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.426, allocations: 429.2 kB / 434.9 MB, free: 43.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4262, allocations: 138.2 kB / 435 MB, free: 43.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07413/0.5003, allocations: 70.86 MB / 0.494 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.5003, allocations: 34.81 kB / 0.494 GB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=113): time 3.036e-06/0.5003, allocations: 8 kB / 0.494 GB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.0043/0.5046, allocations: 2.34 MB / 0.4963 GB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.5047, allocations: 59.91 kB / 0.4964 GB, free: 9.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5048, allocations: 257.1 kB / 0.4966 GB, free: 9.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5048, allocations: 37.2 kB / 0.4967 GB, free: 9.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.5049, allocations: 226.4 kB / 0.4969 GB, free: 8.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.505, allocations: 414.2 kB / 0.4973 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5051, allocations: 169 kB / 0.4974 GB, free: 8.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.5051, allocations: 376.7 kB / 0.4978 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.5053, allocations: 136.5 kB / 0.4979 GB, free: 7.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.5054, allocations: 290.7 kB / 0.4982 GB, free: 7.695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.5057, allocations: 0.5067 MB / 0.4987 GB, free: 7.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5057, allocations: 0 / 0.4987 GB, free: 7.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0005317/0.5062, allocations: 0.6158 MB / 0.4993 GB, free: 6.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5063, allocations: 4.5 kB / 0.4993 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5063, allocations: 6.438 kB / 0.4993 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003066/0.5066, allocations: 163.6 kB / 0.4995 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.5078, allocations: 469.7 kB / 0.4999 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.5122, allocations: 9.921 MB / 0.5096 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.5124, allocations: 20.97 kB / 0.5096 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.5124, allocations: 34.47 kB / 0.5097 GB, free: 12.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.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 (77): * Single equations (assignments): 66 * 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.0001579/0.5126, allocations: 168.4 kB / 0.5098 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.5127, allocations: 55.77 kB / 0.5099 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.5158, allocations: 5.123 MB / 0.5149 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001581/0.5174, allocations: 2.555 MB / 0.5174 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.5174, allocations: 0 / 0.5174 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001743/0.5191, allocations: 2.747 MB / 0.5201 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.5216, allocations: 3.253 MB / 0.5232 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5216, allocations: 3.984 kB / 0.5232 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.5224, allocations: 308.2 kB / 0.5235 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.5225, allocations: 126 kB / 0.5237 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.5227, allocations: 83.42 kB / 0.5237 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.5227, allocations: 19.55 kB / 0.5238 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.5239, allocations: 3.515 MB / 0.5272 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.524, allocations: 0.6562 kB / 0.5272 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.5258, allocations: 2.528 MB / 0.5297 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.5258, allocations: 15.81 kB / 0.5297 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.526, allocations: 21 kB / 0.5297 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.526, allocations: 58.19 kB / 0.5297 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.5261, allocations: 22.48 kB / 0.5298 GB, free: 8.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.5261, allocations: 115.9 kB / 0.5299 GB, free: 8.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5261, allocations: 0 / 0.5299 GB, free: 8.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003367/0.5295, allocations: 1.308 MB / 0.5312 GB, free: 7.281 MB / 426.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: 18 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse9.phase,$cse11.sat.vap.phase,$cse11.sat.liq.phase,$cse13.phase,$cse14.phase,$cse15.phase,$cse17.sat.vap.phase,$cse17.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,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 (83): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 2 systems {(1,1,100.0%), (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.002987/0.5325, allocations: 2.243 MB / 0.5333 GB, free: 5.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.5338, allocations: 1.664 MB / 0.535 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.5338, allocations: 8 kB / 0.535 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.5346, allocations: 0.9763 MB / 0.5359 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5357, allocations: 0.6014 MB / 0.5365 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/0.5451, allocations: 2.546 MB / 0.539 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.5453, allocations: 312.1 kB / 0.5393 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.5458, allocations: 245.5 kB / 0.5395 GB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.5464, allocations: 369.2 kB / 0.5399 GB, free: 15.02 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5464, allocations: 0 / 0.5399 GB, free: 15.02 MB / 442.7 MB Notification: Performance of Templates: time 0.1678/0.7141, allocations: 54.43 MB / 0.593 GB, free: 133.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.712200535461307]