Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.0009195/0.0009195, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001828/0.001828, allocations: 173 kB / 23.5 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.9039/0.9039, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.04577/0.04577, allocations: 7.528 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.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.205e-05, allocations: 8.781 kB / 338.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2237/0.2237, allocations: 143.5 MB / 482.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2398/0.4635, allocations: 99.24 MB / 0.5678 GB, free: 3.133 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.464, allocations: 9.312 kB / 0.5678 GB, free: 3.133 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.4659, allocations: 1.25 MB / 0.569 GB, free: 3.125 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.4682, allocations: 1.595 MB / 0.5706 GB, free: 3.113 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04749/0.5157, allocations: 31.79 MB / 0.6016 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.517, allocations: 1.435 MB / 0.603 GB, free: 15.15 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.5172, allocations: 89.73 kB / 0.6031 GB, free: 15.13 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.009508/0.5267, allocations: 10.43 MB / 0.6133 GB, free: 12.21 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.527, allocations: 349.9 kB / 0.6136 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.527, allocations: 41.16 kB / 0.6137 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02738/0.5544, allocations: 21.76 MB / 0.6349 GB, free: 5.516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.5545, allocations: 124.7 kB / 0.635 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.5548, allocations: 223.6 kB / 0.6352 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/0.5726, allocations: 12.46 MB / 0.6474 GB, free: 12.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5726, allocations: 7.984 kB / 0.6474 GB, free: 12.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5726, allocations: 0 / 0.6474 GB, free: 12.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.5726, allocations: 0 / 0.6474 GB, free: 12.53 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.003639/0.5762, allocations: 2.382 MB / 0.6498 GB, free: 10.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5763, allocations: 12.62 kB / 0.6498 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.5767, allocations: 151 kB / 0.6499 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.577, allocations: 285.2 kB / 0.6502 GB, free: 9.824 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.577, allocations: 29.22 kB / 0.6502 GB, free: 9.809 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.5771, allocations: 43.05 kB / 0.6503 GB, free: 9.777 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.5778, allocations: 0.5981 MB / 0.6508 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5778, allocations: 0 / 0.6508 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.5778, allocations: 12 kB / 0.6508 GB, free: 9.105 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.5778, allocations: 19.75 kB / 0.6509 GB, free: 9.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.5782, allocations: 262.5 kB / 0.6511 GB, free: 8.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.5797, allocations: 1.798 MB / 0.6529 GB, free: 7.012 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.5802, allocations: 275 kB / 0.6531 GB, free: 6.734 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.5804, allocations: 125.2 kB / 0.6533 GB, free: 6.609 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07445/0.6548, allocations: 35.89 MB / 0.6883 GB, free: 2.836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.6549, allocations: 40.58 kB / 0.6883 GB, free: 2.789 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.6549, allocations: 0 / 0.6883 GB, free: 2.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.002875/0.6577, allocations: 1.469 MB / 0.6898 GB, free: 1.289 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.6578, allocations: 55.41 kB / 0.6898 GB, free: 1.223 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.658, allocations: 274.7 kB / 0.6901 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.658, allocations: 29.7 kB / 0.6901 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.6581, allocations: 252 kB / 0.6904 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.6582, allocations: 284.9 kB / 0.6906 GB, free: 388 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.6583, allocations: 123.8 kB / 0.6908 GB, free: 256 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6584, allocations: 0.5352 MB / 0.6913 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6586, allocations: 93.45 kB / 0.6914 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.6588, allocations: 270.6 kB / 0.6916 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6591, allocations: 412.2 kB / 0.692 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6591, allocations: 0 / 0.692 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007184/0.6599, allocations: 0.4997 MB / 0.6925 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6599, allocations: 8 kB / 0.6925 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6599, allocations: 7.281 kB / 0.6925 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.6602, allocations: 104.8 kB / 0.6926 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.6605, allocations: 113.1 kB / 0.6927 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03361/0.6941, allocations: 18.11 MB / 0.7104 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.6943, allocations: 24.05 kB / 0.7104 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.6944, allocations: 16 kB / 0.7105 GB, free: 11.68 MB / 0.5105 GB 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0001981/0.6946, allocations: 194.9 kB / 0.7106 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.6946, allocations: 51.75 kB / 0.7107 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.6959, allocations: 1.514 MB / 0.7122 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.696, allocations: 19.89 kB / 0.7122 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.696, allocations: 0 / 0.7122 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006075/0.6966, allocations: 0.843 MB / 0.713 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.6978, allocations: 1.143 MB / 0.7141 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6978, allocations: 0 / 0.7141 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.6979, allocations: 63.25 kB / 0.7142 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/0.6982, allocations: 152 kB / 0.7143 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.6982, allocations: 16.14 kB / 0.7143 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.6993, allocations: 3.382 MB / 0.7176 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6993, allocations: 10.97 kB / 0.7177 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.7001, allocations: 0.862 MB / 0.7185 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.7002, allocations: 43.64 kB / 0.7185 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.7002, allocations: 7.938 kB / 0.7185 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.7003, allocations: 19.98 kB / 0.7186 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.7004, allocations: 39.92 kB / 0.7186 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.7004, allocations: 12 kB / 0.7186 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001237/0.7005, allocations: 221.1 kB / 0.7188 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.7005, allocations: 0 / 0.7188 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005077/0.7056, allocations: 2.146 MB / 0.7209 GB, free: 0.5195 MB / 0.5105 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: 10 ($cse4.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005588/0.7112, allocations: 3.291 MB / 0.7241 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009215/0.7121, allocations: 0.7553 MB / 0.7249 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7121, allocations: 4 kB / 0.7249 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.7125, allocations: 402.8 kB / 0.7253 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.7135, allocations: 374.1 kB / 0.7256 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.715, allocations: 1.021 MB / 0.7266 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.715, allocations: 131.4 kB / 0.7267 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.7153, allocations: 112.4 kB / 0.7268 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.7153, allocations: 36.5 kB / 0.7269 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.233e-06/0.7153, allocations: 0 / 0.7269 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.167/0.8823, allocations: 74.16 MB / 0.7993 GB, free: 255 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.812937032897025]