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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01256/0.01257, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001184/0.001184, allocations: 174.5 kB / 16.06 MB, free: 5.832 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.789/3.789, allocations: 389.1 MB / 405.9 MB, free: 13.36 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 4.23/4.23, allocations: 472.3 MB / 0.9017 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000705/0.0007055, allocations: 16 kB / 1.008 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7037, allocations: 98.72 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0684/0.7721, allocations: 50.92 MB / 1.154 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.8017, allocations: 16.43 MB / 1.17 GB, free: 165.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003368/0.8051, allocations: 60.88 kB / 1.17 GB, free: 165.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.8092, allocations: 0.7408 MB / 1.171 GB, free: 165.1 MB / 0.7292 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.01051/0.8198, allocations: 2.251 MB / 1.173 GB, free: 163.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006563/0.8264, allocations: 1.389 MB / 1.174 GB, free: 162.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02909/0.8555, allocations: 23.32 MB / 1.197 GB, free: 143.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.868, allocations: 7.095 MB / 1.204 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.8794, allocations: 5.097 MB / 1.209 GB, free: 131.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/0.8908, allocations: 5.454 MB / 1.214 GB, free: 125.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002288/0.8932, allocations: 344 kB / 1.215 GB, free: 125.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006918/0.9001, allocations: 0.7878 MB / 1.215 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003527/0.9037, allocations: 1.463 MB / 1.217 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003873/0.9076, allocations: 1.588 MB / 1.218 GB, free: 121.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.9219, allocations: 10.1 MB / 1.228 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.922, allocations: 4 kB / 1.228 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.364e-06/0.922, allocations: 3.938 kB / 1.228 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004322/0.9224, allocations: 0 / 1.228 GB, free: 111.5 MB / 0.7292 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.02118/0.9436, allocations: 6.87 MB / 1.235 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.9437, allocations: 8.031 kB / 1.235 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003124/0.9468, allocations: 0.8419 MB / 1.236 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.9514, allocations: 0.8384 MB / 1.237 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/0.9684, allocations: 6.347 MB / 1.243 GB, free: 96.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/0.9689, allocations: 456.2 kB / 1.243 GB, free: 96.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.971, allocations: 0.6053 MB / 1.244 GB, free: 95.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.9953, allocations: 8.791 MB / 1.252 GB, free: 86.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002745/0.9957, allocations: 19.86 kB / 1.252 GB, free: 86.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/0.9974, allocations: 256 kB / 1.253 GB, free: 86.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.9976, allocations: 183.9 kB / 1.253 GB, free: 85.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/1.019, allocations: 7.444 MB / 1.26 GB, free: 78.43 MB / 0.7292 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.06366/1.083, allocations: 34.66 MB / 1.294 GB, free: 41.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/1.093, allocations: 4.373 MB / 1.298 GB, free: 37.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007869/1.101, allocations: 3.402 MB / 1.301 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/1.103, allocations: 0.9857 MB / 1.302 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006249/1.109, allocations: 2.317 MB / 1.305 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004083/1.114, allocations: 451.7 kB / 1.305 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=326): time 1.288e-05/1.114, allocations: 0 / 1.305 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=326): time 0.0217/1.135, allocations: 7.163 MB / 1.312 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/1.135, allocations: 89.91 kB / 1.312 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.146, allocations: 5.243 MB / 1.317 GB, free: 17.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007923/1.147, allocations: 93.69 kB / 1.317 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003459/1.151, allocations: 3.11 MB / 1.32 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/1.152, allocations: 1.16 MB / 1.322 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004925/1.153, allocations: 88 kB / 1.322 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003092/1.153, allocations: 495.7 kB / 1.322 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00589/1.159, allocations: 2.163 MB / 1.324 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006837/1.166, allocations: 3.637 MB / 1.328 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/1.173, allocations: 2.925 MB / 1.331 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.557e-05/1.173, allocations: 12 kB / 1.331 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01976/1.193, allocations: 6.736 MB / 1.337 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.575e-05/1.193, allocations: 53.7 kB / 1.337 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-05/1.193, allocations: 47.98 kB / 1.337 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/1.195, allocations: 435.3 kB / 1.338 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007977/1.203, allocations: 1.022 MB / 1.339 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009171/1.212, allocations: 5.242 MB / 1.344 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008416/1.221, allocations: 466.8 kB / 1.344 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.222, allocations: 216 kB / 1.345 GB, free: 4.637 MB / 0.7448 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.007029/1.229, allocations: 2.448 MB / 1.347 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/1.231, allocations: 0.5094 MB / 1.347 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/1.248, allocations: 5.301 MB / 1.353 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/1.248, allocations: 39.98 kB / 1.353 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/1.248, allocations: 8 kB / 1.353 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01367/1.262, allocations: 4.569 MB / 1.357 GB, free: 7.605 MB / 0.7605 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.585/1.847, allocations: 11.84 MB / 1.369 GB, free: 214.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.847, allocations: 3.609 kB / 1.369 GB, free: 214.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005945/1.853, allocations: 0.6667 MB / 1.369 GB, free: 214.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/1.854, allocations: 371.4 kB / 1.37 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005334/1.855, allocations: 89.83 kB / 1.37 GB, free: 214.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007221/1.862, allocations: 5.151 MB / 1.375 GB, free: 210.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.862, allocations: 2.062 kB / 1.375 GB, free: 210.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/1.882, allocations: 7.66 MB / 1.382 GB, free: 207.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004616/1.887, allocations: 1.169 MB / 1.383 GB, free: 207.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/1.889, allocations: 65.22 kB / 1.383 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007544/1.896, allocations: 470.7 kB / 1.384 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009423/1.897, allocations: 210.5 kB / 1.384 GB, free: 207.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/1.898, allocations: 124.4 kB / 1.384 GB, free: 207.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00973/1.907, allocations: 3.648 MB / 1.388 GB, free: 205.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.52e-07/1.907, allocations: 0 / 1.388 GB, free: 205.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009609/1.917, allocations: 1.966 MB / 1.39 GB, free: 205.6 MB / 0.7605 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.02389/1.941, allocations: 8.576 MB / 1.398 GB, free: 201.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0152/1.956, allocations: 5.404 MB / 1.403 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.956, allocations: 2.094 kB / 1.403 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007174/1.963, allocations: 2.533 MB / 1.406 GB, free: 198.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02808/1.992, allocations: 3.195 MB / 1.409 GB, free: 198.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1767/2.168, allocations: 50.35 MB / 1.458 GB, free: 155.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007267/2.176, allocations: 4.698 MB / 1.463 GB, free: 150.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01148/2.187, allocations: 2.129 MB / 1.465 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006946/2.194, allocations: 2.62 MB / 1.467 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/2.194, allocations: 0 / 1.467 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3579/2.552, allocations: 165.6 MB / 1.629 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003992/2.553, allocations: 261.4 kB / 1.629 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/10.75, allocations: 0 / 1.629 GB, free: 14.5 MB / 0.7917 GB