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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 207.6 MB / 231.4 MB, free: 3.172 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05177/0.05177, allocations: 9.151 MB / 292.6 MB, free: 6.074 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 74.39 kB / 409.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3282, allocations: 50.71 MB / 459.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.1953/0.5235, allocations: 128.8 MB / 0.5749 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3978/0.9213, allocations: 110.4 MB / 0.6827 GB, free: 56 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.9219, allocations: 8.188 kB / 0.6827 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.9245, allocations: 1.474 MB / 0.6841 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.9276, allocations: 1.716 MB / 0.6858 GB, free: 15.98 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.08319/1.011, allocations: 30.5 MB / 0.7156 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001966/1.013, allocations: 1.332 MB / 0.7169 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/1.013, allocations: 88.58 kB / 0.717 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01676/1.03, allocations: 8.882 MB / 0.7257 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/1.03, allocations: 380.4 kB / 0.726 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/1.03, allocations: 44 kB / 0.7261 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0705/1.101, allocations: 34.13 MB / 0.7594 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/1.101, allocations: 123.2 kB / 0.7595 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006964/1.102, allocations: 300.9 kB / 0.7598 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05201/1.154, allocations: 14.16 MB / 0.7736 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.154, allocations: 0 / 0.7736 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/1.154, allocations: 0 / 0.7736 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.154, allocations: 0 / 0.7736 GB, free: 11.16 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006945/1.161, allocations: 2.684 MB / 0.7763 GB, free: 8.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.161, allocations: 8.031 kB / 0.7763 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007168/1.162, allocations: 91.62 kB / 0.7764 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/1.162, allocations: 344 kB / 0.7767 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/1.162, allocations: 32.66 kB / 0.7767 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/1.162, allocations: 32.86 kB / 0.7767 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/1.164, allocations: 0.6049 MB / 0.7773 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.164, allocations: 0 / 0.7773 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/1.164, allocations: 20 kB / 0.7774 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/1.164, allocations: 14.81 kB / 0.7774 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.165, allocations: 0.5454 MB / 0.7779 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/1.168, allocations: 2.508 MB / 0.7804 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/1.169, allocations: 479.6 kB / 0.7808 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/1.17, allocations: 306.3 kB / 0.7811 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4593/1.629, allocations: 139 MB / 0.9168 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.629, allocations: 42.75 kB / 0.9169 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/1.629, allocations: 0 / 0.9169 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005402/1.635, allocations: 2.338 MB / 0.9191 GB, free: 203.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/1.635, allocations: 55.41 kB / 0.9192 GB, free: 203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/1.635, allocations: 258.6 kB / 0.9194 GB, free: 202.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.635, allocations: 29.7 kB / 0.9195 GB, free: 202.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/1.635, allocations: 198.9 kB / 0.9197 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.635, allocations: 287 kB / 0.9199 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.635, allocations: 94.11 kB / 0.92 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.018e-05/1.635, allocations: 356.9 kB / 0.9204 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/1.636, allocations: 269.3 kB / 0.9206 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/1.636, allocations: 405.7 kB / 0.921 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/1.637, allocations: 0.7131 MB / 0.9217 GB, free: 200.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.637, allocations: 0 / 0.9217 GB, free: 200.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001229/1.638, allocations: 0.7975 MB / 0.9225 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.638, allocations: 8 kB / 0.9225 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.638, allocations: 4 kB / 0.9225 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/1.639, allocations: 73.27 kB / 0.9226 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/1.639, allocations: 119.9 kB / 0.9227 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06525/1.704, allocations: 19.89 MB / 0.9421 GB, free: 178.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/1.705, allocations: 19.98 kB / 0.9421 GB, free: 178.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/1.705, allocations: 30.55 kB / 0.9422 GB, free: 178.9 MB / 0.6075 GB 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 (48): * Single equations (assignments): 41 * 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.0002505/1.705, allocations: 191 kB / 0.9423 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/1.705, allocations: 43.72 kB / 0.9424 GB, free: 178.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.707, allocations: 1.569 MB / 0.9439 GB, free: 177 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.707, allocations: 15.39 kB / 0.9439 GB, free: 177 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.707, allocations: 4 kB / 0.9439 GB, free: 177 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.708, allocations: 1.172 MB / 0.9451 GB, free: 175.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/1.71, allocations: 1.629 MB / 0.9467 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.71, allocations: 4.031 kB / 0.9467 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.71, allocations: 79.88 kB / 0.9467 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/1.71, allocations: 105.6 kB / 0.9468 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/1.71, allocations: 12 kB / 0.9469 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009173/1.711, allocations: 1.99 MB / 0.9488 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.711, allocations: 0 / 0.9488 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/1.713, allocations: 1.247 MB / 0.95 GB, free: 170.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/1.713, allocations: 118.8 kB / 0.9501 GB, free: 170.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/1.713, allocations: 18.14 kB / 0.9501 GB, free: 170.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/1.713, allocations: 27.97 kB / 0.9502 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/1.713, allocations: 47.88 kB / 0.9502 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/1.713, allocations: 8 kB / 0.9502 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001842/1.714, allocations: 247 kB / 0.9505 GB, free: 169.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/1.714, allocations: 4.062 kB / 0.9505 GB, free: 169.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007883/1.722, allocations: 3.571 MB / 0.954 GB, free: 166.8 MB / 0.6075 GB 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: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01495/1.736, allocations: 4.653 MB / 0.9585 GB, free: 162.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002062/1.739, allocations: 0.9492 MB / 0.9594 GB, free: 161.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.739, allocations: 8.188 kB / 0.9594 GB, free: 161.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/1.739, allocations: 475 kB / 0.9599 GB, free: 161.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.741, allocations: 396.5 kB / 0.9603 GB, free: 160.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/1.743, allocations: 1.177 MB / 0.9614 GB, free: 159.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/1.743, allocations: 0.8564 MB / 0.9622 GB, free: 158.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003656/1.744, allocations: 139.4 kB / 0.9624 GB, free: 158.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/1.744, allocations: 47.42 kB / 0.9624 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.192e-06/1.744, allocations: 3.938 kB / 0.9624 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.126/1.87, allocations: 126.4 MB / 1.086 GB, free: 32.02 MB / 0.6075 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.661416727118194]