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.001496/0.001496, allocations: 84.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001812/0.001812, allocations: 157.7 kB / 22.76 MB, free: 1.672 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 1.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.05193/0.05193, allocations: 7.519 MB / 267.1 MB, free: 6.035 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.263e-06/1.263e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.867e-05, allocations: 2.312 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3536/0.3536, allocations: 126.8 MB / 464.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.114/0.4676, allocations: 86.74 MB / 0.5386 GB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007659/0.4684, allocations: 15.94 kB / 0.5386 GB, free: 4.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003795/0.4722, allocations: 1.245 MB / 0.5398 GB, free: 3.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.4769, allocations: 1.602 MB / 0.5414 GB, free: 1.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3275/0.8044, allocations: 31.77 MB / 0.5724 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.8062, allocations: 1.438 MB / 0.5738 GB, free: 14.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.8064, allocations: 82.44 kB / 0.5739 GB, free: 14.26 MB / 426.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.01618/0.8226, allocations: 10.44 MB / 0.5841 GB, free: 13.76 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.8231, allocations: 336.1 kB / 0.5844 GB, free: 13.72 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.8232, allocations: 43.31 kB / 0.5844 GB, free: 13.72 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04838/0.8716, allocations: 25.57 MB / 0.6094 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.8719, allocations: 125.9 kB / 0.6095 GB, free: 10.79 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.8724, allocations: 223.5 kB / 0.6097 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04185/0.9142, allocations: 15.03 MB / 0.6244 GB, free: 2.727 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.9142, allocations: 3.438 kB / 0.6244 GB, free: 2.727 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.9142, allocations: 0 / 0.6244 GB, free: 2.727 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.9142, allocations: 0 / 0.6244 GB, free: 2.727 MB / 426.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.007041/0.9213, allocations: 2.674 MB / 0.627 GB, free: 128 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9213, allocations: 12.62 kB / 0.627 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006764/0.922, allocations: 157.7 kB / 0.6272 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.9226, allocations: 282 kB / 0.6275 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.9227, allocations: 27.53 kB / 0.6275 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/0.9227, allocations: 36.75 kB / 0.6275 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.9242, allocations: 0.7432 MB / 0.6282 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.9242, allocations: 5.875 kB / 0.6283 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.9243, allocations: 14.44 kB / 0.6283 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.9243, allocations: 19.03 kB / 0.6283 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.9256, allocations: 0.5368 MB / 0.6288 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.9283, allocations: 1.627 MB / 0.6304 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.9295, allocations: 471.8 kB / 0.6309 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.93, allocations: 309.2 kB / 0.6311 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.14/1.07, allocations: 30.98 MB / 0.6614 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/1.07, allocations: 40.47 kB / 0.6614 GB, free: 1.695 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/1.07, allocations: 0 / 0.6614 GB, free: 1.695 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.007814/1.078, allocations: 2.359 MB / 0.6637 GB, free: 15.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.078, allocations: 55.41 kB / 0.6638 GB, free: 15.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/1.078, allocations: 228.1 kB / 0.664 GB, free: 15.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/1.078, allocations: 37.7 kB / 0.664 GB, free: 15.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/1.079, allocations: 193.4 kB / 0.6642 GB, free: 15.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/1.079, allocations: 279.3 kB / 0.6645 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/1.079, allocations: 106.1 kB / 0.6646 GB, free: 14.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002234/1.079, allocations: 346.8 kB / 0.6649 GB, free: 14.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/1.08, allocations: 289.4 kB / 0.6652 GB, free: 14.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/1.081, allocations: 410.8 kB / 0.6656 GB, free: 13.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.082, allocations: 0.7396 MB / 0.6663 GB, free: 12.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.082, allocations: 0 / 0.6663 GB, free: 12.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002358/1.085, allocations: 0.8558 MB / 0.6672 GB, free: 12.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.085, allocations: 4 kB / 0.6672 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.085, allocations: 4 kB / 0.6672 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/1.085, allocations: 88.19 kB / 0.6672 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/1.086, allocations: 118.9 kB / 0.6674 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05648/1.142, allocations: 14.04 MB / 0.6811 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/1.143, allocations: 35.91 kB / 0.6811 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/1.143, allocations: 17.94 kB / 0.6811 GB, free: 13.32 MB / 490.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.0004501/1.143, allocations: 194.8 kB / 0.6813 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/1.143, allocations: 58.25 kB / 0.6814 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.146, allocations: 1.762 MB / 0.6831 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/1.146, allocations: 19.81 kB / 0.6831 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.146, allocations: 2.062 kB / 0.6831 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002108/1.149, allocations: 1.289 MB / 0.6844 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.152, allocations: 1.643 MB / 0.686 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.152, allocations: 0 / 0.686 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/1.152, allocations: 83.41 kB / 0.686 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/1.152, allocations: 121.6 kB / 0.6862 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/1.152, allocations: 8 kB / 0.6862 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/1.155, allocations: 1.962 MB / 0.6881 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.155, allocations: 8.234 kB / 0.6881 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/1.158, allocations: 1.481 MB / 0.6895 GB, free: 4.383 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/1.159, allocations: 39.69 kB / 0.6896 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/1.159, allocations: 12 kB / 0.6896 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/1.159, allocations: 23.97 kB / 0.6896 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.159, allocations: 48.05 kB / 0.6897 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/1.159, allocations: 16 kB / 0.6897 GB, free: 4.246 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002861/1.16, allocations: 205.2 kB / 0.6899 GB, free: 4.047 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.16, allocations: 0 / 0.6899 GB, free: 4.047 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007104/1.167, allocations: 2.305 MB / 0.6921 GB, free: 1.734 MB / 490.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.01373/1.18, allocations: 3.497 MB / 0.6955 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002684/1.183, allocations: 0.9868 MB / 0.6965 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.183, allocations: 0 / 0.6965 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/1.184, allocations: 0.531 MB / 0.697 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.186, allocations: 391.1 kB / 0.6974 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/1.189, allocations: 1.182 MB / 0.6985 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/1.189, allocations: 254.5 kB / 0.6988 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004484/1.19, allocations: 125.6 kB / 0.6989 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.19, allocations: 40.5 kB / 0.6989 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/1.19, allocations: 0 / 0.6989 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.2535/1.443, allocations: 75.99 MB / 0.7732 GB, free: 281.2 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.965283339028247]