Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.00109/0.00109, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002048/0.003138, 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.001174/0.001174, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002154/0.003328, allocations: 475.6 kB / 11.8 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.9606/0.9606, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08595/1.047, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.04604/0.04604, allocations: 11.73 MB / 255.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005653/0.05169, allocations: 3.092 MB / 259 MB, free: 0.6992 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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.382e-05, allocations: 2.312 kB / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.1745/0.1745, allocations: 61.74 MB / 322.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03366/0.2082, allocations: 48.2 MB / 370.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.2085, allocations: 11.94 kB / 370.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.2094, allocations: 446.6 kB / 370.7 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000861/0.2102, allocations: 0.6334 MB / 371.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04829/0.2585, allocations: 23.17 MB / 394.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.2602, allocations: 1.417 MB / 395.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2604, allocations: 97.67 kB / 396 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.2643, allocations: 3.466 MB / 399.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.2647, allocations: 323.5 kB / 399.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.2647, allocations: 44 kB / 399.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02965/0.2944, allocations: 17.95 MB / 417.8 MB, free: 5.465 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.2947, allocations: 107.7 kB / 417.9 MB, free: 5.359 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.2953, allocations: 195.7 kB / 418.1 MB, free: 5.168 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1561/0.4514, allocations: 7.105 MB / 425.2 MB, free: 71.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.4514, allocations: 0 / 425.2 MB, free: 71.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4514, allocations: 1.219 kB / 425.2 MB, free: 71.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.4514, allocations: 0 / 425.2 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.004096/0.4555, allocations: 2.508 MB / 427.7 MB, free: 70.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4556, allocations: 10.83 kB / 427.7 MB, free: 70.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.4559, allocations: 93.22 kB / 427.8 MB, free: 70.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.4562, allocations: 244.8 kB / 428 MB, free: 70.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4562, allocations: 26.5 kB / 428.1 MB, free: 70.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.4563, allocations: 37.27 kB / 428.1 MB, free: 70.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006569/0.4569, allocations: 0.5563 MB / 428.7 MB, free: 69.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4569, allocations: 0.5156 kB / 428.7 MB, free: 69.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.457, allocations: 18.53 kB / 428.7 MB, free: 69.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.457, allocations: 18.78 kB / 428.7 MB, free: 69.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.4574, allocations: 248.5 kB / 428.9 MB, free: 69.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02913/0.4866, allocations: 24.9 MB / 453.8 MB, free: 68.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.487, allocations: 301.3 kB / 454.1 MB, free: 67.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.4871, allocations: 91.86 kB / 454.2 MB, free: 67.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07321/0.5603, allocations: 70.95 MB / 0.5129 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5603, allocations: 38.56 kB / 0.5129 GB, free: 11.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.134e-06/0.5603, allocations: 0 / 0.5129 GB, free: 11.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.00303/0.5634, allocations: 1.487 MB / 0.5144 GB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.5634, allocations: 55.41 kB / 0.5144 GB, free: 10.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5635, allocations: 231.5 kB / 0.5146 GB, free: 9.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5635, allocations: 33.7 kB / 0.5147 GB, free: 9.863 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.5636, allocations: 180.4 kB / 0.5148 GB, free: 9.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.5636, allocations: 284.9 kB / 0.5151 GB, free: 9.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.5637, allocations: 115.2 kB / 0.5152 GB, free: 9.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.5638, allocations: 367.4 kB / 0.5156 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.5638, allocations: 84.3 kB / 0.5156 GB, free: 8.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.564, allocations: 217 kB / 0.5159 GB, free: 8.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.5642, allocations: 403.8 kB / 0.5162 GB, free: 8.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5642, allocations: 4 kB / 0.5162 GB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004027/0.5646, allocations: 434.5 kB / 0.5167 GB, free: 7.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5646, allocations: 16.02 kB / 0.5167 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5646, allocations: 9.312 kB / 0.5167 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.5648, allocations: 85.66 kB / 0.5168 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.5656, allocations: 259.1 kB / 0.517 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.5678, allocations: 5.553 MB / 0.5224 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.5681, allocations: 12 kB / 0.5224 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.5681, allocations: 23.98 kB / 0.5225 GB, free: 1.766 MB / 394.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: 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): 44 * 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 0.0001339/0.5683, allocations: 157.8 kB / 0.5226 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.5683, allocations: 31.97 kB / 0.5226 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.5702, allocations: 3.111 MB / 0.5257 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008205/0.571, allocations: 1.344 MB / 0.527 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.571, allocations: 5.688 kB / 0.527 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008817/0.5719, allocations: 1.637 MB / 0.5286 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.5735, allocations: 1.903 MB / 0.5305 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5735, allocations: 0 / 0.5305 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.5741, allocations: 194.6 kB / 0.5306 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.5741, allocations: 73.98 kB / 0.5307 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.5743, allocations: 44.64 kB / 0.5308 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5743, allocations: 12 kB / 0.5308 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/0.5752, allocations: 1.756 MB / 0.5325 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5752, allocations: 0 / 0.5325 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5764, allocations: 1.438 MB / 0.5339 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.5764, allocations: 19.89 kB / 0.5339 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.5766, allocations: 16.14 kB / 0.5339 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.5766, allocations: 47.61 kB / 0.534 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.5766, allocations: 12 kB / 0.534 GB, free: 6.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.587e-05/0.5767, allocations: 101.5 kB / 0.5341 GB, free: 6.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.5767, allocations: 0 / 0.5341 GB, free: 6.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003271/0.58, allocations: 1.245 MB / 0.5353 GB, free: 4.934 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004814/0.5848, allocations: 2.241 MB / 0.5375 GB, free: 2.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.5859, allocations: 0.9659 MB / 0.5384 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/0.5859, allocations: 4 kB / 0.5384 GB, free: 1.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.5864, allocations: 0.5621 MB / 0.539 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.5881, allocations: 1.531 MB / 0.5405 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.595, allocations: 1.567 MB / 0.542 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.5951, allocations: 202 kB / 0.5422 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.5955, allocations: 170.5 kB / 0.5424 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.5959, allocations: 281.1 kB / 0.5426 GB, free: 13.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5959, allocations: 3.281 kB / 0.5426 GB, free: 13.42 MB / 426.7 MB Notification: Performance of Templates: time 0.1533/0.7493, allocations: 44.67 MB / 0.5862 GB, free: 118.6 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.44585529435426]