Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009243/0.009243, allocations: 110.5 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001155/0.001154, allocations: 185.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.828/1.828, allocations: 194.6 MB / 211.3 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.199/2.199, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5469, allocations: 98.72 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9973/1.544, allocations: 395.1 MB / 1.069 GB, free: 56.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.545, allocations: 91.2 kB / 1.069 GB, free: 56.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 13.56/15.11, allocations: 2.828 GB / 3.897 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545e-06/15.11, allocations: 0 / 3.897 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001674/15.11, allocations: 253.3 kB / 3.898 GB, free: 114.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2143 * Number of variables: 2143 Notification: Performance of Generate backend data structure: time 0.03436/15.14, allocations: 9.744 MB / 3.907 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/15.14, allocations: 9.906 kB / 3.907 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007156/15.15, allocations: 1.152 MB / 3.908 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03109/15.18, allocations: 10.68 MB / 3.919 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007732/15.18, allocations: 0.6156 MB / 3.919 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003435/15.19, allocations: 0.8153 MB / 3.92 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03484/15.22, allocations: 11.45 MB / 3.931 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004645/15.22, allocations: 29.59 kB / 3.931 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003003/15.23, allocations: 353.3 kB / 3.932 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/15.23, allocations: 242.4 kB / 3.932 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/15.25, allocations: 9.628 MB / 3.941 GB, free: 108.5 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.084/15.34, allocations: 45.74 MB / 3.986 GB, free: 82.65 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/15.35, allocations: 6.368 MB / 3.992 GB, free: 80.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/15.35, allocations: 0.8241 MB / 3.993 GB, free: 79.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007794/15.36, allocations: 3.249 MB / 3.996 GB, free: 78.24 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005306/15.36, allocations: 0.5493 MB / 3.997 GB, free: 77.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=453): time 1.881e-05/15.36, allocations: 0 / 3.997 GB, free: 77.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=453): time 0.02174/15.39, allocations: 8.943 MB / 4.005 GB, free: 74.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/15.39, allocations: 150.3 kB / 4.006 GB, free: 74.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/15.4, allocations: 6.992 MB / 4.012 GB, free: 71.94 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009787/15.4, allocations: 112.9 kB / 4.012 GB, free: 71.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005428/15.41, allocations: 4.236 MB / 4.017 GB, free: 68.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/15.41, allocations: 1.568 MB / 4.018 GB, free: 67.44 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006648/15.41, allocations: 119.1 kB / 4.018 GB, free: 67.35 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004787/15.41, allocations: 0.5445 MB / 4.019 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006488/15.42, allocations: 2.986 MB / 4.022 GB, free: 65.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008231/15.43, allocations: 4.83 MB / 4.026 GB, free: 61.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008367/15.44, allocations: 4.027 MB / 4.03 GB, free: 58.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-05/15.44, allocations: 16 kB / 4.03 GB, free: 58.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02064/15.46, allocations: 8.743 MB / 4.039 GB, free: 50.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005515/15.46, allocations: 28.33 MB / 4.067 GB, free: 20.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/15.46, allocations: 56 kB / 4.067 GB, free: 20.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/15.46, allocations: 99.94 kB / 4.067 GB, free: 20.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007622/15.47, allocations: 1.43 MB / 4.068 GB, free: 19.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001478/15.47, allocations: 139 kB / 4.068 GB, free: 18.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009678/15.48, allocations: 0.625 MB / 4.069 GB, free: 18.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/15.48, allocations: 278.9 kB / 4.069 GB, free: 18.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/15.48, allocations: 6.531 kB / 4.069 GB, free: 18.22 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0176/15.5, allocations: 8.168 MB / 4.077 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/15.5, allocations: 59.61 kB / 4.077 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.941e-05/15.5, allocations: 96 kB / 4.077 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007459/15.51, allocations: 1.433 MB / 4.079 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001424/15.51, allocations: 130.5 kB / 4.079 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009073/15.52, allocations: 0.6033 MB / 4.079 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/15.52, allocations: 279.5 kB / 4.08 GB, free: 8.922 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 258 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00811/15.53, allocations: 3.546 MB / 4.083 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/15.53, allocations: 0.6947 MB / 4.084 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/15.55, allocations: 7.208 MB / 4.091 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/15.55, allocations: 43.95 kB / 4.091 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/15.55, allocations: 4 kB / 4.091 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01513/15.56, allocations: 5.746 MB / 4.096 GB, free: 10.4 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.698/16.26, allocations: 16.08 MB / 4.112 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/16.26, allocations: 0 / 4.112 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006303/16.27, allocations: 0.9101 MB / 4.113 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.482e-05/16.27, allocations: 16.69 kB / 4.113 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/16.27, allocations: 118.8 kB / 4.113 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.189e-05/16.27, allocations: 19.42 kB / 4.113 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.061e-06/16.27, allocations: 2.938 kB / 4.113 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/16.29, allocations: 10.58 MB / 4.124 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006636/16.3, allocations: 1.663 MB / 4.125 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003167/16.3, allocations: 96.53 kB / 4.125 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008363/16.31, allocations: 0.5677 MB / 4.126 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/16.31, allocations: 254.8 kB / 4.126 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007821/16.31, allocations: 149.2 kB / 4.126 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01403/16.33, allocations: 5.47 MB / 4.132 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.6e-07/16.33, allocations: 2.297 kB / 4.132 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0213/16.35, allocations: 4.878 MB / 4.136 GB, free: 121.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (447): * Single equations (assignments): 443 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/16.35, allocations: 0.9243 MB / 4.137 GB, free: 121 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02369/16.38, allocations: 11.48 MB / 4.148 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/16.38, allocations: 4.719 kB / 4.148 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006684/16.38, allocations: 3.212 MB / 4.152 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02412/16.41, allocations: 4.338 MB / 4.156 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/16.45, allocations: 22.48 MB / 4.178 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0111/16.46, allocations: 6.228 MB / 4.184 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01851/16.48, allocations: 4.26 MB / 4.188 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003275/16.48, allocations: 0.6055 MB / 4.189 GB, free: 112 MB / 0.8698 GB Notification: Performance of SimCode: time 1.597e-06/16.48, allocations: 3.188 kB / 4.189 GB, free: 112 MB / 0.8698 GB Notification: Performance of Templates: time 0.3219/16.8, allocations: 152.3 MB / 4.337 GB, free: 61.68 MB / 0.8698 GB