Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001011/0.001011, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002372, 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.001062/0.001062, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002469, 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.9451/0.9451, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0818/1.027, allocations: 53.66 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.04574/0.04574, allocations: 11.71 MB / 255.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005388/0.05113, allocations: 3.084 MB / 258.8 MB, free: 0.8359 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.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 260.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.367e-05, allocations: 9.062 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.1444/0.1444, allocations: 62.01 MB / 322.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03286/0.1772, allocations: 48.84 MB / 370.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1775, allocations: 7.938 kB / 370.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.1783, allocations: 478.5 kB / 371.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007143/0.179, allocations: 0.6764 MB / 372.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03848/0.2175, allocations: 23.92 MB / 396 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2188, allocations: 1.515 MB / 397.5 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.219, allocations: 97.69 kB / 397.6 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007111/0.2197, allocations: 0.869 MB / 398.5 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.22, allocations: 331 kB / 398.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2201, allocations: 44 kB / 398.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02614/0.2462, allocations: 18.8 MB / 417.6 MB, free: 5.625 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2463, allocations: 99.66 kB / 417.7 MB, free: 5.527 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.2467, allocations: 191.7 kB / 417.9 MB, free: 5.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1267/0.3734, allocations: 7.104 MB / 425 MB, free: 71.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.3734, allocations: 4.266 kB / 425 MB, free: 71.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3734, allocations: 0 / 425 MB, free: 71.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3735, allocations: 1.062 kB / 425 MB, free: 71.32 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003346/0.3768, allocations: 2.5 MB / 427.5 MB, free: 70.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3768, allocations: 9.625 kB / 427.5 MB, free: 70.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.3771, allocations: 92.52 kB / 427.6 MB, free: 70.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.3774, allocations: 239.9 kB / 427.9 MB, free: 70.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.3774, allocations: 28.17 kB / 427.9 MB, free: 70.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.3774, allocations: 35.78 kB / 427.9 MB, free: 70.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.378, allocations: 0.5594 MB / 428.5 MB, free: 69.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.378, allocations: 1.828 kB / 428.5 MB, free: 69.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.378, allocations: 23.34 kB / 428.5 MB, free: 69.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3781, allocations: 20.03 kB / 428.5 MB, free: 69.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.3784, allocations: 239.4 kB / 428.8 MB, free: 69.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/0.4063, allocations: 24.88 MB / 453.6 MB, free: 68.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.4067, allocations: 290.5 kB / 453.9 MB, free: 68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.756e-05/0.4067, allocations: 94.03 kB / 454 MB, free: 68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07276/0.4795, allocations: 70.85 MB / 0.5126 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4795, allocations: 42.56 kB / 0.5126 GB, free: 12.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.054e-06/0.4795, allocations: 0 / 0.5126 GB, free: 12.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002688/0.4822, allocations: 1.472 MB / 0.514 GB, free: 10.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.508e-05/0.4822, allocations: 59.39 kB / 0.5141 GB, free: 10.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4823, allocations: 215.8 kB / 0.5143 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4824, allocations: 37.7 kB / 0.5143 GB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.4824, allocations: 179.4 kB / 0.5145 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.4825, allocations: 295.6 kB / 0.5148 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.4825, allocations: 115.6 kB / 0.5149 GB, free: 10.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.4826, allocations: 352.4 kB / 0.5152 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.4827, allocations: 84.3 kB / 0.5153 GB, free: 9.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.4828, allocations: 211.9 kB / 0.5155 GB, free: 9.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.483, allocations: 387.2 kB / 0.5159 GB, free: 8.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.483, allocations: 3.375 kB / 0.5159 GB, free: 8.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003634/0.4833, allocations: 441.9 kB / 0.5163 GB, free: 8.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4834, allocations: 8 kB / 0.5163 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4834, allocations: 4 kB / 0.5163 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.4835, allocations: 90.11 kB / 0.5164 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.4837, allocations: 111.5 kB / 0.5165 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.4857, allocations: 4.375 MB / 0.5208 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.4858, allocations: 15.98 kB / 0.5208 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4859, allocations: 24.03 kB / 0.5208 GB, free: 3.875 MB / 394.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: 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 (51): * Single equations (assignments): 46 * 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 9.937e-05/0.486, allocations: 148.1 kB / 0.521 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.486, allocations: 35.95 kB / 0.521 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.4874, allocations: 3.129 MB / 0.5241 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007027/0.4881, allocations: 1.352 MB / 0.5254 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4881, allocations: 1.875 kB / 0.5254 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/0.4893, allocations: 1.647 MB / 0.527 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.4908, allocations: 1.91 MB / 0.5289 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4908, allocations: 0 / 0.5289 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.491, allocations: 111.4 kB / 0.529 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.4911, allocations: 67.89 kB / 0.529 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.4912, allocations: 52.59 kB / 0.5291 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4912, allocations: 15.97 kB / 0.5291 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004888/0.4917, allocations: 1.187 MB / 0.5303 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4917, allocations: 0 / 0.5303 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4927, allocations: 1.435 MB / 0.5317 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.4927, allocations: 19.05 kB / 0.5317 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.4928, allocations: 12 kB / 0.5317 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.4929, allocations: 36.42 kB / 0.5317 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4929, allocations: 18.61 kB / 0.5317 GB, free: 9.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.493, allocations: 99.3 kB / 0.5318 GB, free: 8.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.493, allocations: 0 / 0.5318 GB, free: 8.945 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00246/0.4954, allocations: 1.249 MB / 0.5331 GB, free: 7.695 MB / 410.7 MB 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: 11 (volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (58): * Single equations (assignments): 53 * 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.003092/0.4985, allocations: 2.23 MB / 0.5352 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000775/0.4993, allocations: 0.947 MB / 0.5362 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.4993, allocations: 8 kB / 0.5362 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.4997, allocations: 0.5491 MB / 0.5367 GB, free: 4.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.5007, allocations: 463.3 kB / 0.5371 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/0.508, allocations: 1.553 MB / 0.5387 GB, free: 2.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.5081, allocations: 209.4 kB / 0.5389 GB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.5084, allocations: 178.4 kB / 0.539 GB, free: 1.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.5088, allocations: 276.3 kB / 0.5393 GB, free: 1.543 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5088, allocations: 0 / 0.5393 GB, free: 1.543 MB / 410.7 MB Notification: Performance of Templates: time 0.1487/0.6575, allocations: 44.51 MB / 0.5828 GB, free: 118.8 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.349260595627129]