Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.0009151/0.0009151, 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.0009694/0.0009694, allocations: 173 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.8931/0.8931, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.02971/0.02971, allocations: 7.525 MB / 267.8 MB, free: 6.078 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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 338.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.486e-05, allocations: 5.547 kB / 338.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2263/0.2263, allocations: 143.5 MB / 482.2 MB, free: 46.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05326/0.2795, allocations: 99.24 MB / 0.5678 GB, free: 14.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.28, allocations: 9.938 kB / 0.5678 GB, free: 14.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.282, allocations: 1.244 MB / 0.569 GB, free: 13.72 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.2843, allocations: 1.606 MB / 0.5706 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2129/0.4972, allocations: 31.78 MB / 0.6016 GB, free: 22.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.4985, allocations: 1.44 MB / 0.603 GB, free: 22.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.4986, allocations: 80.98 kB / 0.6031 GB, free: 22.22 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.0107/0.5093, allocations: 10.43 MB / 0.6133 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.5097, allocations: 345.8 kB / 0.6136 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.5097, allocations: 40.78 kB / 0.6136 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03049/0.5402, allocations: 25.56 MB / 0.6386 GB, free: 20.85 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.5404, allocations: 131.2 kB / 0.6387 GB, free: 20.83 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.5408, allocations: 220.8 kB / 0.6389 GB, free: 20.81 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02647/0.5673, allocations: 14.74 MB / 0.6533 GB, free: 19.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5673, allocations: 0 / 0.6533 GB, free: 19.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5673, allocations: 6.25 kB / 0.6533 GB, free: 19.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5673, allocations: 0 / 0.6533 GB, free: 19.97 MB / 442.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.004814/0.5721, allocations: 2.775 MB / 0.6561 GB, free: 18.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5722, allocations: 10.34 kB / 0.6561 GB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004001/0.5726, allocations: 159.3 kB / 0.6562 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.5729, allocations: 282.4 kB / 0.6565 GB, free: 18.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.5729, allocations: 33.12 kB / 0.6565 GB, free: 18.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.5729, allocations: 35.28 kB / 0.6566 GB, free: 18.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.5736, allocations: 0.5912 MB / 0.6571 GB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5736, allocations: 3.938 kB / 0.6571 GB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.5736, allocations: 17.47 kB / 0.6572 GB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.5736, allocations: 15.92 kB / 0.6572 GB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.5741, allocations: 251.5 kB / 0.6574 GB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.5753, allocations: 1.794 MB / 0.6592 GB, free: 16.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.5758, allocations: 259.3 kB / 0.6594 GB, free: 16.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5759, allocations: 128.3 kB / 0.6595 GB, free: 16.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05465/0.6305, allocations: 29.74 MB / 0.6886 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6306, allocations: 37.11 kB / 0.6886 GB, free: 11.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 2.415e-06/0.6306, allocations: 0 / 0.6886 GB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.00334/0.6339, allocations: 1.559 MB / 0.6901 GB, free: 10.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.634, allocations: 55.41 kB / 0.6902 GB, free: 10.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.6341, allocations: 275.4 kB / 0.6904 GB, free: 9.863 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.6342, allocations: 31.39 kB / 0.6905 GB, free: 9.832 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.6343, allocations: 243.7 kB / 0.6907 GB, free: 9.621 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6344, allocations: 295.4 kB / 0.691 GB, free: 9.371 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6345, allocations: 115.9 kB / 0.6911 GB, free: 9.289 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6346, allocations: 0.5296 MB / 0.6916 GB, free: 8.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.6348, allocations: 100.5 kB / 0.6917 GB, free: 8.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.635, allocations: 273.4 kB / 0.692 GB, free: 8.387 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.6354, allocations: 416.1 kB / 0.6924 GB, free: 7.996 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6354, allocations: 0 / 0.6924 GB, free: 7.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006339/0.636, allocations: 0.5126 MB / 0.6929 GB, free: 7.543 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.636, allocations: 18.67 kB / 0.6929 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6361, allocations: 4 kB / 0.6929 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.6363, allocations: 69.44 kB / 0.693 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.6365, allocations: 110 kB / 0.6931 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/0.6606, allocations: 13.21 MB / 0.706 GB, free: 9.988 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.6608, allocations: 26.42 kB / 0.706 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.6608, allocations: 26.36 kB / 0.706 GB, free: 9.949 MB / 474.7 MB 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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.661, allocations: 192.6 kB / 0.7062 GB, free: 9.766 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.661, allocations: 57.47 kB / 0.7063 GB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.6623, allocations: 1.536 MB / 0.7078 GB, free: 8.496 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.6623, allocations: 17.2 kB / 0.7078 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.6623, allocations: 0 / 0.7078 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000815/0.6631, allocations: 0.8509 MB / 0.7086 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6643, allocations: 1.141 MB / 0.7097 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6643, allocations: 0 / 0.7097 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.6644, allocations: 69.78 kB / 0.7098 GB, free: 6.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.6646, allocations: 108.4 kB / 0.7099 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.6647, allocations: 11.12 kB / 0.7099 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.6657, allocations: 2.604 MB / 0.7124 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6657, allocations: 10.23 kB / 0.7124 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/0.6665, allocations: 0.8561 MB / 0.7133 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.6665, allocations: 39.66 kB / 0.7133 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.6666, allocations: 14.17 kB / 0.7133 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.6667, allocations: 13.56 kB / 0.7133 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.6668, allocations: 45.34 kB / 0.7134 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.6668, allocations: 22.3 kB / 0.7134 GB, free: 2.832 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.667, allocations: 216.9 kB / 0.7136 GB, free: 2.641 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.667, allocations: 0 / 0.7136 GB, free: 2.641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005442/0.6725, allocations: 2.303 MB / 0.7159 GB, free: 436 kB / 474.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.T) * Number of discrete variables: 10 ($cse6.phase,$cse7.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,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.007087/0.6796, allocations: 3.503 MB / 0.7193 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009079/0.6805, allocations: 0.7701 MB / 0.72 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6805, allocations: 0 / 0.72 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.6811, allocations: 423.8 kB / 0.7204 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.682, allocations: 384.6 kB / 0.7208 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.6834, allocations: 1.016 MB / 0.7218 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.797e-05/0.6835, allocations: 135.7 kB / 0.7219 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.6837, allocations: 126.4 kB / 0.7221 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.6838, allocations: 39.38 kB / 0.7221 GB, free: 10.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6838, allocations: 0 / 0.7221 GB, free: 10.62 MB / 490.7 MB Notification: Performance of Templates: time 0.2216/0.9054, allocations: 76.46 MB / 0.7968 GB, free: 138 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.759821366053075]