Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.001579/0.001579, allocations: 113.3 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.001504/0.001504, allocations: 214.4 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.02 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.05103/0.05103, allocations: 9.132 MB / 321.6 MB, free: 10.45 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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 447.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09432, allocations: 54.96 MB / 0.4903 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3233/0.4177, allocations: 129.4 MB / 0.6167 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.3748/0.7924, allocations: 111.4 MB / 0.7255 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.7931, allocations: 6.062 kB / 0.7255 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.7963, allocations: 1.547 MB / 0.727 GB, free: 500 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.7998, allocations: 1.827 MB / 0.7288 GB, free: 492 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0641/0.8639, allocations: 31.54 MB / 0.7596 GB, free: 96 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.8658, allocations: 1.423 MB / 0.761 GB, free: 92 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.866, allocations: 86.88 kB / 0.761 GB, free: 76 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.01455/0.8805, allocations: 10.25 MB / 0.7711 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.8811, allocations: 401.3 kB / 0.7714 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.8812, allocations: 41.19 kB / 0.7715 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06125/0.9424, allocations: 36.8 MB / 0.8074 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.9427, allocations: 128.7 kB / 0.8075 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.9434, allocations: 304.3 kB / 0.8078 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04205/0.9854, allocations: 14.22 MB / 0.8217 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9854, allocations: 0 / 0.8217 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9854, allocations: 0 / 0.8217 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.9855, allocations: 0 / 0.8217 GB, free: 6.734 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.006229/0.9917, allocations: 2.611 MB / 0.8243 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.9917, allocations: 9.125 kB / 0.8243 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.9925, allocations: 87.62 kB / 0.8243 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.993, allocations: 283.8 kB / 0.8246 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.993, allocations: 33.97 kB / 0.8247 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.9931, allocations: 34.95 kB / 0.8247 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.9943, allocations: 0.6094 MB / 0.8253 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.9944, allocations: 0 / 0.8253 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.9944, allocations: 19 kB / 0.8253 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.9944, allocations: 14.23 kB / 0.8253 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.9957, allocations: 0.5614 MB / 0.8259 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.9984, allocations: 2.453 MB / 0.8283 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.9995, allocations: 463.2 kB / 0.8287 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/1, allocations: 318 kB / 0.829 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2211/1.221, allocations: 43.9 MB / 0.8719 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.221, allocations: 42.75 kB / 0.8719 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 2.315e-06/1.221, allocations: 0 / 0.8719 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.005904/1.227, allocations: 2.248 MB / 0.8741 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.227, allocations: 63.39 kB / 0.8742 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/1.227, allocations: 261.8 kB / 0.8744 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.227, allocations: 31.3 kB / 0.8745 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/1.228, allocations: 189.5 kB / 0.8746 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/1.228, allocations: 282.9 kB / 0.8749 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.228, allocations: 102.1 kB / 0.875 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.228, allocations: 350.7 kB / 0.8753 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/1.229, allocations: 289.3 kB / 0.8756 GB, free: 272 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/1.229, allocations: 396 kB / 0.876 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.23, allocations: 0.7162 MB / 0.8767 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.23, allocations: 4 kB / 0.8767 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001558/1.232, allocations: 0.8196 MB / 0.8775 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.232, allocations: 8 kB / 0.8775 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.232, allocations: 4 kB / 0.8775 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/1.232, allocations: 58.88 kB / 0.8776 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.233, allocations: 145.5 kB / 0.8777 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07299/1.306, allocations: 19.5 MB / 0.8967 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/1.306, allocations: 27.98 kB / 0.8968 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/1.306, allocations: 19.98 kB / 0.8968 GB, free: 9.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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.0003102/1.307, allocations: 193.9 kB / 0.897 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.307, allocations: 47.66 kB / 0.897 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/1.309, allocations: 1.741 MB / 0.8987 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.309, allocations: 13.41 kB / 0.8987 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.309, allocations: 3.984 kB / 0.8987 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001764/1.311, allocations: 1.323 MB / 0.9 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/1.314, allocations: 1.757 MB / 0.9017 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.314, allocations: 3.984 kB / 0.9017 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/1.314, allocations: 75.89 kB / 0.9018 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/1.314, allocations: 171.8 kB / 0.902 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/1.314, allocations: 7.938 kB / 0.902 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.316, allocations: 2.467 MB / 0.9044 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.316, allocations: 1.25 kB / 0.9044 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/1.318, allocations: 1.417 MB / 0.9058 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/1.319, allocations: 49.27 kB / 0.9058 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/1.319, allocations: 12 kB / 0.9058 GB, free: 224 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/1.319, allocations: 28.03 kB / 0.9059 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/1.319, allocations: 39.92 kB / 0.9059 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/1.319, allocations: 19.98 kB / 0.9059 GB, free: 136 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002512/1.319, allocations: 223 kB / 0.9061 GB, free: 15.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/1.319, allocations: 0 / 0.9061 GB, free: 15.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008738/1.328, allocations: 3.571 MB / 0.9096 GB, free: 12.34 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01536/1.343, allocations: 4.643 MB / 0.9142 GB, free: 8.156 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00243/1.346, allocations: 1.017 MB / 0.9152 GB, free: 7.117 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.346, allocations: 0 / 0.9152 GB, free: 7.117 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/1.347, allocations: 0.489 MB / 0.9156 GB, free: 6.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.349, allocations: 397.7 kB / 0.916 GB, free: 6.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/1.35, allocations: 1.225 MB / 0.9172 GB, free: 4.984 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/1.351, allocations: 0.8526 MB / 0.918 GB, free: 4.105 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003474/1.351, allocations: 133.8 kB / 0.9182 GB, free: 3.973 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/1.351, allocations: 43.44 kB / 0.9182 GB, free: 3.93 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/1.351, allocations: 4.703 kB / 0.9182 GB, free: 3.926 MB / 0.67 GB Notification: Performance of Templates: time 0.4373/1.789, allocations: 127.3 MB / 1.043 GB, free: 337.8 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.15168872801587] Failed to read output from testmodel.py, exit status != 0: 1.7961062318645418 1.8065504239999999 0.818700389 Calling exit ...