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.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00433/0.004334, allocations: 240.5 kB / 15.81 MB, free: 6.281 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.001153/0.001153, allocations: 182.6 kB / 16.69 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.872/3.872, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.023/4.023, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004547, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03975/0.2056, allocations: 34.51 MB / 1.138 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.228, allocations: 11.57 MB / 1.15 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.2301, allocations: 43.69 kB / 1.15 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.2329, allocations: 0.5738 MB / 1.15 GB, free: 11.48 MB / 0.6198 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. Notification: Performance of NFTyping.typeBindings: time 0.006901/0.2399, allocations: 1.578 MB / 1.152 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/0.2506, allocations: 2.529 MB / 1.154 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.5595/0.8101, allocations: 8.827 MB / 1.163 GB, free: 36.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005514/0.8157, allocations: 2.712 MB / 1.165 GB, free: 36.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005604/0.8213, allocations: 2.042 MB / 1.167 GB, free: 36.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005651/0.827, allocations: 2.128 MB / 1.17 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008811/0.828, allocations: 132.3 kB / 1.17 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.8317, allocations: 0.6177 MB / 1.17 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.8333, allocations: 0.562 MB / 1.171 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.8352, allocations: 0.6374 MB / 1.171 GB, free: 36.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007091/0.8424, allocations: 3.872 MB / 1.175 GB, free: 36.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8424, allocations: 1.219 kB / 1.175 GB, free: 36.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8424, allocations: 0 / 1.175 GB, free: 36.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001492/0.8426, allocations: 0 / 1.175 GB, free: 36.39 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009644/0.8522, allocations: 2.956 MB / 1.178 GB, free: 35.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.8523, allocations: 12.36 kB / 1.178 GB, free: 35.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.8544, allocations: 356.2 kB / 1.178 GB, free: 34.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007289/0.8617, allocations: 2.483 MB / 1.181 GB, free: 34.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.862, allocations: 175.8 kB / 1.181 GB, free: 34.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006801/0.8627, allocations: 239.1 kB / 1.181 GB, free: 34.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008762/0.8714, allocations: 3.17 MB / 1.184 GB, free: 34.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.001e-05/0.8716, allocations: 2.438 kB / 1.184 GB, free: 34.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.8719, allocations: 97.97 kB / 1.184 GB, free: 34.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.219e-05/0.872, allocations: 65.56 kB / 1.185 GB, free: 34.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007814/0.8799, allocations: 2.558 MB / 1.187 GB, free: 34.02 MB / 0.6198 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.02711/0.907, allocations: 13.66 MB / 1.2 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.9111, allocations: 1.609 MB / 1.202 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.9135, allocations: 1.16 MB / 1.203 GB, free: 42.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.9146, allocations: 0.7167 MB / 1.204 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.9147, allocations: 48.97 kB / 1.204 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002234/0.9169, allocations: 190.4 kB / 1.204 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=124): time 5.621e-06/0.917, allocations: 0 / 1.204 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124): time 0.01076/0.9277, allocations: 3.048 MB / 1.207 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.9279, allocations: 142.6 kB / 1.207 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.9318, allocations: 1.924 MB / 1.209 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004121/0.9323, allocations: 55.39 kB / 1.209 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.9337, allocations: 1.245 MB / 1.21 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007029/0.9344, allocations: 436.8 kB / 1.211 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.9346, allocations: 32.53 kB / 1.211 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000277/0.9349, allocations: 376.1 kB / 1.211 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.9367, allocations: 0.7256 MB / 1.212 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.9388, allocations: 1.233 MB / 1.213 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.941, allocations: 0.9465 MB / 1.214 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.941, allocations: 7.078 kB / 1.214 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005936/0.947, allocations: 2.394 MB / 1.216 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003108/0.9473, allocations: 0.4977 MB / 1.217 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.9473, allocations: 18.38 kB / 1.217 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.9494, allocations: 404.3 kB / 1.217 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/0.9519, allocations: 344.3 kB / 1.217 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00472/0.9567, allocations: 3.144 MB / 1.221 GB, free: 36.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/0.9604, allocations: 225 kB / 1.221 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.9606, allocations: 84.73 kB / 1.221 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.9606, allocations: 3.062 kB / 1.221 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005605/0.9662, allocations: 2.17 MB / 1.223 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.9663, allocations: 15.5 kB / 1.223 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/0.9673, allocations: 258.4 kB / 1.223 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.97, allocations: 362.9 kB / 1.224 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.976, allocations: 4.163 MB / 1.228 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.9796, allocations: 220.1 kB / 1.228 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.9799, allocations: 82.02 kB / 1.228 GB, free: 32.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002533/0.9824, allocations: 0.9933 MB / 1.229 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006542/0.9831, allocations: 201.6 kB / 1.229 GB, free: 32.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/0.9886, allocations: 2.041 MB / 1.231 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003914/0.9925, allocations: 1.66 MB / 1.233 GB, free: 30.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.9926, allocations: 6.516 kB / 1.233 GB, free: 30.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/0.9945, allocations: 0.4943 MB / 1.233 GB, free: 30.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/0.9949, allocations: 29.53 kB / 1.233 GB, free: 30.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/0.9975, allocations: 191.3 kB / 1.233 GB, free: 30.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.9978, allocations: 99.06 kB / 1.233 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006522/1.004, allocations: 2.135 MB / 1.236 GB, free: 29.73 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006377/1.011, allocations: 2.846 MB / 1.238 GB, free: 28.52 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001651/1.012, allocations: 0.7774 MB / 1.239 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003108/1.016, allocations: 1.312 MB / 1.24 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of Backend: time 1.092e-06/1.016, allocations: 1.781 kB / 1.24 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009559/1.025, allocations: 3.072 MB / 1.243 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01794/1.043, allocations: 7.138 MB / 1.25 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.1186/1.162, allocations: 46.62 MB / 1.296 GB, free: 10.23 MB / 0.6667 GB