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.000601/0.000601, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008327/0.001434, allocations: 440 kB / 10.41 MB, free: 284 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.0006451/0.0006451, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008433/0.001488, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9485/0.9485, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08392/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.04576/0.04576, allocations: 11.73 MB / 255.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004697/0.05046, allocations: 3.088 MB / 259 MB, free: 0.6836 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.473e-06/1.473e-06, allocations: 0 / 260.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.313e-05, allocations: 2.312 kB / 260.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.1652/0.1652, allocations: 62.05 MB / 322.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03352/0.1988, allocations: 48.82 MB / 371.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.1991, allocations: 15.94 kB / 371.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.2004, allocations: 482.5 kB / 371.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007847/0.2012, allocations: 0.6725 MB / 372.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0415/0.2427, allocations: 23.95 MB / 396.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.2442, allocations: 1.519 MB / 397.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2444, allocations: 89.75 kB / 397.9 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.2453, allocations: 0.873 MB / 398.8 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.2457, allocations: 331 kB / 399.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.2457, allocations: 43.94 kB / 399.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0277/0.2734, allocations: 18.87 MB / 418 MB, free: 5.215 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.2736, allocations: 107.7 kB / 418.1 MB, free: 5.109 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.2738, allocations: 195.7 kB / 418.3 MB, free: 4.918 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1535/0.4273, allocations: 7.105 MB / 425.4 MB, free: 67.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.17e-05/0.4273, allocations: 0.5938 kB / 425.4 MB, free: 67.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4273, allocations: 0 / 425.4 MB, free: 67.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.4274, allocations: 1.891 kB / 425.4 MB, free: 67.8 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.005752/0.4331, allocations: 2.503 MB / 427.9 MB, free: 66.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4332, allocations: 11.72 kB / 427.9 MB, free: 66.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.4335, allocations: 90.23 kB / 428 MB, free: 66.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.4339, allocations: 244.2 kB / 428.2 MB, free: 66.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.4339, allocations: 28.78 kB / 428.3 MB, free: 66.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.434, allocations: 39.53 kB / 428.3 MB, free: 66.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.4348, allocations: 0.5552 MB / 428.9 MB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4348, allocations: 0.75 kB / 428.9 MB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.4348, allocations: 18.56 kB / 428.9 MB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.4348, allocations: 16.55 kB / 428.9 MB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.4354, allocations: 247.9 kB / 429.1 MB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02893/0.4643, allocations: 24.91 MB / 454 MB, free: 64.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.4647, allocations: 283.5 kB / 454.3 MB, free: 64.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.4648, allocations: 86.95 kB / 454.4 MB, free: 64.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1062/0.571, allocations: 70.94 MB / 0.513 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.571, allocations: 41 kB / 0.5131 GB, free: 9.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 1.964e-06/0.571, allocations: 4 kB / 0.5131 GB, free: 9.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003738/0.5747, allocations: 1.49 MB / 0.5145 GB, free: 7.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.5748, allocations: 62.41 kB / 0.5146 GB, free: 7.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5749, allocations: 216.5 kB / 0.5148 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5749, allocations: 29.7 kB / 0.5148 GB, free: 7.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.575, allocations: 179.6 kB / 0.515 GB, free: 7.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5751, allocations: 285.4 kB / 0.5153 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.5752, allocations: 114 kB / 0.5154 GB, free: 6.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.5753, allocations: 362.6 kB / 0.5157 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5754, allocations: 91.58 kB / 0.5158 GB, free: 6.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5755, allocations: 213.6 kB / 0.516 GB, free: 6.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.5758, allocations: 386.2 kB / 0.5164 GB, free: 5.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5758, allocations: 0 / 0.5164 GB, free: 5.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005064/0.5764, allocations: 436 kB / 0.5168 GB, free: 5.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5764, allocations: 8 kB / 0.5168 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5764, allocations: 4 kB / 0.5168 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.5766, allocations: 88.12 kB / 0.5169 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.5769, allocations: 115.9 kB / 0.517 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.5795, allocations: 4.391 MB / 0.5213 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.5797, allocations: 12 kB / 0.5213 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.5797, allocations: 23.98 kB / 0.5213 GB, free: 0.7656 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 0.0001141/0.5798, allocations: 151.6 kB / 0.5215 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.5799, allocations: 39 kB / 0.5215 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.5822, allocations: 3.141 MB / 0.5246 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001132/0.5833, allocations: 1.351 MB / 0.5259 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.5833, allocations: 0 / 0.5259 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.5845, allocations: 1.653 MB / 0.5275 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.5862, allocations: 1.892 MB / 0.5294 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5862, allocations: 11.97 kB / 0.5294 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5864, allocations: 110.5 kB / 0.5295 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.5864, allocations: 75.95 kB / 0.5295 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.5865, allocations: 40.77 kB / 0.5296 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.5866, allocations: 12 kB / 0.5296 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005595/0.5871, allocations: 1.178 MB / 0.5307 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5871, allocations: 0 / 0.5307 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5886, allocations: 1.452 MB / 0.5322 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.5887, allocations: 15.95 kB / 0.5322 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.5889, allocations: 16.16 kB / 0.5322 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.589, allocations: 44.36 kB / 0.5322 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.589, allocations: 11.98 kB / 0.5322 GB, free: 5.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.5891, allocations: 100.4 kB / 0.5323 GB, free: 5.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5891, allocations: 0 / 0.5323 GB, free: 5.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004217/0.5933, allocations: 1.253 MB / 0.5336 GB, free: 4.566 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.004327/0.5976, allocations: 2.223 MB / 0.5357 GB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.5985, allocations: 0.959 MB / 0.5367 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.5985, allocations: 9.344 kB / 0.5367 GB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.5989, allocations: 0.5872 MB / 0.5373 GB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6001, allocations: 1.532 MB / 0.5388 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/0.6069, allocations: 1.549 MB / 0.5403 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.607, allocations: 202 kB / 0.5405 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.6073, allocations: 176 kB / 0.5406 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.6077, allocations: 276.2 kB / 0.5409 GB, free: 13.07 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6077, allocations: 0 / 0.5409 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Templates: time 0.1584/0.7661, allocations: 44.57 MB / 0.5844 GB, free: 118.1 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.368431435897946]