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.00135/0.00135, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001538/0.001538, allocations: 210.8 kB / 22.24 MB, free: 5.242 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.789 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.05358/0.05358, allocations: 9.147 MB / 321.6 MB, free: 10.33 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.002044/0.002044, allocations: 67.89 kB / 447 MB, free: 348 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.119, allocations: 54.94 MB / 0.4902 GB, free: 9.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.4642/0.5832, allocations: 127 MB / 0.6143 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1083/0.6916, allocations: 86.72 MB / 0.6989 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007286/0.6923, allocations: 11.94 kB / 0.6989 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/0.6961, allocations: 1.237 MB / 0.7002 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.7006, allocations: 1.567 MB / 0.7017 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4486/1.149, allocations: 31.35 MB / 0.7323 GB, free: 22.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001954/1.151, allocations: 1.431 MB / 0.7337 GB, free: 22.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/1.151, allocations: 82.05 kB / 0.7338 GB, free: 22.93 MB / 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.01882/1.17, allocations: 10.11 MB / 0.7436 GB, free: 22.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/1.171, allocations: 374 kB / 0.744 GB, free: 22.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/1.171, allocations: 44.75 kB / 0.744 GB, free: 22.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04984/1.221, allocations: 25.37 MB / 0.7688 GB, free: 22.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/1.221, allocations: 126.3 kB / 0.7689 GB, free: 22.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009962/1.222, allocations: 258.9 kB / 0.7692 GB, free: 22.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04274/1.265, allocations: 12.76 MB / 0.7816 GB, free: 21.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/1.265, allocations: 1.781 kB / 0.7816 GB, free: 21.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/1.265, allocations: 0 / 0.7816 GB, free: 21.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.265, allocations: 0 / 0.7816 GB, free: 21.16 MB / 0.545 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.008657/1.273, allocations: 2.685 MB / 0.7843 GB, free: 19.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.274, allocations: 8.469 kB / 0.7843 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006192/1.274, allocations: 80.08 kB / 0.7844 GB, free: 19.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/1.275, allocations: 277.7 kB / 0.7846 GB, free: 19.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/1.275, allocations: 35.53 kB / 0.7847 GB, free: 19.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/1.275, allocations: 32.19 kB / 0.7847 GB, free: 19.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.276, allocations: 0.7447 MB / 0.7854 GB, free: 18.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/1.276, allocations: 3.281 kB / 0.7854 GB, free: 18.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/1.276, allocations: 15.31 kB / 0.7854 GB, free: 18.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.276, allocations: 17.14 kB / 0.7854 GB, free: 18.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.277, allocations: 0.526 MB / 0.786 GB, free: 18.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/1.279, allocations: 1.62 MB / 0.7875 GB, free: 17.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009322/1.28, allocations: 463.3 kB / 0.788 GB, free: 17.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/1.281, allocations: 311.6 kB / 0.7883 GB, free: 17.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.115/1.396, allocations: 30.73 MB / 0.8183 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/1.396, allocations: 39.34 kB / 0.8183 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/1.396, allocations: 0 / 0.8183 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006624/1.402, allocations: 2.332 MB / 0.8206 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.402, allocations: 55.41 kB / 0.8207 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/1.403, allocations: 238.5 kB / 0.8209 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/1.403, allocations: 37.56 kB / 0.8209 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/1.403, allocations: 194.5 kB / 0.8211 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.403, allocations: 281.6 kB / 0.8214 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.403, allocations: 103.2 kB / 0.8215 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.403, allocations: 351.4 kB / 0.8218 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/1.404, allocations: 286.5 kB / 0.8221 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/1.404, allocations: 410.5 kB / 0.8225 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.406, allocations: 0.7454 MB / 0.8232 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.406, allocations: 1.312 kB / 0.8232 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001603/1.407, allocations: 0.8355 MB / 0.824 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.407, allocations: 8.375 kB / 0.824 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.407, allocations: 8 kB / 0.824 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/1.408, allocations: 80.28 kB / 0.8241 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/1.408, allocations: 110 kB / 0.8242 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05469/1.463, allocations: 14.45 MB / 0.8383 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/1.463, allocations: 34.06 kB / 0.8384 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/1.463, allocations: 20.25 kB / 0.8384 GB, free: 9.062 MB / 0.5762 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.0003193/1.464, allocations: 191.7 kB / 0.8386 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.464, allocations: 43.14 kB / 0.8386 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/1.466, allocations: 1.754 MB / 0.8403 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/1.466, allocations: 13.06 kB / 0.8403 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.466, allocations: 0 / 0.8403 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001707/1.468, allocations: 1.295 MB / 0.8416 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/1.47, allocations: 1.654 MB / 0.8432 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.47, allocations: 0 / 0.8432 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/1.471, allocations: 83.34 kB / 0.8433 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/1.471, allocations: 116.7 kB / 0.8434 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.471, allocations: 15.8 kB / 0.8434 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/1.473, allocations: 1.965 MB / 0.8453 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.473, allocations: 0 / 0.8453 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/1.475, allocations: 1.465 MB / 0.8468 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.475, allocations: 39.73 kB / 0.8468 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/1.475, allocations: 8.875 kB / 0.8468 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/1.476, allocations: 20.73 kB / 0.8468 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.476, allocations: 52.59 kB / 0.8469 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/1.476, allocations: 25.67 kB / 0.8469 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002261/1.476, allocations: 192.9 kB / 0.8471 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.476, allocations: 0 / 0.8471 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008568/1.485, allocations: 3.042 MB / 0.8501 GB, free: 15.02 MB / 0.5919 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.01595/1.501, allocations: 3.895 MB / 0.8539 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002307/1.503, allocations: 1.009 MB / 0.8548 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.503, allocations: 0 / 0.8548 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009369/1.504, allocations: 0.5313 MB / 0.8554 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/1.506, allocations: 371.1 kB / 0.8557 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/1.508, allocations: 1.258 MB / 0.857 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/1.508, allocations: 254.5 kB / 0.8572 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003896/1.509, allocations: 125 kB / 0.8573 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.509, allocations: 43 kB / 0.8574 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.509, allocations: 0 / 0.8574 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of Templates: time 0.1719/1.681, allocations: 113.2 MB / 0.9679 GB, free: 8.477 MB / 0.7012 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: 15.025900127366185] Failed to read output from testmodel.py, exit status != 0: 1.6884453929960728 1.925096554 0.656709663 Calling exit ...