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.001483/0.001483, allocations: 85.22 kB / 19.76 MB, free: 2.016 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.002075/0.002075, allocations: 154.9 kB / 23.01 MB, free: 4.973 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.533/1.533, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.05083/0.05083, allocations: 7.539 MB / 267.3 MB, free: 9.574 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.002075/0.002075, allocations: 71.89 kB / 392.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1216, allocations: 54.91 MB / 447.7 MB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.3616/0.4832, allocations: 127 MB / 0.5612 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1031/0.5863, allocations: 86.74 MB / 0.6459 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.5869, allocations: 7.938 kB / 0.6459 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.5902, allocations: 1.233 MB / 0.6471 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004187/0.5944, allocations: 1.576 MB / 0.6487 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.08475/0.6792, allocations: 31.36 MB / 0.6793 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.6826, allocations: 1.418 MB / 0.6807 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.6829, allocations: 81.91 kB / 0.6808 GB, free: 13.1 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.02049/0.7034, allocations: 10.19 MB / 0.6907 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.7041, allocations: 374.5 kB / 0.6911 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.7042, allocations: 40 kB / 0.6911 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.358/1.062, allocations: 24.65 MB / 0.7152 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/1.062, allocations: 127.2 kB / 0.7153 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000568/1.063, allocations: 257.1 kB / 0.7156 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03996/1.103, allocations: 12.35 MB / 0.7276 GB, free: 37.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.103, allocations: 0 / 0.7276 GB, free: 37.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/1.103, allocations: 0 / 0.7276 GB, free: 37.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.379e-05/1.103, allocations: 0.5938 kB / 0.7276 GB, free: 37.81 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.009798/1.113, allocations: 2.59 MB / 0.7302 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.113, allocations: 10.22 kB / 0.7302 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/1.114, allocations: 91.7 kB / 0.7302 GB, free: 36.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/1.114, allocations: 284.4 kB / 0.7305 GB, free: 36.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/1.114, allocations: 31.5 kB / 0.7306 GB, free: 36.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/1.114, allocations: 32.38 kB / 0.7306 GB, free: 36.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.115, allocations: 0.7628 MB / 0.7313 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.115, allocations: 1.875 kB / 0.7313 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/1.116, allocations: 16.95 kB / 0.7313 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/1.116, allocations: 16.03 kB / 0.7314 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/1.117, allocations: 0.5488 MB / 0.7319 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/1.119, allocations: 1.65 MB / 0.7335 GB, free: 35.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.12, allocations: 484.7 kB / 0.734 GB, free: 35.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/1.12, allocations: 325.3 kB / 0.7343 GB, free: 35.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1988/1.319, allocations: 44.03 MB / 0.7773 GB, free: 18.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/1.319, allocations: 38.72 kB / 0.7773 GB, free: 18.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/1.319, allocations: 4 kB / 0.7773 GB, free: 18.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006016/1.325, allocations: 2.24 MB / 0.7795 GB, free: 16.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.325, allocations: 55.41 kB / 0.7796 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/1.326, allocations: 234.8 kB / 0.7798 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/1.326, allocations: 33.52 kB / 0.7798 GB, free: 16.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/1.326, allocations: 195.1 kB / 0.78 GB, free: 16.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.326, allocations: 284 kB / 0.7803 GB, free: 16.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.326, allocations: 100.1 kB / 0.7804 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/1.326, allocations: 347.9 kB / 0.7807 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/1.326, allocations: 282.8 kB / 0.781 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/1.327, allocations: 415.8 kB / 0.7814 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/1.328, allocations: 0.7286 MB / 0.7821 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.328, allocations: 0 / 0.7821 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001282/1.329, allocations: 0.8202 MB / 0.7829 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.329, allocations: 4 kB / 0.7829 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.329, allocations: 4 kB / 0.7829 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/1.329, allocations: 68.23 kB / 0.7829 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/1.33, allocations: 131 kB / 0.7831 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06866/1.399, allocations: 18.85 MB / 0.8015 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/1.399, allocations: 27.73 kB / 0.8015 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/1.399, allocations: 23.73 kB / 0.8015 GB, free: 11.63 MB / 0.5762 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.0003084/1.4, allocations: 194.3 kB / 0.8017 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/1.4, allocations: 43.7 kB / 0.8018 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/1.402, allocations: 1.617 MB / 0.8033 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.402, allocations: 19.67 kB / 0.8034 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.402, allocations: 4 kB / 0.8034 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/1.403, allocations: 1.203 MB / 0.8045 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/1.406, allocations: 1.533 MB / 0.806 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.406, allocations: 4.031 kB / 0.806 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/1.406, allocations: 75.27 kB / 0.8061 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/1.407, allocations: 109.6 kB / 0.8062 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.407, allocations: 11.06 kB / 0.8062 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/1.408, allocations: 1.862 MB / 0.808 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.408, allocations: 0 / 0.808 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.41, allocations: 1.288 MB / 0.8093 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/1.41, allocations: 35.75 kB / 0.8093 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/1.41, allocations: 11.81 kB / 0.8093 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/1.411, allocations: 31.53 kB / 0.8094 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.411, allocations: 46.33 kB / 0.8094 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/1.411, allocations: 20.62 kB / 0.8094 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002435/1.411, allocations: 220.6 kB / 0.8096 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.411, allocations: 0 / 0.8096 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01371/1.425, allocations: 3.573 MB / 0.8131 GB, free: 1.449 MB / 0.5762 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.02423/1.449, allocations: 4.63 MB / 0.8177 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.452, allocations: 0.9808 MB / 0.8186 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.452, allocations: 0 / 0.8186 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000937/1.453, allocations: 482 kB / 0.8191 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.455, allocations: 375.4 kB / 0.8194 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/1.457, allocations: 1.178 MB / 0.8206 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/1.457, allocations: 250.2 kB / 0.8208 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003942/1.457, allocations: 137.1 kB / 0.821 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.457, allocations: 48.42 kB / 0.821 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/1.457, allocations: 0 / 0.821 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.4609/1.918, allocations: 126.3 MB / 0.9444 GB, free: 322.5 MB / 0.7012 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.96477178693749] Failed to read output from testmodel.py, exit status != 0: 1.928104760008864 1.937761235 0.8321833319999999 Calling exit ...