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.004285/0.00429, allocations: 233.2 kB / 15.82 MB, free: 6.293 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.001182/0.001182, allocations: 172.9 kB / 16.7 MB, free: 5.449 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 3.974/3.974, allocations: 389 MB / 406.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.025/4.025, allocations: 472.3 MB / 0.9024 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006697/0.00067, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1777, allocations: 98.72 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.691/1.869, allocations: 395 MB / 1.49 GB, free: 236.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.869, allocations: 98.27 kB / 1.491 GB, free: 236.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 14.31/16.18, allocations: 2.807 GB / 4.298 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.275e-06/16.18, allocations: 0 / 4.298 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00162/16.18, allocations: 247.8 kB / 4.298 GB, free: 3.742 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 1.415/17.59, allocations: 9.742 MB / 4.307 GB, free: 77.57 MB / 0.8543 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/17.59, allocations: 8.812 kB / 4.307 GB, free: 77.57 MB / 0.8543 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009025/17.6, allocations: 1.153 MB / 4.308 GB, free: 77.04 MB / 0.8543 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03823/17.64, allocations: 10.09 MB / 4.318 GB, free: 76.21 MB / 0.8543 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001107/17.64, allocations: 0.6131 MB / 4.319 GB, free: 76.2 MB / 0.8543 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004523/17.65, allocations: 0.8202 MB / 4.32 GB, free: 76.19 MB / 0.8543 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04437/17.69, allocations: 11.52 MB / 4.331 GB, free: 75.03 MB / 0.8543 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006155/17.69, allocations: 24.19 kB / 4.331 GB, free: 75.02 MB / 0.8543 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003924/17.69, allocations: 354.9 kB / 4.331 GB, free: 75.02 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003526/17.7, allocations: 252.6 kB / 4.332 GB, free: 75.02 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03229/17.73, allocations: 9.63 MB / 4.341 GB, free: 74.96 MB / 0.8543 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.1077/17.84, allocations: 45.4 MB / 4.385 GB, free: 56.2 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01662/17.85, allocations: 6.242 MB / 4.391 GB, free: 55.93 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01684/17.87, allocations: 5.479 MB / 4.397 GB, free: 55.83 MB / 0.8543 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/17.87, allocations: 0.8259 MB / 4.397 GB, free: 55.07 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01051/17.88, allocations: 3.245 MB / 4.401 GB, free: 54.91 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006944/17.89, allocations: 0.5129 MB / 4.401 GB, free: 54.63 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=453): time 2.524e-05/17.89, allocations: 1.031 kB / 4.401 GB, free: 54.63 MB / 0.8543 GB Notification: Performance of matching and sorting (n=453): time 0.02696/17.92, allocations: 8.718 MB / 4.41 GB, free: 54.07 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/17.92, allocations: 159.1 kB / 4.41 GB, free: 53.94 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01906/17.94, allocations: 7.166 MB / 4.417 GB, free: 53.48 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.001453/17.94, allocations: 110.3 kB / 4.417 GB, free: 53.45 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.006699/17.94, allocations: 4.238 MB / 4.421 GB, free: 51.84 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.003333/17.95, allocations: 1.573 MB / 4.423 GB, free: 50.85 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009301/17.95, allocations: 118.9 kB / 4.423 GB, free: 50.85 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0005962/17.95, allocations: 0.5489 MB / 4.423 GB, free: 50.53 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00876/17.96, allocations: 2.96 MB / 4.426 GB, free: 50.52 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/17.97, allocations: 4.838 MB / 4.431 GB, free: 48.36 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/17.98, allocations: 4.01 MB / 4.435 GB, free: 48.25 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-05/17.98, allocations: 14.66 kB / 4.435 GB, free: 48.25 MB / 0.8543 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02589/18, allocations: 8.716 MB / 4.443 GB, free: 47.72 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.001329/18.01, allocations: 1.855 MB / 4.445 GB, free: 45.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/18.01, allocations: 56.59 kB / 4.445 GB, free: 45.5 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/18.01, allocations: 97.03 kB / 4.445 GB, free: 45.5 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/18.02, allocations: 1.378 MB / 4.447 GB, free: 45.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002061/18.02, allocations: 128.8 kB / 4.447 GB, free: 45.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/18.03, allocations: 0.605 MB / 4.447 GB, free: 45.45 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/18.03, allocations: 275.6 kB / 4.448 GB, free: 45.45 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/18.03, allocations: 8.141 kB / 4.448 GB, free: 45.45 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02245/18.06, allocations: 8.135 MB / 4.456 GB, free: 45.29 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/18.06, allocations: 55.94 kB / 4.456 GB, free: 45.29 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/18.06, allocations: 94.59 kB / 4.456 GB, free: 45.29 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/18.07, allocations: 1.374 MB / 4.457 GB, free: 45.29 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001769/18.07, allocations: 126.1 kB / 4.457 GB, free: 45.29 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/18.08, allocations: 0.5902 MB / 4.458 GB, free: 45.25 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/18.08, allocations: 280.5 kB / 4.458 GB, free: 45.24 MB / 0.8543 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.01006/18.09, allocations: 3.545 MB / 4.461 GB, free: 44.96 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002681/18.09, allocations: 0.6954 MB / 4.462 GB, free: 44.6 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/18.12, allocations: 7.011 MB / 4.469 GB, free: 44.3 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-05/18.12, allocations: 46 kB / 4.469 GB, free: 44.3 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/18.12, allocations: 0 / 4.469 GB, free: 44.3 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01761/18.13, allocations: 5.722 MB / 4.475 GB, free: 44.07 MB / 0.8543 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.05572/18.19, allocations: 16.15 MB / 4.49 GB, free: 40.88 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/18.19, allocations: 2.531 kB / 4.49 GB, free: 40.88 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009145/18.2, allocations: 0.9549 MB / 4.491 GB, free: 40.85 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-05/18.2, allocations: 18.22 kB / 4.491 GB, free: 40.85 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001307/18.2, allocations: 117.6 kB / 4.491 GB, free: 40.79 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.613e-05/18.2, allocations: 15.75 kB / 4.491 GB, free: 40.79 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/18.2, allocations: 0 / 4.491 GB, free: 40.79 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02761/18.23, allocations: 10.42 MB / 4.502 GB, free: 36.61 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007602/18.23, allocations: 1.571 MB / 4.503 GB, free: 35.76 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004043/18.24, allocations: 100.5 kB / 4.503 GB, free: 35.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0112/18.25, allocations: 0.5968 MB / 4.504 GB, free: 35.61 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00147/18.25, allocations: 246.1 kB / 4.504 GB, free: 35.58 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006739/18.25, allocations: 145.2 kB / 4.504 GB, free: 35.55 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.01453/18.27, allocations: 4.999 MB / 4.509 GB, free: 33.88 MB / 0.8543 GB Notification: Performance of sort global known variables: time 1.012e-06/18.27, allocations: 2.5 kB / 4.509 GB, free: 33.88 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.02478/18.29, allocations: 4.831 MB / 4.514 GB, free: 32.91 MB / 0.8543 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.003376/18.3, allocations: 0.9069 MB / 4.515 GB, free: 32.68 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.02956/18.32, allocations: 11.39 MB / 4.526 GB, free: 28.96 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/18.32, allocations: 6 kB / 4.526 GB, free: 28.96 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.008189/18.33, allocations: 3.176 MB / 4.529 GB, free: 27.76 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03955/18.37, allocations: 4.442 MB / 4.533 GB, free: 26.98 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05504/18.43, allocations: 22.53 MB / 4.555 GB, free: 14.22 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01341/18.44, allocations: 6.227 MB / 4.561 GB, free: 9.602 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.02388/18.46, allocations: 4.136 MB / 4.565 GB, free: 6.879 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004311/18.47, allocations: 0.6068 MB / 4.566 GB, free: 6.32 MB / 0.8543 GB Notification: Performance of SimCode: time 1.302e-06/18.47, allocations: 0 / 4.566 GB, free: 6.32 MB / 0.8543 GB Notification: Performance of Templates: time 1.099/19.57, allocations: 153 MB / 4.715 GB, free: 92.19 MB / 0.8855 GB