Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.0006862/0.0006862, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001725, 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.0007289/0.0007289, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001787, 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.9941/0.9941, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.04504/0.04504, allocations: 11.73 MB / 255.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006086/0.05112, allocations: 3.088 MB / 259 MB, free: 0.707 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.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.02e-05, allocations: 5.547 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.186/0.186, allocations: 62.03 MB / 322.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03401/0.22, allocations: 48.78 MB / 371.1 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.2203, allocations: 7.938 kB / 371.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.2212, allocations: 478.5 kB / 371.6 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.222, allocations: 0.6686 MB / 372.3 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04737/0.2694, allocations: 24.05 MB / 396.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2708, allocations: 1.499 MB / 397.8 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.271, allocations: 93.69 kB / 397.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/0.2771, allocations: 7.091 MB / 405 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.2774, allocations: 327 kB / 405.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.2775, allocations: 44 kB / 405.4 MB, free: 1.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1852/0.4627, allocations: 18.44 MB / 423.8 MB, free: 50.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.4629, allocations: 103.3 kB / 423.9 MB, free: 50.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.4634, allocations: 193.4 kB / 424.1 MB, free: 50.14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02275/0.4862, allocations: 7.125 MB / 431.2 MB, free: 50.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.4862, allocations: 0 / 431.2 MB, free: 50.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4862, allocations: 0.875 kB / 431.2 MB, free: 50.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.4862, allocations: 0.5312 kB / 431.2 MB, free: 50.07 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.004266/0.4905, allocations: 2.511 MB / 433.7 MB, free: 49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4905, allocations: 9 kB / 433.7 MB, free: 49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.4907, allocations: 95.22 kB / 433.8 MB, free: 48.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.491, allocations: 239.5 kB / 434.1 MB, free: 48.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4911, allocations: 28.91 kB / 434.1 MB, free: 48.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.4911, allocations: 36.5 kB / 434.1 MB, free: 48.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.4916, allocations: 0.5603 MB / 434.7 MB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4916, allocations: 0 / 434.7 MB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4916, allocations: 19 kB / 434.7 MB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4917, allocations: 16.5 kB / 434.7 MB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.492, allocations: 249.9 kB / 435 MB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009899/0.493, allocations: 1.259 MB / 436.2 MB, free: 47.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.4934, allocations: 302.5 kB / 436.5 MB, free: 47.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.4934, allocations: 94.58 kB / 436.6 MB, free: 47.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07616/0.5696, allocations: 70.95 MB / 0.4957 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5696, allocations: 36.19 kB / 0.4957 GB, free: 11.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.926e-06/0.5696, allocations: 0 / 0.4957 GB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.003076/0.5727, allocations: 1.501 MB / 0.4972 GB, free: 10.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.5727, allocations: 63.73 kB / 0.4972 GB, free: 10.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5729, allocations: 220.4 kB / 0.4974 GB, free: 9.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5729, allocations: 33.33 kB / 0.4975 GB, free: 9.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.573, allocations: 190.3 kB / 0.4977 GB, free: 9.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.5731, allocations: 281.1 kB / 0.4979 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.5731, allocations: 113.6 kB / 0.498 GB, free: 9.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.5732, allocations: 360.3 kB / 0.4984 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.5733, allocations: 91.42 kB / 0.4985 GB, free: 9.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5734, allocations: 209.5 kB / 0.4987 GB, free: 8.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.5737, allocations: 369.7 kB / 0.499 GB, free: 8.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5737, allocations: 8 kB / 0.499 GB, free: 8.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004109/0.5741, allocations: 431.4 kB / 0.4994 GB, free: 8.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5741, allocations: 8.781 kB / 0.4994 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5741, allocations: 4.406 kB / 0.4994 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.5743, allocations: 91.86 kB / 0.4995 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.5753, allocations: 333.3 kB / 0.4998 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.578, allocations: 6.13 MB / 0.5058 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.5781, allocations: 11.62 kB / 0.5058 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.5781, allocations: 19.73 kB / 0.5059 GB, free: 1.465 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {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): 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.000112/0.5782, allocations: 156.8 kB / 0.506 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.5783, allocations: 35.84 kB / 0.506 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.5802, allocations: 3.187 MB / 0.5092 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009189/0.5811, allocations: 1.389 MB / 0.5105 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5811, allocations: 0 / 0.5105 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.5824, allocations: 1.697 MB / 0.5122 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.584, allocations: 1.933 MB / 0.5141 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.584, allocations: 0 / 0.5141 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/0.5848, allocations: 266.1 kB / 0.5143 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.5849, allocations: 79.28 kB / 0.5144 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.585, allocations: 34.94 kB / 0.5144 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.585, allocations: 19.48 kB / 0.5144 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/0.5859, allocations: 2.341 MB / 0.5167 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5859, allocations: 0 / 0.5167 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.587, allocations: 1.463 MB / 0.5182 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.587, allocations: 15.81 kB / 0.5182 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5872, allocations: 15.59 kB / 0.5182 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.5872, allocations: 43.05 kB / 0.5182 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.5872, allocations: 15.48 kB / 0.5182 GB, free: 5.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.5873, allocations: 90.39 kB / 0.5183 GB, free: 5.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5873, allocations: 0 / 0.5183 GB, free: 5.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003795/0.5911, allocations: 1.246 MB / 0.5195 GB, free: 4.277 MB / 410.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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003613/0.5947, allocations: 2.242 MB / 0.5217 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008317/0.5955, allocations: 0.9539 MB / 0.5227 GB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.5956, allocations: 15.16 kB / 0.5227 GB, free: 1.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.596, allocations: 0.6063 MB / 0.5233 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5972, allocations: 1.488 MB / 0.5247 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.604, allocations: 1.57 MB / 0.5263 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.6041, allocations: 206.2 kB / 0.5265 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.6045, allocations: 184.8 kB / 0.5266 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.6049, allocations: 280 kB / 0.5269 GB, free: 13.05 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6049, allocations: 0 / 0.5269 GB, free: 13.05 MB / 426.7 MB Notification: Performance of Templates: time 0.04366/0.6485, allocations: 44.87 MB / 0.5707 GB, free: 1.418 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.53200975432992]