Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_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.001978/0.001978, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001961/0.001961, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.809 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.05153/0.05153, allocations: 9.135 MB / 321.6 MB, free: 10.25 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_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 71.89 kB / 447 MB, free: 96 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 54.94 MB / 0.4902 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3826/0.4976, allocations: 127 MB / 0.6142 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1051/0.6026, allocations: 86.73 MB / 0.6989 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.6034, allocations: 7.938 kB / 0.699 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.6071, allocations: 1.234 MB / 0.7002 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.6119, allocations: 1.563 MB / 0.7017 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4546/1.066, allocations: 31.36 MB / 0.7323 GB, free: 22.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002546/1.069, allocations: 1.421 MB / 0.7337 GB, free: 22.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/1.069, allocations: 80.77 kB / 0.7338 GB, free: 22.91 MB / 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.01972/1.089, allocations: 10.11 MB / 0.7436 GB, free: 22.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/1.09, allocations: 383.5 kB / 0.744 GB, free: 22.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/1.09, allocations: 41.75 kB / 0.744 GB, free: 22.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04209/1.132, allocations: 21.59 MB / 0.7651 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/1.132, allocations: 131.4 kB / 0.7653 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000684/1.133, allocations: 249.5 kB / 0.7655 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03571/1.168, allocations: 10.87 MB / 0.7761 GB, free: 22.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.168, allocations: 0 / 0.7761 GB, free: 22.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.625e-06/1.168, allocations: 0 / 0.7761 GB, free: 22.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.143e-05/1.168, allocations: 2.219 kB / 0.7761 GB, free: 22.21 MB / 0.545 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.007462/1.176, allocations: 2.293 MB / 0.7784 GB, free: 20.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.176, allocations: 12.78 kB / 0.7784 GB, free: 20.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/1.177, allocations: 79.58 kB / 0.7784 GB, free: 20.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/1.177, allocations: 284.3 kB / 0.7787 GB, free: 20.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/1.177, allocations: 25.59 kB / 0.7787 GB, free: 20.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/1.177, allocations: 35.33 kB / 0.7788 GB, free: 20.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/1.178, allocations: 0.7556 MB / 0.7795 GB, free: 20.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/1.178, allocations: 1.094 kB / 0.7795 GB, free: 20.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/1.178, allocations: 17.16 kB / 0.7795 GB, free: 20.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.178, allocations: 18 kB / 0.7795 GB, free: 20.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/1.179, allocations: 0.5353 MB / 0.7801 GB, free: 20.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/1.181, allocations: 1.623 MB / 0.7817 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009558/1.182, allocations: 482.5 kB / 0.7821 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/1.183, allocations: 313 kB / 0.7824 GB, free: 19.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1513/1.334, allocations: 37.46 MB / 0.819 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/1.334, allocations: 34.16 kB / 0.819 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 4.268e-06/1.334, allocations: 0 / 0.819 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006845/1.341, allocations: 2.227 MB / 0.8212 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/1.341, allocations: 60.52 kB / 0.8213 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/1.341, allocations: 233.5 kB / 0.8215 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/1.341, allocations: 33.52 kB / 0.8215 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.341, allocations: 191.7 kB / 0.8217 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/1.342, allocations: 285.3 kB / 0.822 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/1.342, allocations: 101.7 kB / 0.8221 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.342, allocations: 357.2 kB / 0.8224 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/1.343, allocations: 279.2 kB / 0.8227 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/1.343, allocations: 405.4 kB / 0.8231 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.344, allocations: 0.7163 MB / 0.8238 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.344, allocations: 4 kB / 0.8238 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001704/1.346, allocations: 0.8232 MB / 0.8246 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.346, allocations: 4 kB / 0.8246 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.346, allocations: 4.766 kB / 0.8246 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/1.347, allocations: 107.7 kB / 0.8247 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.347, allocations: 105.6 kB / 0.8248 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07606/1.423, allocations: 18.97 MB / 0.8433 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/1.424, allocations: 31.72 kB / 0.8433 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/1.424, allocations: 19.36 kB / 0.8433 GB, free: 2.637 MB / 0.5762 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0003689/1.424, allocations: 196 kB / 0.8435 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.424, allocations: 40.42 kB / 0.8436 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/1.427, allocations: 1.724 MB / 0.8453 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.427, allocations: 11.94 kB / 0.8453 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.427, allocations: 0 / 0.8453 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/1.429, allocations: 1.301 MB / 0.8465 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/1.431, allocations: 1.623 MB / 0.8481 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.431, allocations: 4.766 kB / 0.8481 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/1.432, allocations: 74.81 kB / 0.8482 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/1.432, allocations: 200.3 kB / 0.8484 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.432, allocations: 19.36 kB / 0.8484 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.434, allocations: 2.454 MB / 0.8508 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.434, allocations: 0.6562 kB / 0.8508 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/1.437, allocations: 1.474 MB / 0.8522 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.437, allocations: 43.67 kB / 0.8523 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/1.437, allocations: 15.62 kB / 0.8523 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/1.437, allocations: 23.97 kB / 0.8523 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.438, allocations: 47.36 kB / 0.8524 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/1.438, allocations: 16.59 kB / 0.8524 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002634/1.438, allocations: 199.9 kB / 0.8526 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.438, allocations: 0 / 0.8526 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01147/1.449, allocations: 3.281 MB / 0.8558 GB, free: 7.781 MB / 0.5919 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: 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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02379/1.473, allocations: 4.211 MB / 0.8599 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002462/1.476, allocations: 0.9689 MB / 0.8608 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.476, allocations: 64 / 0.8608 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/1.476, allocations: 0.4924 MB / 0.8613 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.478, allocations: 382.3 kB / 0.8617 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/1.481, allocations: 1.212 MB / 0.8629 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.481, allocations: 254.7 kB / 0.8631 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003598/1.481, allocations: 116.3 kB / 0.8632 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.481, allocations: 39.42 kB / 0.8633 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.481, allocations: 0 / 0.8633 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.4655/1.947, allocations: 123.1 MB / 0.9834 GB, free: 333.6 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.445765472948551] Failed to read output from testmodel.py, exit status != 0: 1.9556229244917631 1.967973696 0.7966084529999999 Calling exit ...