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.001358/0.001358, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.001583/0.001583, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.04899/0.04899, allocations: 7.532 MB / 267.3 MB, free: 9.578 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.002061/0.002061, allocations: 67.91 kB / 392.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 54.92 MB / 447.7 MB, free: 4.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.378/0.484, allocations: 127 MB / 0.5612 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.112/0.596, allocations: 86.73 MB / 0.6459 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.5967, allocations: 7.938 kB / 0.646 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00373/0.6005, allocations: 1.233 MB / 0.6472 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.6051, allocations: 1.576 MB / 0.6487 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.09507/0.7002, allocations: 31.36 MB / 0.6793 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.7023, allocations: 1.43 MB / 0.6807 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.7026, allocations: 77.92 kB / 0.6808 GB, free: 13.03 MB / 0.5606 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.0191/0.7217, allocations: 10.19 MB / 0.6907 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.7223, allocations: 378.4 kB / 0.6911 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.964e-05/0.7224, allocations: 40 kB / 0.6911 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3144/1.037, allocations: 25.36 MB / 0.7159 GB, free: 38.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/1.037, allocations: 131.7 kB / 0.716 GB, free: 38.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005755/1.038, allocations: 250.8 kB / 0.7163 GB, free: 38.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04218/1.08, allocations: 12.76 MB / 0.7287 GB, free: 37.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.08, allocations: 2.531 kB / 0.7287 GB, free: 37.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/1.08, allocations: 4 kB / 0.7287 GB, free: 37.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.259e-05/1.08, allocations: 0 / 0.7287 GB, free: 37.87 MB / 0.5606 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.008785/1.089, allocations: 2.673 MB / 0.7313 GB, free: 36.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.089, allocations: 10.31 kB / 0.7314 GB, free: 36.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000714/1.089, allocations: 78.69 kB / 0.7314 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/1.09, allocations: 291.2 kB / 0.7317 GB, free: 36.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/1.09, allocations: 31 kB / 0.7317 GB, free: 36.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/1.09, allocations: 32.66 kB / 0.7318 GB, free: 36.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.091, allocations: 0.7394 MB / 0.7325 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/1.091, allocations: 11.02 kB / 0.7325 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/1.091, allocations: 14.88 kB / 0.7325 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/1.091, allocations: 15.7 kB / 0.7325 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/1.092, allocations: 0.5223 MB / 0.733 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/1.094, allocations: 1.626 MB / 0.7346 GB, free: 35.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/1.095, allocations: 472.6 kB / 0.7351 GB, free: 35.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/1.096, allocations: 311 kB / 0.7354 GB, free: 35.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1138/1.21, allocations: 30.73 MB / 0.7654 GB, free: 31.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.21, allocations: 38.72 kB / 0.7654 GB, free: 31.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/1.21, allocations: 0.5469 kB / 0.7654 GB, free: 31.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006772/1.216, allocations: 2.334 MB / 0.7677 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/1.216, allocations: 59.39 kB / 0.7678 GB, free: 29.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/1.217, allocations: 236.2 kB / 0.768 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/1.217, allocations: 33.64 kB / 0.768 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/1.217, allocations: 195.2 kB / 0.7682 GB, free: 29.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/1.217, allocations: 280 kB / 0.7685 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/1.217, allocations: 104.2 kB / 0.7686 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/1.217, allocations: 346.2 kB / 0.7689 GB, free: 28.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/1.218, allocations: 289.6 kB / 0.7692 GB, free: 28.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/1.218, allocations: 413 kB / 0.7696 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/1.219, allocations: 0.7301 MB / 0.7703 GB, free: 27.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.219, allocations: 2.062 kB / 0.7703 GB, free: 27.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00147/1.221, allocations: 0.8417 MB / 0.7711 GB, free: 26.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.221, allocations: 8 kB / 0.7711 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.221, allocations: 4 kB / 0.7711 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/1.221, allocations: 78.28 kB / 0.7712 GB, free: 26.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/1.221, allocations: 109.2 kB / 0.7713 GB, free: 26.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05154/1.273, allocations: 14.47 MB / 0.7854 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/1.274, allocations: 30.47 kB / 0.7855 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/1.274, allocations: 15.81 kB / 0.7855 GB, free: 12.61 MB / 0.5606 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.000353/1.274, allocations: 193.4 kB / 0.7857 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/1.274, allocations: 43.8 kB / 0.7857 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/1.277, allocations: 1.744 MB / 0.7874 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/1.277, allocations: 13.89 kB / 0.7874 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.277, allocations: 7.984 kB / 0.7874 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/1.279, allocations: 1.296 MB / 0.7887 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/1.281, allocations: 1.641 MB / 0.7903 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.281, allocations: 4.031 kB / 0.7903 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/1.282, allocations: 89.81 kB / 0.7904 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/1.282, allocations: 116.6 kB / 0.7905 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/1.282, allocations: 11.8 kB / 0.7905 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.283, allocations: 1.958 MB / 0.7924 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.283, allocations: 0 / 0.7924 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/1.286, allocations: 1.466 MB / 0.7938 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/1.286, allocations: 39.73 kB / 0.7939 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/1.286, allocations: 12 kB / 0.7939 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/1.286, allocations: 27.72 kB / 0.7939 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.286, allocations: 43.62 kB / 0.794 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/1.286, allocations: 23.48 kB / 0.794 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001995/1.287, allocations: 196.8 kB / 0.7942 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.287, allocations: 0 / 0.7942 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01064/1.297, allocations: 3.04 MB / 0.7971 GB, free: 2.59 MB / 0.5606 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.01958/1.317, allocations: 3.9 MB / 0.8009 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002586/1.319, allocations: 1.02 MB / 0.8019 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.319, allocations: 0 / 0.8019 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.321, allocations: 0.5321 MB / 0.8025 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.323, allocations: 365.7 kB / 0.8028 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/1.325, allocations: 1.239 MB / 0.804 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/1.326, allocations: 255.6 kB / 0.8043 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005038/1.326, allocations: 129.5 kB / 0.8044 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.326, allocations: 40.38 kB / 0.8044 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/1.326, allocations: 0 / 0.8044 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.1997/1.526, allocations: 112.2 MB / 0.914 GB, free: 13.01 MB / 0.6856 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.575571906054392] Failed to read output from testmodel.py, exit status != 0: 1.5360140179982409 1.550451948 0.46708126899999997 Calling exit ...