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.0009973/0.0009973, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.0009554/0.0009554, allocations: 169 kB / 23.49 MB, free: 1.055 MB / 18.57 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.8994/0.8994, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02993/0.02993, allocations: 7.534 MB / 267.8 MB, free: 6.062 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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.443e-06/1.443e-06, allocations: 0 / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.843e-05, allocations: 2.312 kB / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2149/0.2149, allocations: 129.4 MB / 468.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2377/0.4526, allocations: 111.7 MB / 0.5661 GB, free: 3.293 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.453, allocations: 8.469 kB / 0.5662 GB, free: 3.293 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.4549, allocations: 1.157 MB / 0.5673 GB, free: 3.285 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.4571, allocations: 1.488 MB / 0.5687 GB, free: 3.273 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04613/0.5032, allocations: 30.94 MB / 0.599 GB, free: 15.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.5046, allocations: 1.353 MB / 0.6003 GB, free: 15.26 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.5048, allocations: 82.33 kB / 0.6004 GB, free: 15.25 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.008912/0.5137, allocations: 9.123 MB / 0.6093 GB, free: 13.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.514, allocations: 322.6 kB / 0.6096 GB, free: 13.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.514, allocations: 42.31 kB / 0.6096 GB, free: 13.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02988/0.5439, allocations: 24.15 MB / 0.6332 GB, free: 6.566 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.5441, allocations: 126.6 kB / 0.6333 GB, free: 6.496 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.5444, allocations: 221.2 kB / 0.6335 GB, free: 6.332 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02275/0.5671, allocations: 14.25 MB / 0.6474 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5671, allocations: 0 / 0.6474 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5671, allocations: 0 / 0.6474 GB, free: 12.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.5671, allocations: 3.938 kB / 0.6474 GB, free: 12.31 MB / 458.7 MB 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.003787/0.5709, allocations: 2.685 MB / 0.6501 GB, free: 9.586 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.571, allocations: 12.62 kB / 0.6501 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.5714, allocations: 174.8 kB / 0.6503 GB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.5717, allocations: 275.4 kB / 0.6505 GB, free: 9.121 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.5718, allocations: 32.59 kB / 0.6505 GB, free: 9.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.5718, allocations: 36 kB / 0.6506 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.5725, allocations: 0.607 MB / 0.6512 GB, free: 8.383 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5726, allocations: 4 kB / 0.6512 GB, free: 8.379 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.5726, allocations: 15.94 kB / 0.6512 GB, free: 8.363 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.5726, allocations: 16.77 kB / 0.6512 GB, free: 8.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.5731, allocations: 284.4 kB / 0.6515 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.5744, allocations: 1.808 MB / 0.6532 GB, free: 6.242 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.575, allocations: 282.9 kB / 0.6535 GB, free: 5.957 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.5751, allocations: 125.2 kB / 0.6536 GB, free: 5.832 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09776/0.6729, allocations: 41.69 MB / 0.6943 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.6729, allocations: 44.3 kB / 0.6944 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.394e-06/0.6729, allocations: 0 / 0.6944 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.00297/0.6759, allocations: 1.477 MB / 0.6958 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.6759, allocations: 59.41 kB / 0.6959 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6761, allocations: 274.6 kB / 0.6961 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.6761, allocations: 37.7 kB / 0.6962 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.6762, allocations: 240.1 kB / 0.6964 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.6764, allocations: 289.6 kB / 0.6967 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6765, allocations: 119.8 kB / 0.6968 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6766, allocations: 0.5391 MB / 0.6973 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.6767, allocations: 93.47 kB / 0.6974 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.677, allocations: 290.3 kB / 0.6977 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.6773, allocations: 424.4 kB / 0.6981 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6773, allocations: 0 / 0.6981 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005847/0.6779, allocations: 0.4974 MB / 0.6986 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6779, allocations: 12.06 kB / 0.6986 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.678, allocations: 4 kB / 0.6986 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.6781, allocations: 59.33 kB / 0.6987 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.6785, allocations: 118 kB / 0.6988 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03444/0.7129, allocations: 18.01 MB / 0.7164 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7131, allocations: 23.98 kB / 0.7164 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.7131, allocations: 16 kB / 0.7164 GB, free: 4.957 MB / 0.5105 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.0002108/0.7133, allocations: 188 kB / 0.7166 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.7134, allocations: 63.02 kB / 0.7166 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.7146, allocations: 1.416 MB / 0.718 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.7146, allocations: 10.48 kB / 0.718 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7146, allocations: 4.938 kB / 0.718 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006624/0.7153, allocations: 0.7756 MB / 0.7188 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.7162, allocations: 1.054 MB / 0.7198 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7162, allocations: 4 kB / 0.7198 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.7164, allocations: 74.89 kB / 0.7199 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.7166, allocations: 94.38 kB / 0.72 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.7166, allocations: 11.98 kB / 0.72 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.7177, allocations: 2.563 MB / 0.7225 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7177, allocations: 0 / 0.7225 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.7184, allocations: 0.7656 MB / 0.7232 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.7184, allocations: 31.77 kB / 0.7233 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.7185, allocations: 19.89 kB / 0.7233 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.7186, allocations: 15.98 kB / 0.7233 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.7187, allocations: 35.92 kB / 0.7233 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.7187, allocations: 24.05 kB / 0.7234 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001382/0.7188, allocations: 231 kB / 0.7236 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-08/0.7188, allocations: 0 / 0.7236 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004277/0.7231, allocations: 2.438 MB / 0.726 GB, free: 10.76 MB / 0.5261 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 ($cse5.phase,$cse6.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.006078/0.7292, allocations: 3.773 MB / 0.7297 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009262/0.7301, allocations: 0.7597 MB / 0.7304 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7301, allocations: 0 / 0.7304 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.7305, allocations: 384.3 kB / 0.7308 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.7314, allocations: 381.1 kB / 0.7311 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.7328, allocations: 0.9832 MB / 0.7321 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.139e-05/0.7329, allocations: 135.4 kB / 0.7322 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000229/0.7332, allocations: 137.7 kB / 0.7323 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.7332, allocations: 36.5 kB / 0.7324 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of SimCode: time 1.432e-06/0.7332, allocations: 0 / 0.7324 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of Templates: time 0.1553/0.8885, allocations: 78.45 MB / 0.809 GB, free: 242.9 MB / 0.5417 GB " [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 os._exit(0), Time elapsed: 5.002900315914303]