Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.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.001343/0.001343, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00167/0.00167, allocations: 217 kB / 22.25 MB, free: 5.082 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 8.035 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.05232/0.05232, allocations: 9.143 MB / 321.6 MB, free: 10.44 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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.91 kB / 447.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1096, allocations: 54.95 MB / 0.4903 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.3579/0.4675, allocations: 142.8 MB / 0.6298 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1138/0.5813, allocations: 97.98 MB / 0.7255 GB, free: 20 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.582, allocations: 15.94 kB / 0.7255 GB, free: 4 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.2761/0.858, allocations: 1.547 MB / 0.727 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.8616, allocations: 1.821 MB / 0.7288 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.06882/0.9304, allocations: 31.55 MB / 0.7596 GB, free: 124 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.9321, allocations: 1.423 MB / 0.761 GB, free: 124 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.9323, allocations: 87.11 kB / 0.7611 GB, free: 112 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.0146/0.9469, allocations: 10.28 MB / 0.7711 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.9475, allocations: 395.8 kB / 0.7715 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.9475, allocations: 44.09 kB / 0.7715 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06152/1.009, allocations: 36.83 MB / 0.8075 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/1.009, allocations: 119.9 kB / 0.8076 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000772/1.01, allocations: 307.4 kB / 0.8079 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04042/1.051, allocations: 14.23 MB / 0.8218 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.051, allocations: 0.9375 kB / 0.8218 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/1.051, allocations: 5.094 kB / 0.8218 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.051, allocations: 0 / 0.8218 GB, free: 6.824 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.007396/1.058, allocations: 2.611 MB / 0.8243 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.058, allocations: 8.031 kB / 0.8243 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/1.059, allocations: 88.73 kB / 0.8244 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/1.059, allocations: 275.7 kB / 0.8247 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/1.059, allocations: 33.66 kB / 0.8247 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/1.059, allocations: 39.52 kB / 0.8248 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/1.06, allocations: 0.6043 MB / 0.8253 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.06, allocations: 0.5625 kB / 0.8254 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/1.061, allocations: 18.38 kB / 0.8254 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/1.061, allocations: 15.59 kB / 0.8254 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.062, allocations: 0.5598 MB / 0.8259 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/1.065, allocations: 2.494 MB / 0.8284 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/1.066, allocations: 479.1 kB / 0.8288 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/1.066, allocations: 318.3 kB / 0.8291 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.21/1.276, allocations: 43.91 MB / 0.872 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/1.276, allocations: 34.78 kB / 0.872 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/1.276, allocations: 0 / 0.872 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006851/1.283, allocations: 2.246 MB / 0.8742 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/1.283, allocations: 59.41 kB / 0.8743 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/1.284, allocations: 249.9 kB / 0.8745 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/1.284, allocations: 33.7 kB / 0.8746 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/1.284, allocations: 195.1 kB / 0.8747 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.284, allocations: 274.6 kB / 0.875 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.284, allocations: 98.11 kB / 0.8751 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.284, allocations: 354.7 kB / 0.8754 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/1.285, allocations: 289.2 kB / 0.8757 GB, free: 348 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/1.286, allocations: 417.2 kB / 0.8761 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.287, allocations: 0.7283 MB / 0.8768 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.287, allocations: 3.812 kB / 0.8768 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001672/1.289, allocations: 0.8136 MB / 0.8776 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.289, allocations: 4 kB / 0.8776 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.289, allocations: 7.984 kB / 0.8776 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/1.289, allocations: 62.06 kB / 0.8777 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/1.29, allocations: 131.9 kB / 0.8778 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07376/1.363, allocations: 18.9 MB / 0.8963 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/1.364, allocations: 35.97 kB / 0.8963 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.364, allocations: 20 kB / 0.8963 GB, free: 10.55 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004008/1.364, allocations: 189.4 kB / 0.8965 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.365, allocations: 47.7 kB / 0.8966 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.367, allocations: 1.618 MB / 0.8981 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.367, allocations: 10.42 kB / 0.8981 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.367, allocations: 4.531 kB / 0.8982 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/1.369, allocations: 1.203 MB / 0.8993 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/1.371, allocations: 1.655 MB / 0.9009 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.371, allocations: 0 / 0.9009 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/1.372, allocations: 80.75 kB / 0.901 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/1.372, allocations: 105.6 kB / 0.9011 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/1.372, allocations: 12.88 kB / 0.9011 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/1.374, allocations: 1.894 MB / 0.903 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.374, allocations: 0 / 0.903 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/1.376, allocations: 1.287 MB / 0.9042 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/1.376, allocations: 39.69 kB / 0.9043 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-05/1.376, allocations: 19.88 kB / 0.9043 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/1.377, allocations: 35.97 kB / 0.9043 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.377, allocations: 35.92 kB / 0.9044 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/1.377, allocations: 21.14 kB / 0.9044 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003621/1.377, allocations: 239.1 kB / 0.9046 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.377, allocations: 0 / 0.9046 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01145/1.389, allocations: 3.574 MB / 0.9081 GB, free: 14.11 MB / 0.67 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.h) * Number of discrete variables: 9 ($cse8.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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,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.0212/1.41, allocations: 4.626 MB / 0.9126 GB, free: 9.938 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002812/1.413, allocations: 0.9796 MB / 0.9136 GB, free: 8.938 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.413, allocations: 0 / 0.9136 GB, free: 8.938 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.414, allocations: 487.3 kB / 0.914 GB, free: 8.449 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.416, allocations: 397 kB / 0.9144 GB, free: 8.062 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/1.418, allocations: 1.201 MB / 0.9156 GB, free: 6.844 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/1.419, allocations: 0.8525 MB / 0.9164 GB, free: 5.965 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004629/1.419, allocations: 149.7 kB / 0.9166 GB, free: 5.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.419, allocations: 39.44 kB / 0.9166 GB, free: 5.781 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/1.419, allocations: 0 / 0.9166 GB, free: 5.781 MB / 0.67 GB Notification: Performance of Templates: time 0.4252/1.844, allocations: 126.9 MB / 1.041 GB, free: 340.2 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.672920384909958] Failed to read output from testmodel.py, exit status != 0: 1.8521812628023326 1.862221523 0.809259842 Calling exit ...