Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001471/0.001471, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001598/0.001598, allocations: 214.1 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.793 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.05341/0.05341, allocations: 9.131 MB / 321.6 MB, free: 10.34 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 68.12 kB / 447 MB, free: 352 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 54.95 MB / 0.4902 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3843/0.4967, allocations: 127 MB / 0.6143 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1055/0.6022, allocations: 86.72 MB / 0.6989 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.603, allocations: 11.94 kB / 0.699 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.6069, allocations: 1.233 MB / 0.7002 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.6114, allocations: 1.563 MB / 0.7017 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4501/1.062, allocations: 31.35 MB / 0.7323 GB, free: 23.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002135/1.064, allocations: 1.437 MB / 0.7337 GB, free: 23.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/1.064, allocations: 81.34 kB / 0.7338 GB, free: 23 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.01976/1.084, allocations: 10.1 MB / 0.7436 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/1.084, allocations: 376.4 kB / 0.744 GB, free: 22.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/1.084, allocations: 43.41 kB / 0.744 GB, free: 22.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0392/1.124, allocations: 20.06 MB / 0.7636 GB, free: 22.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/1.124, allocations: 128.4 kB / 0.7638 GB, free: 22.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007181/1.125, allocations: 254.4 kB / 0.764 GB, free: 22.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03651/1.161, allocations: 10.13 MB / 0.7739 GB, free: 22.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.161, allocations: 0.875 kB / 0.7739 GB, free: 22.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/1.161, allocations: 0 / 0.7739 GB, free: 22.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.175e-05/1.161, allocations: 0 / 0.7739 GB, free: 22.35 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.006626/1.168, allocations: 2.142 MB / 0.776 GB, free: 21.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.168, allocations: 14.36 kB / 0.776 GB, free: 21.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/1.168, allocations: 79.44 kB / 0.7761 GB, free: 21.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/1.169, allocations: 276.7 kB / 0.7763 GB, free: 20.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/1.169, allocations: 29.62 kB / 0.7764 GB, free: 20.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/1.169, allocations: 33.06 kB / 0.7764 GB, free: 20.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.17, allocations: 0.7473 MB / 0.7771 GB, free: 20.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.17, allocations: 5.938 kB / 0.7771 GB, free: 20.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/1.17, allocations: 14.22 kB / 0.7772 GB, free: 20.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/1.17, allocations: 17.36 kB / 0.7772 GB, free: 20.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.171, allocations: 0.5229 MB / 0.7777 GB, free: 20.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/1.174, allocations: 1.618 MB / 0.7793 GB, free: 19.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/1.175, allocations: 450.4 kB / 0.7797 GB, free: 19.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/1.175, allocations: 295.5 kB / 0.78 GB, free: 19.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1229/1.298, allocations: 34.17 MB / 0.8133 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/1.298, allocations: 42.17 kB / 0.8134 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.406e-06/1.298, allocations: 0 / 0.8134 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006699/1.305, allocations: 2.474 MB / 0.8158 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.305, allocations: 61.47 kB / 0.8159 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/1.305, allocations: 226.5 kB / 0.8161 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/1.305, allocations: 33.58 kB / 0.8161 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.305, allocations: 200.1 kB / 0.8163 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.306, allocations: 279.8 kB / 0.8166 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.306, allocations: 104.6 kB / 0.8167 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.306, allocations: 346.3 kB / 0.817 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/1.306, allocations: 291 kB / 0.8173 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/1.307, allocations: 408.8 kB / 0.8177 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.308, allocations: 0.7446 MB / 0.8184 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.308, allocations: 0 / 0.8184 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00154/1.31, allocations: 0.8244 MB / 0.8192 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.31, allocations: 11.94 kB / 0.8192 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.31, allocations: 1.203 kB / 0.8192 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/1.311, allocations: 153.4 kB / 0.8193 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/1.311, allocations: 118.3 kB / 0.8195 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.314, allocations: 3.625 MB / 0.823 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/1.314, allocations: 27.66 kB / 0.823 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/1.314, allocations: 20.42 kB / 0.823 GB, free: 6.156 MB / 0.5606 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): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003742/1.315, allocations: 204 kB / 0.8232 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.315, allocations: 39.7 kB / 0.8233 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/1.317, allocations: 1.702 MB / 0.8249 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.317, allocations: 21.48 kB / 0.825 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.317, allocations: 3.938 kB / 0.825 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/1.319, allocations: 1.265 MB / 0.8262 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/1.321, allocations: 1.619 MB / 0.8278 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.321, allocations: 0 / 0.8278 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/1.322, allocations: 71.73 kB / 0.8278 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/1.322, allocations: 255.8 kB / 0.8281 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.322, allocations: 10.31 kB / 0.8281 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/1.324, allocations: 1.799 MB / 0.8299 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.324, allocations: 0 / 0.8299 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/1.326, allocations: 1.495 MB / 0.8313 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.326, allocations: 35.75 kB / 0.8314 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/1.326, allocations: 18.19 kB / 0.8314 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/1.327, allocations: 26.91 kB / 0.8314 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.327, allocations: 45.98 kB / 0.8314 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/1.327, allocations: 15.67 kB / 0.8315 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002536/1.327, allocations: 198.8 kB / 0.8316 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.327, allocations: 0 / 0.8316 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006897/1.334, allocations: 2.007 MB / 0.8336 GB, free: 13.32 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.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/1.346, allocations: 2.839 MB / 0.8364 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002227/1.348, allocations: 0.8513 MB / 0.8372 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.348, allocations: 4 kB / 0.8372 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007909/1.349, allocations: 394.4 kB / 0.8376 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/1.351, allocations: 373.6 kB / 0.8379 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.353, allocations: 1.219 MB / 0.8391 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/1.353, allocations: 242.1 kB / 0.8394 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003293/1.353, allocations: 79.2 kB / 0.8394 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/1.353, allocations: 37.52 kB / 0.8395 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/1.353, allocations: 4 kB / 0.8395 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of Templates: time 0.107/1.46, allocations: 72.28 MB / 0.9101 GB, free: 0.5898 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.996722431853414] Failed to read output from testmodel.py, exit status != 0: 1.4684119503945112 1.48333148 0.318590001 Calling exit ...