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.004192/0.004192, allocations: 240.5 kB / 15.81 MB, free: 6.277 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.00109/0.00109, allocations: 184.7 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.988/3.988, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.269/4.269, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007258/0.0007261, allocations: 15.31 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2249, allocations: 98.74 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.1434/0.3684, allocations: 51.11 MB / 1.155 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6295/0.9979, allocations: 15.97 MB / 1.17 GB, free: 35.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/1.001, allocations: 66.75 kB / 1.17 GB, free: 35.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003875/1.005, allocations: 0.7807 MB / 1.171 GB, free: 35.38 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.01029/1.015, allocations: 2.351 MB / 1.173 GB, free: 35.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007509/1.023, allocations: 1.538 MB / 1.175 GB, free: 35.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.04423/1.067, allocations: 32.06 MB / 1.206 GB, free: 31.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02216/1.089, allocations: 9.939 MB / 1.216 GB, free: 29.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01825/1.108, allocations: 6.917 MB / 1.223 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0194/1.127, allocations: 7.511 MB / 1.23 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.003738/1.131, allocations: 466.5 kB / 1.23 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/1.141, allocations: 1.164 MB / 1.231 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005632/1.147, allocations: 2.011 MB / 1.233 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.007514/1.154, allocations: 2.183 MB / 1.236 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/1.177, allocations: 14.07 MB / 1.249 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.177, allocations: 0 / 1.249 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.836e-06/1.177, allocations: 4 kB / 1.249 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0007099/1.178, allocations: 0 / 1.249 GB, free: 11.89 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: 2143 * Number of variables: 2143 Notification: Performance of Generate backend data structure: time 0.03224/1.21, allocations: 9.421 MB / 1.258 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.211, allocations: 8.031 kB / 1.258 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006927/1.217, allocations: 1.161 MB / 1.26 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/1.247, allocations: 8.805 MB / 1.268 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009841/1.248, allocations: 0.6055 MB / 1.269 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003777/1.252, allocations: 0.823 MB / 1.27 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/1.295, allocations: 12.23 MB / 1.282 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005559/1.296, allocations: 31.72 kB / 1.282 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003186/1.299, allocations: 350.9 kB / 1.282 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000398/1.3, allocations: 247.9 kB / 1.282 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/1.335, allocations: 10.36 MB / 1.292 GB, free: 15.62 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.11/1.445, allocations: 48.03 MB / 1.339 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/1.462, allocations: 6.278 MB / 1.345 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01369/1.476, allocations: 5.054 MB / 1.35 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/1.478, allocations: 0.846 MB / 1.351 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01006/1.488, allocations: 3.274 MB / 1.354 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006063/1.494, allocations: 0.4984 MB / 1.355 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=453): time 1.458e-05/1.494, allocations: 0 / 1.355 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=453): time 0.02846/1.523, allocations: 8.765 MB / 1.363 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.523, allocations: 158.2 kB / 1.363 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02008/1.543, allocations: 7.156 MB / 1.37 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/1.544, allocations: 105.7 kB / 1.371 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.007579/1.552, allocations: 4.245 MB / 1.375 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003523/1.555, allocations: 1.575 MB / 1.376 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007933/1.556, allocations: 116 kB / 1.376 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000634/1.557, allocations: 0.5459 MB / 1.377 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009393/1.566, allocations: 2.986 MB / 1.38 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.578, allocations: 4.842 MB / 1.385 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/1.59, allocations: 4.031 MB / 1.388 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.395e-05/1.59, allocations: 16 kB / 1.388 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02904/1.619, allocations: 8.75 MB / 1.397 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001871/1.621, allocations: 1.86 MB / 1.399 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.621, allocations: 56 kB / 1.399 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/1.621, allocations: 106.5 kB / 1.399 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/1.633, allocations: 1.361 MB / 1.4 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002154/1.633, allocations: 127.6 kB / 1.4 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/1.645, allocations: 0.6155 MB / 1.401 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/1.647, allocations: 276 kB / 1.401 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.647, allocations: 4 kB / 1.401 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02554/1.672, allocations: 8.162 MB / 1.409 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.673, allocations: 56.97 kB / 1.409 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/1.673, allocations: 100 kB / 1.409 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/1.684, allocations: 1.365 MB / 1.411 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002087/1.684, allocations: 125.3 kB / 1.411 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/1.696, allocations: 0.5962 MB / 1.411 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.697, allocations: 272 kB / 1.412 GB, free: 1.207 MB / 0.7761 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.01072/1.708, allocations: 3.543 MB / 1.415 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003334/1.712, allocations: 0.6986 MB / 1.416 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02501/1.737, allocations: 7.038 MB / 1.423 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01894/1.756, allocations: 5.741 MB / 1.428 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/1.756, allocations: 4 kB / 1.428 GB, free: 88 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008455/1.764, allocations: 1.636 MB / 1.43 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003544/1.768, allocations: 95.98 kB / 1.43 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/1.779, allocations: 0.5195 MB / 1.431 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/1.78, allocations: 247.2 kB / 1.431 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02561/1.806, allocations: 7.033 MB / 1.438 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03241/1.838, allocations: 11.24 MB / 1.449 GB, free: 11.26 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008361/1.847, allocations: 3.197 MB / 1.452 GB, free: 8.059 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01426/1.861, allocations: 4.989 MB / 1.457 GB, free: 3.094 MB / 0.823 GB Notification: Performance of Backend: time 2.825e-06/1.861, allocations: 0 / 1.457 GB, free: 3.094 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03406/1.895, allocations: 9.491 MB / 1.466 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of SimCode: time 1.181/3.076, allocations: 24.07 MB / 1.489 GB, free: 263.1 MB / 0.8387 GB Notification: Performance of Templates: time 0.4385/3.515, allocations: 170.8 MB / 1.656 GB, free: 139.3 MB / 0.8387 GB