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.00152/0.00152, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001708/0.001708, allocations: 165.9 kB / 22.46 MB, free: 5.359 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.337/1.337, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] 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.04717/0.04717, allocations: 7.519 MB / 266.7 MB, free: 9.641 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 1.193e-06/1.193e-06, allocations: 0 / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.475e-05, allocations: 9.234 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2751/0.2752, allocations: 114.9 MB / 0.4953 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.104/0.3792, allocations: 98.62 MB / 0.5916 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.3796, allocations: 11.94 kB / 0.5916 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.3824, allocations: 1.245 MB / 0.5928 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.3857, allocations: 1.602 MB / 0.5944 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06767/0.4533, allocations: 31.86 MB / 0.6255 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.4552, allocations: 1.429 MB / 0.6269 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.4554, allocations: 81.78 kB / 0.627 GB, free: 9.242 MB / 0.4981 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.2104/0.6658, allocations: 10.4 MB / 0.6371 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.6663, allocations: 339.5 kB / 0.6375 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/0.6664, allocations: 41.84 kB / 0.6375 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03823/0.7046, allocations: 24.83 MB / 0.6618 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.7048, allocations: 124.3 kB / 0.6619 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.7053, allocations: 217.1 kB / 0.6621 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03109/0.7364, allocations: 14.53 MB / 0.6763 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.7364, allocations: 1.031 kB / 0.6763 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7364, allocations: 3.469 kB / 0.6763 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.7364, allocations: 0 / 0.6763 GB, free: 36.14 MB / 0.4981 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.005682/0.7421, allocations: 2.584 MB / 0.6788 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7421, allocations: 11.38 kB / 0.6788 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/0.7427, allocations: 87.84 kB / 0.6789 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.7431, allocations: 277.5 kB / 0.6792 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.7431, allocations: 29.22 kB / 0.6792 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.7431, allocations: 40.98 kB / 0.6792 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.7443, allocations: 0.7522 MB / 0.68 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7443, allocations: 3.938 kB / 0.68 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.7443, allocations: 19.25 kB / 0.68 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.7444, allocations: 19.5 kB / 0.68 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.7455, allocations: 0.5547 MB / 0.6805 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.7473, allocations: 1.648 MB / 0.6822 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/0.7482, allocations: 468.4 kB / 0.6826 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.7487, allocations: 321 kB / 0.6829 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1861/0.9348, allocations: 44.03 MB / 0.7259 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.9348, allocations: 38.31 kB / 0.7259 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=77): time 3.005e-06/0.9348, allocations: 2.109 kB / 0.7259 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.005526/0.9403, allocations: 2.236 MB / 0.7281 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.9403, allocations: 57.28 kB / 0.7282 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.9405, allocations: 242.7 kB / 0.7284 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.9406, allocations: 33.39 kB / 0.7284 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.9406, allocations: 199.8 kB / 0.7286 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.9407, allocations: 271.8 kB / 0.7289 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.9408, allocations: 100.2 kB / 0.729 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.9409, allocations: 350.2 kB / 0.7293 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.9413, allocations: 288.1 kB / 0.7296 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.9418, allocations: 409 kB / 0.73 GB, free: 3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.9427, allocations: 0.7178 MB / 0.7307 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9427, allocations: 0 / 0.7307 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001235/0.9439, allocations: 0.8132 MB / 0.7315 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.9439, allocations: 7.781 kB / 0.7315 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.944, allocations: 4 kB / 0.7315 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.9442, allocations: 61.3 kB / 0.7316 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.9448, allocations: 145.8 kB / 0.7317 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07476/1.02, allocations: 19.45 MB / 0.7507 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/1.02, allocations: 27.88 kB / 0.7507 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/1.02, allocations: 23.81 kB / 0.7507 GB, free: 14.89 MB / 0.5294 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.000276/1.02, allocations: 189.5 kB / 0.7509 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.02, allocations: 43.75 kB / 0.751 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/1.023, allocations: 1.745 MB / 0.7527 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.023, allocations: 18.09 kB / 0.7527 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.023, allocations: 0 / 0.7527 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/1.025, allocations: 1.313 MB / 0.754 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.027, allocations: 1.654 MB / 0.7556 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.027, allocations: 4 kB / 0.7556 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/1.027, allocations: 70.98 kB / 0.7556 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/1.028, allocations: 168.7 kB / 0.7558 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.028, allocations: 3.812 kB / 0.7558 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.029, allocations: 2.455 MB / 0.7582 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.029, allocations: 0 / 0.7582 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/1.032, allocations: 1.413 MB / 0.7596 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/1.032, allocations: 43.5 kB / 0.7596 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/1.032, allocations: 3.75 kB / 0.7596 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/1.032, allocations: 31.66 kB / 0.7597 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.032, allocations: 46.19 kB / 0.7597 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/1.032, allocations: 15.88 kB / 0.7597 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002241/1.032, allocations: 209.5 kB / 0.7599 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/1.032, allocations: 0 / 0.7599 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009193/1.042, allocations: 3.57 MB / 0.7634 GB, free: 3.797 MB / 0.5294 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.01795/1.06, allocations: 5.011 MB / 0.7683 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.062, allocations: 1.026 MB / 0.7693 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.062, allocations: 0 / 0.7693 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008854/1.063, allocations: 499.7 kB / 0.7698 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.065, allocations: 365.4 kB / 0.7701 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/1.067, allocations: 1.14 MB / 0.7712 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.067, allocations: 253.3 kB / 0.7715 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003618/1.067, allocations: 127.1 kB / 0.7716 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/1.067, allocations: 40.38 kB / 0.7716 GB, free: 12.52 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/1.067, allocations: 0 / 0.7716 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Templates: time 0.2948/1.362, allocations: 127 MB / 0.8957 GB, free: 270.2 MB / 0.6075 GB " [Timeout remaining time 659] 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: 15.124735154211521] Failed to read output from testmodel.py, exit status != 0: 1.3701186552643776 1.378835584 0.6402311350000001 Calling exit ...