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.007232/0.007232, allocations: 236.1 kB / 15.8 MB, free: 6.316 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.001796/0.001796, allocations: 180.4 kB / 16.69 MB, free: 5.473 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.536/3.536, allocations: 389.1 MB / 406.5 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.596/4.596, allocations: 472.3 MB / 0.9023 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004837, allocations: 12 kB / 1.008 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 98.7 MB / 1.105 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07421/0.2739, allocations: 50.93 MB / 1.154 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.5872/0.8612, allocations: 16.42 MB / 1.17 GB, free: 215.4 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.864, allocations: 61.66 kB / 1.17 GB, free: 215.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.8678, allocations: 0.733 MB / 1.171 GB, free: 215.4 MB / 0.7917 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.009285/0.8771, allocations: 2.251 MB / 1.173 GB, free: 215.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00882/0.886, allocations: 1.391 MB / 1.175 GB, free: 215.3 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.05301/0.939, allocations: 23.32 MB / 1.197 GB, free: 212 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02473/0.9638, allocations: 7.087 MB / 1.204 GB, free: 210.8 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01967/0.9835, allocations: 5.104 MB / 1.209 GB, free: 209.1 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01666/1, allocations: 5.459 MB / 1.215 GB, free: 207.3 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003002/1.003, allocations: 343.3 kB / 1.215 GB, free: 207.3 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008184/1.012, allocations: 0.7851 MB / 1.216 GB, free: 207.2 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004443/1.016, allocations: 1.457 MB / 1.217 GB, free: 206.5 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.005466/1.022, allocations: 1.59 MB / 1.219 GB, free: 205.7 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/1.039, allocations: 10.11 MB / 1.229 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/1.039, allocations: 0 / 1.229 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.715e-06/1.039, allocations: 0 / 1.229 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004665/1.039, allocations: 0 / 1.229 GB, free: 201.1 MB / 0.7917 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.02429/1.063, allocations: 6.866 MB / 1.235 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.064, allocations: 10.03 kB / 1.235 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0052/1.069, allocations: 0.8431 MB / 1.236 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/1.087, allocations: 6.342 MB / 1.242 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004633/1.087, allocations: 457.7 kB / 1.243 GB, free: 192.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002619/1.09, allocations: 0.5966 MB / 1.243 GB, free: 191.9 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03272/1.123, allocations: 8.799 MB / 1.252 GB, free: 183.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000352/1.123, allocations: 19.78 kB / 1.252 GB, free: 183.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002615/1.126, allocations: 255.5 kB / 1.252 GB, free: 183.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003105/1.126, allocations: 190.4 kB / 1.252 GB, free: 183.2 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/1.16, allocations: 7.438 MB / 1.26 GB, free: 175.7 MB / 0.7917 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.08104/1.241, allocations: 34.66 MB / 1.294 GB, free: 139.5 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009666/1.251, allocations: 4.369 MB / 1.298 GB, free: 135.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007189/1.258, allocations: 3.409 MB / 1.301 GB, free: 131.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/1.26, allocations: 0.9911 MB / 1.302 GB, free: 130.6 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005505/1.265, allocations: 2.314 MB / 1.304 GB, free: 128.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00368/1.269, allocations: 439.7 kB / 1.305 GB, free: 127.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=326): time 1.317e-05/1.269, allocations: 3.375 kB / 1.305 GB, free: 127.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=326): time 0.02062/1.29, allocations: 7.164 MB / 1.312 GB, free: 120.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/1.29, allocations: 94.17 kB / 1.312 GB, free: 120.5 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.301, allocations: 5.247 MB / 1.317 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0008785/1.302, allocations: 85.7 kB / 1.317 GB, free: 115.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.003209/1.305, allocations: 3.116 MB / 1.32 GB, free: 112 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.307, allocations: 1.152 MB / 1.321 GB, free: 110.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/1.307, allocations: 92 kB / 1.321 GB, free: 110.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002401/1.308, allocations: 487.7 kB / 1.322 GB, free: 110.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.313, allocations: 2.171 MB / 1.324 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006549/1.319, allocations: 3.633 MB / 1.327 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/1.326, allocations: 2.922 MB / 1.33 GB, free: 100.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.053e-05/1.326, allocations: 20 kB / 1.33 GB, free: 100.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01755/1.344, allocations: 6.732 MB / 1.337 GB, free: 94.08 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/1.344, allocations: 52.44 kB / 1.337 GB, free: 94.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-05/1.344, allocations: 49.81 kB / 1.337 GB, free: 93.98 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/1.346, allocations: 433.5 kB / 1.337 GB, free: 93.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007286/1.353, allocations: 1.022 MB / 1.338 GB, free: 92.53 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/1.36, allocations: 5.246 MB / 1.344 GB, free: 87.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008609/1.369, allocations: 466.8 kB / 1.344 GB, free: 86.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.37, allocations: 216 kB / 1.344 GB, free: 86.36 MB / 0.7917 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.006103/1.376, allocations: 2.448 MB / 1.347 GB, free: 83.9 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/1.378, allocations: 0.5056 MB / 1.347 GB, free: 83.39 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.392, allocations: 5.312 MB / 1.352 GB, free: 78.04 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01034/1.402, allocations: 4.579 MB / 1.357 GB, free: 73.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.402, allocations: 0 / 1.357 GB, free: 73.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004678/1.407, allocations: 1.197 MB / 1.358 GB, free: 72.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001855/1.409, allocations: 67.94 kB / 1.358 GB, free: 72.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006916/1.416, allocations: 377.1 kB / 1.358 GB, free: 71.71 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/1.416, allocations: 214.3 kB / 1.359 GB, free: 71.5 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01629/1.433, allocations: 5.388 MB / 1.364 GB, free: 66.13 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01781/1.451, allocations: 7.977 MB / 1.372 GB, free: 58.08 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005034/1.456, allocations: 2.238 MB / 1.374 GB, free: 55.83 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.007834/1.463, allocations: 3.646 MB / 1.377 GB, free: 52.2 MB / 0.7917 GB Notification: Performance of Backend: time 8.61e-07/1.464, allocations: 0 / 1.377 GB, free: 52.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.476, allocations: 4.102 MB / 1.381 GB, free: 48.13 MB / 0.7917 GB Notification: Performance of SimCode: time 0.04405/1.52, allocations: 17.77 MB / 1.399 GB, free: 30.62 MB / 0.7917 GB Notification: Performance of Templates: time 1.285/2.805, allocations: 110.3 MB / 1.506 GB, free: 239 MB / 0.823 GB