Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01072/0.01073, allocations: 221.5 kB / 15.17 MB, free: 5.996 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.001117/0.001117, allocations: 178.6 kB / 16.06 MB, free: 5.867 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.466/3.466, allocations: 389 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.885/3.885, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005187, allocations: 15.98 kB / 1.008 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4813, allocations: 98.71 MB / 1.104 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06295/0.5443, allocations: 50.92 MB / 1.154 GB, free: 7.688 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.5716, allocations: 16.44 MB / 1.17 GB, free: 7.211 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.5742, allocations: 63.62 kB / 1.17 GB, free: 7.148 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.5768, allocations: 0.7296 MB / 1.171 GB, free: 6.414 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007934/0.5848, allocations: 2.249 MB / 1.173 GB, free: 4.152 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005297/0.5901, allocations: 1.4 MB / 1.174 GB, free: 2.75 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02815/0.6182, allocations: 23.32 MB / 1.197 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.6304, allocations: 7.087 MB / 1.204 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.6409, allocations: 5.105 MB / 1.209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.6513, allocations: 5.454 MB / 1.214 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.6526, allocations: 344 kB / 1.214 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.6573, allocations: 0.7838 MB / 1.215 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.6597, allocations: 1.463 MB / 1.217 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003421/0.6631, allocations: 1.584 MB / 1.218 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.6771, allocations: 10.1 MB / 1.228 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.443e-06/0.6771, allocations: 0 / 1.228 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.417e-06/0.6771, allocations: 0 / 1.228 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002127/0.6773, allocations: 4 kB / 1.228 GB, free: 11.29 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01782/0.6952, allocations: 6.873 MB / 1.235 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.6952, allocations: 16.03 kB / 1.235 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.699, allocations: 0.8383 MB / 1.236 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/0.7149, allocations: 6.341 MB / 1.242 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005496/0.7155, allocations: 460.2 kB / 1.242 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.7173, allocations: 0.5975 MB / 1.243 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.74, allocations: 8.787 MB / 1.251 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.7403, allocations: 19.78 kB / 1.251 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/0.7414, allocations: 260 kB / 1.252 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.7416, allocations: 187.7 kB / 1.252 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.7613, allocations: 7.438 MB / 1.259 GB, free: 11.02 MB / 0.6667 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.5148/1.276, allocations: 34.66 MB / 1.293 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009198/1.285, allocations: 4.372 MB / 1.297 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006724/1.292, allocations: 3.401 MB / 1.301 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.294, allocations: 0.9848 MB / 1.302 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004598/1.298, allocations: 2.321 MB / 1.304 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002885/1.301, allocations: 448.4 kB / 1.304 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=326): time 7.37e-06/1.301, allocations: 0 / 1.304 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=326): time 0.01652/1.318, allocations: 7.162 MB / 1.311 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/1.318, allocations: 88.88 kB / 1.311 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008554/1.326, allocations: 5.248 MB / 1.316 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005694/1.327, allocations: 90.39 kB / 1.317 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00288/1.33, allocations: 3.115 MB / 1.32 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.331, allocations: 1.149 MB / 1.321 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/1.332, allocations: 91.31 kB / 1.321 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002748/1.332, allocations: 495.5 kB / 1.321 GB, free: 137 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/1.336, allocations: 2.166 MB / 1.323 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/1.341, allocations: 3.631 MB / 1.327 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/1.346, allocations: 2.921 MB / 1.33 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/1.346, allocations: 12 kB / 1.33 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01337/1.36, allocations: 6.741 MB / 1.336 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/1.36, allocations: 49.7 kB / 1.336 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/1.36, allocations: 51.94 kB / 1.336 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.361, allocations: 437.4 kB / 1.337 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.365, allocations: 1.018 MB / 1.338 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/1.371, allocations: 5.253 MB / 1.343 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/1.377, allocations: 470.8 kB / 1.343 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007735/1.378, allocations: 216 kB / 1.344 GB, free: 114.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (544): * Single equations (assignments): 541 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004379/1.383, allocations: 2.444 MB / 1.346 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.384, allocations: 0.5133 MB / 1.347 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009885/1.394, allocations: 5.304 MB / 1.352 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/1.394, allocations: 35.98 kB / 1.352 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.394, allocations: 4 kB / 1.352 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007728/1.402, allocations: 4.571 MB / 1.356 GB, free: 101.1 MB / 0.6823 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.02504/1.427, allocations: 11.83 MB / 1.368 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.427, allocations: 3.844 kB / 1.368 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/1.43, allocations: 0.6671 MB / 1.368 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/1.431, allocations: 369.3 kB / 1.369 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003476/1.432, allocations: 91.94 kB / 1.369 GB, free: 88.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00576/1.438, allocations: 5.158 MB / 1.374 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-06/1.438, allocations: 0 / 1.374 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.451, allocations: 7.642 MB / 1.381 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0035/1.455, allocations: 1.174 MB / 1.383 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.456, allocations: 67.92 kB / 1.383 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004889/1.461, allocations: 467.8 kB / 1.383 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/1.461, allocations: 202.4 kB / 1.383 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003503/1.462, allocations: 123.9 kB / 1.383 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.006464/1.468, allocations: 3.649 MB / 1.387 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.51e-07/1.468, allocations: 1.969 kB / 1.387 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006541/1.475, allocations: 1.967 MB / 1.389 GB, free: 67.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/1.476, allocations: 473.7 kB / 1.389 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009452/1.486, allocations: 5.402 MB / 1.395 GB, free: 61.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.772e-06/1.486, allocations: 4 kB / 1.395 GB, free: 61.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004395/1.49, allocations: 2.53 MB / 1.397 GB, free: 58.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01718/1.507, allocations: 3.188 MB / 1.4 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.534, allocations: 16.24 MB / 1.416 GB, free: 39.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004999/1.539, allocations: 4.702 MB / 1.421 GB, free: 34.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008031/1.547, allocations: 2.135 MB / 1.423 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.549, allocations: 455.3 kB / 1.423 GB, free: 32.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.892e-06/1.549, allocations: 0 / 1.423 GB, free: 32.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.2393/1.788, allocations: 109.8 MB / 1.53 GB, free: 3.426 MB / 0.7605 GB