Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_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.0009022/0.0009022, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009/0.0009, allocations: 169 kB / 23.49 MB, free: 1.059 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.8845/0.8845, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.03142/0.03142, allocations: 7.517 MB / 267.8 MB, free: 6.043 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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 338.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.718e-05, allocations: 2.312 kB / 338.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.2166/0.2166, allocations: 143.5 MB / 482.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2333/0.4499, allocations: 99.24 MB / 0.5678 GB, free: 3.156 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.4504, allocations: 9.719 kB / 0.5678 GB, free: 3.156 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.4529, allocations: 1.248 MB / 0.569 GB, free: 3.148 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.4556, allocations: 1.603 MB / 0.5706 GB, free: 3.137 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05525/0.5109, allocations: 31.78 MB / 0.6016 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.5124, allocations: 1.43 MB / 0.603 GB, free: 15.17 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.5126, allocations: 90.56 kB / 0.6031 GB, free: 15.16 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.01011/0.5227, allocations: 10.42 MB / 0.6133 GB, free: 12.22 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.5231, allocations: 339.1 kB / 0.6136 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.5231, allocations: 43.47 kB / 0.6136 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02938/0.5525, allocations: 24.86 MB / 0.6379 GB, free: 3.352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.5526, allocations: 128.7 kB / 0.638 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.5528, allocations: 215.5 kB / 0.6382 GB, free: 3.121 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01959/0.5724, allocations: 14.26 MB / 0.6522 GB, free: 8.223 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5724, allocations: 3 kB / 0.6522 GB, free: 8.223 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5724, allocations: 4 kB / 0.6522 GB, free: 8.219 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.5724, allocations: 0 / 0.6522 GB, free: 8.219 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.004004/0.5764, allocations: 2.679 MB / 0.6548 GB, free: 5.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.5765, allocations: 8.625 kB / 0.6548 GB, free: 5.492 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.5769, allocations: 174.8 kB / 0.655 GB, free: 5.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.5772, allocations: 295.8 kB / 0.6553 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.5773, allocations: 28.66 kB / 0.6553 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.5773, allocations: 36 kB / 0.6553 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.578, allocations: 0.6058 MB / 0.6559 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.578, allocations: 0 / 0.6559 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.5781, allocations: 16 kB / 0.6559 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5781, allocations: 20.52 kB / 0.6559 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.5786, allocations: 282.3 kB / 0.6562 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.5799, allocations: 1.811 MB / 0.658 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.5804, allocations: 278.4 kB / 0.6582 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.5805, allocations: 128.5 kB / 0.6584 GB, free: 1.742 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09546/0.676, allocations: 41.68 MB / 0.6991 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.676, allocations: 45.61 kB / 0.6991 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.966e-06/0.676, allocations: 7.984 kB / 0.6991 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.003276/0.6793, allocations: 1.476 MB / 0.7006 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.6793, allocations: 55.41 kB / 0.7006 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.6795, allocations: 282.6 kB / 0.7009 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.6796, allocations: 29.7 kB / 0.7009 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6797, allocations: 240.1 kB / 0.7011 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.6798, allocations: 288.7 kB / 0.7014 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.6799, allocations: 119.8 kB / 0.7015 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6801, allocations: 0.5352 MB / 0.7021 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.6802, allocations: 97.45 kB / 0.7022 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.6804, allocations: 286.2 kB / 0.7024 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.6808, allocations: 430.4 kB / 0.7028 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6808, allocations: 0 / 0.7028 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005929/0.6814, allocations: 0.491 MB / 0.7033 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6814, allocations: 8 kB / 0.7033 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6814, allocations: 4 kB / 0.7033 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.6816, allocations: 55.73 kB / 0.7034 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.6819, allocations: 122.3 kB / 0.7035 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0344/0.7163, allocations: 18.03 MB / 0.7211 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.7165, allocations: 20.05 kB / 0.7211 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.7165, allocations: 20 kB / 0.7211 GB, free: 0.8594 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.0003691/0.7169, allocations: 199.6 kB / 0.7213 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.7169, allocations: 51.72 kB / 0.7214 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.7181, allocations: 1.411 MB / 0.7228 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7181, allocations: 23.44 kB / 0.7228 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.7181, allocations: 0 / 0.7228 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005534/0.7187, allocations: 0.7695 MB / 0.7235 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.7197, allocations: 1.064 MB / 0.7246 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7197, allocations: 4.031 kB / 0.7246 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.7198, allocations: 66.16 kB / 0.7246 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.72, allocations: 99.14 kB / 0.7247 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.72, allocations: 4 kB / 0.7247 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009425/0.721, allocations: 2.557 MB / 0.7272 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.721, allocations: 64 / 0.7272 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.7217, allocations: 0.7709 MB / 0.728 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.7217, allocations: 35.92 kB / 0.728 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.7218, allocations: 11.95 kB / 0.728 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.7219, allocations: 15.98 kB / 0.7281 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.7223, allocations: 43.2 kB / 0.7281 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.7223, allocations: 19.92 kB / 0.7281 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001403/0.7224, allocations: 234.9 kB / 0.7283 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.7224, allocations: 0 / 0.7283 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004439/0.7269, allocations: 2.438 MB / 0.7307 GB, free: 6.664 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.00587/0.7327, allocations: 3.765 MB / 0.7344 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009218/0.7337, allocations: 0.7607 MB / 0.7351 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7337, allocations: 3.938 kB / 0.7351 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.7343, allocations: 390.6 kB / 0.7355 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.7352, allocations: 377.9 kB / 0.7359 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.7366, allocations: 0.9819 MB / 0.7368 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.7367, allocations: 131.4 kB / 0.737 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.7369, allocations: 142.4 kB / 0.7371 GB, free: 404 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.737, allocations: 44.5 kB / 0.7371 GB, free: 360 kB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.737, allocations: 0 / 0.7371 GB, free: 360 kB / 0.5261 GB Notification: Performance of Templates: time 0.1543/0.8913, allocations: 78.61 MB / 0.8139 GB, free: 238.6 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.577469940064475]