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.001267/0.001267, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001434/0.001434, allocations: 220.8 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.05018/0.05018, allocations: 9.145 MB / 321.6 MB, free: 10.4 MB / 254.1 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 0.001974/0.001974, allocations: 59.91 kB / 447.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1404, allocations: 54.95 MB / 0.4903 GB, free: 9.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.4151/0.5555, allocations: 142.8 MB / 0.6298 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1125/0.668, allocations: 97.98 MB / 0.7255 GB, free: 64 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.6685, allocations: 11.94 kB / 0.7255 GB, free: 52 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.2815/0.95, allocations: 1.543 MB / 0.727 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.9542, allocations: 1.825 MB / 0.7288 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.07058/1.025, allocations: 31.55 MB / 0.7596 GB, free: 188 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001938/1.027, allocations: 1.436 MB / 0.761 GB, free: 188 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/1.027, allocations: 82.11 kB / 0.7611 GB, free: 172 kB / 0.545 GB [/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.01583/1.043, allocations: 10.27 MB / 0.7711 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/1.043, allocations: 404.3 kB / 0.7715 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/1.043, allocations: 42.44 kB / 0.7715 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06366/1.107, allocations: 37.79 MB / 0.8084 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/1.107, allocations: 119.9 kB / 0.8085 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/1.108, allocations: 306.2 kB / 0.8088 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04325/1.151, allocations: 14.62 MB / 0.8231 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.151, allocations: 0 / 0.8231 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/1.151, allocations: 0 / 0.8231 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.151, allocations: 7.938 kB / 0.8231 GB, free: 6.094 MB / 0.5762 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.006727/1.158, allocations: 2.701 MB / 0.8258 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.158, allocations: 8.031 kB / 0.8258 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/1.159, allocations: 84.2 kB / 0.8258 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/1.159, allocations: 277.9 kB / 0.8261 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/1.159, allocations: 25.72 kB / 0.8261 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/1.159, allocations: 39.02 kB / 0.8262 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/1.16, allocations: 0.588 MB / 0.8267 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.161, allocations: 0 / 0.8267 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/1.161, allocations: 19.94 kB / 0.8268 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/1.161, allocations: 19.12 kB / 0.8268 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.162, allocations: 0.5308 MB / 0.8273 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/1.165, allocations: 2.468 MB / 0.8297 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.166, allocations: 465.4 kB / 0.8302 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/1.166, allocations: 314.3 kB / 0.8305 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1273/1.294, allocations: 30.62 MB / 0.8604 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/1.294, allocations: 38.78 kB / 0.8604 GB, free: 248 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.415e-06/1.294, allocations: 0 / 0.8604 GB, free: 248 kB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.006911/1.301, allocations: 2.342 MB / 0.8627 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/1.301, allocations: 55.41 kB / 0.8627 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/1.301, allocations: 257.8 kB / 0.863 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/1.301, allocations: 41.7 kB / 0.863 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/1.301, allocations: 185.5 kB / 0.8632 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/1.301, allocations: 282.4 kB / 0.8635 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.302, allocations: 98.11 kB / 0.8636 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.302, allocations: 354.8 kB / 0.8639 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/1.302, allocations: 289.3 kB / 0.8642 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/1.303, allocations: 412.9 kB / 0.8646 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.304, allocations: 0.7381 MB / 0.8653 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.304, allocations: 0 / 0.8653 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001677/1.306, allocations: 0.8288 MB / 0.8661 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.306, allocations: 8.375 kB / 0.8661 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.306, allocations: 8 kB / 0.8661 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/1.306, allocations: 81.59 kB / 0.8662 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.307, allocations: 107.9 kB / 0.8663 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05657/1.363, allocations: 14.52 MB / 0.8805 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/1.364, allocations: 27.97 kB / 0.8805 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/1.364, allocations: 21.08 kB / 0.8805 GB, free: 10.9 MB / 0.6387 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 (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.0003052/1.364, allocations: 197 kB / 0.8807 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.364, allocations: 47.66 kB / 0.8808 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.367, allocations: 1.749 MB / 0.8825 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.367, allocations: 10.41 kB / 0.8825 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.367, allocations: 12 kB / 0.8825 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001823/1.369, allocations: 1.291 MB / 0.8837 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/1.371, allocations: 1.769 MB / 0.8855 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.371, allocations: 0 / 0.8855 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/1.372, allocations: 87.91 kB / 0.8856 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/1.372, allocations: 113.6 kB / 0.8857 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/1.372, allocations: 11.98 kB / 0.8857 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/1.374, allocations: 1.991 MB / 0.8876 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.374, allocations: 5.031 kB / 0.8876 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/1.376, allocations: 1.468 MB / 0.8891 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.376, allocations: 51.53 kB / 0.8891 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/1.377, allocations: 12 kB / 0.8891 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/1.377, allocations: 23.97 kB / 0.8891 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.377, allocations: 43.92 kB / 0.8892 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/1.377, allocations: 19.55 kB / 0.8892 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002483/1.377, allocations: 219.1 kB / 0.8894 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/1.377, allocations: 0 / 0.8894 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007497/1.385, allocations: 3.042 MB / 0.8924 GB, free: 14.36 MB / 0.6544 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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.01392/1.399, allocations: 3.896 MB / 0.8962 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.401, allocations: 1.013 MB / 0.8972 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.401, allocations: 0 / 0.8972 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.402, allocations: 0.528 MB / 0.8977 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.404, allocations: 409.1 kB / 0.8981 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.406, allocations: 1.268 MB / 0.8993 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/1.407, allocations: 0.8578 MB / 0.9002 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004514/1.407, allocations: 123.2 kB / 0.9003 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/1.407, allocations: 43.44 kB / 0.9003 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of SimCode: time 1.223e-06/1.407, allocations: 0 / 0.9003 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of Templates: time 0.3616/1.769, allocations: 112.8 MB / 1.01 GB, free: 360.1 MB / 0.7325 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.361284296028316] Failed to read output from testmodel.py, exit status != 0: 1.777109862305224 1.787315245 0.6333221059999999 Calling exit ...