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.009251/0.009251, allocations: 108.4 kB / 15.06 MB, free: 5.562 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.001137/0.001137, allocations: 187.6 kB / 15.95 MB, free: 5.523 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 1.952/1.952, allocations: 194.6 MB / 211.3 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.279/2.279, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.000479, allocations: 8 kB / 0.5869 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5404, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06359/0.604, allocations: 46.26 MB / 0.7285 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02947/0.6335, allocations: 15.33 MB / 0.7435 GB, free: 0.75 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.6366, allocations: 63.56 kB / 0.7435 GB, free: 0.6875 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.6401, allocations: 0.8124 MB / 0.7443 GB, free: 15.87 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008569/0.6487, allocations: 2.103 MB / 0.7464 GB, free: 13.76 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.6546, allocations: 1.397 MB / 0.7477 GB, free: 12.36 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01945/0.674, allocations: 11.33 MB / 0.7588 GB, free: 1.004 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.687, allocations: 7.107 MB / 0.7658 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009759/0.6968, allocations: 4.45 MB / 0.7701 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007925/0.7048, allocations: 3.855 MB / 0.7739 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001858/0.7067, allocations: 344 kB / 0.7742 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.7119, allocations: 0.8391 MB / 0.775 GB, free: 328 kB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.002856/0.7148, allocations: 1.409 MB / 0.7764 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.003575/0.7184, allocations: 1.584 MB / 0.7779 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.7343, allocations: 10.05 MB / 0.7878 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.163e-06/0.7344, allocations: 0 / 0.7878 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.453e-06/0.7344, allocations: 0 / 0.7878 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002849/0.7347, allocations: 0 / 0.7878 GB, free: 3.238 MB / 0.6042 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.01845/0.7531, allocations: 6.873 MB / 0.7945 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7532, allocations: 8.031 kB / 0.7945 GB, free: 12.26 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/0.7572, allocations: 0.8459 MB / 0.7953 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/0.7729, allocations: 5.913 MB / 0.8011 GB, free: 5.434 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005867/0.7736, allocations: 460.2 kB / 0.8015 GB, free: 4.98 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.7754, allocations: 0.5898 MB / 0.8021 GB, free: 4.391 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/0.7988, allocations: 8.749 MB / 0.8106 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/0.799, allocations: 23.78 kB / 0.8107 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/0.8001, allocations: 252 kB / 0.8109 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/0.8004, allocations: 183.9 kB / 0.8111 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/0.8206, allocations: 7.442 MB / 0.8183 GB, free: 3.461 MB / 0.6355 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.06534/0.886, allocations: 34.92 MB / 0.8524 GB, free: 14.57 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009979/0.896, allocations: 4.439 MB / 0.8568 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.8978, allocations: 0.9779 MB / 0.8577 GB, free: 8.973 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005641/0.9034, allocations: 2.333 MB / 0.86 GB, free: 6.605 MB / 0.6824 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00299/0.9064, allocations: 471.4 kB / 0.8605 GB, free: 6.141 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=326): time 1.107e-05/0.9065, allocations: 4 kB / 0.8605 GB, free: 6.137 MB / 0.6824 GB Notification: Performance of matching and sorting (n=326): time 0.01912/0.9256, allocations: 7.195 MB / 0.8675 GB, free: 14.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/0.9257, allocations: 89.97 kB / 0.8676 GB, free: 14.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/0.9381, allocations: 5.668 MB / 0.8731 GB, free: 9.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006134/0.9388, allocations: 85.7 kB / 0.8732 GB, free: 9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004387/0.9432, allocations: 3.11 MB / 0.8762 GB, free: 5.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/0.9452, allocations: 1.156 MB / 0.8774 GB, free: 4.691 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.9456, allocations: 84 kB / 0.8774 GB, free: 4.609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004454/0.946, allocations: 495.7 kB / 0.8779 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005308/0.9514, allocations: 2.183 MB / 0.88 GB, free: 1.926 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007009/0.9584, allocations: 3.637 MB / 0.8836 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006709/0.9652, allocations: 2.933 MB / 0.8865 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.882e-05/0.9653, allocations: 16 kB / 0.8865 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01733/0.9826, allocations: 6.767 MB / 0.8931 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/0.9827, allocations: 53.84 kB / 0.8931 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-05/0.9828, allocations: 52 kB / 0.8932 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.9842, allocations: 435.5 kB / 0.8936 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005523/0.9898, allocations: 1.061 MB / 0.8946 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.9981, allocations: 5.325 MB / 0.8998 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006539/1.005, allocations: 486.7 kB / 0.9003 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009579/1.006, allocations: 212 kB / 0.9005 GB, free: 11.95 MB / 0.7292 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.0059/1.012, allocations: 2.448 MB / 0.9029 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/1.013, allocations: 0.5172 MB / 0.9034 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.027, allocations: 5.342 MB / 0.9086 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/1.027, allocations: 32 kB / 0.9086 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.027, allocations: 8 kB / 0.9086 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4713/1.498, allocations: 4.604 MB / 0.9131 GB, free: 195 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 postOpt removeSimpleEquations (simulation): time 0.03151/1.53, allocations: 12.05 MB / 0.9249 GB, free: 190.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/1.53, allocations: 1.438 kB / 0.9249 GB, free: 190.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004075/1.534, allocations: 0.6364 MB / 0.9255 GB, free: 190.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/1.535, allocations: 370.8 kB / 0.9259 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005491/1.536, allocations: 90.94 kB / 0.926 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/1.542, allocations: 5.238 MB / 0.9311 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.349e-06/1.542, allocations: 1.219 kB / 0.9311 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/1.559, allocations: 7.715 MB / 0.9386 GB, free: 183.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003841/1.562, allocations: 1.256 MB / 0.9398 GB, free: 183.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.564, allocations: 70.08 kB / 0.9399 GB, free: 183.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/1.569, allocations: 445.7 kB / 0.9403 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007158/1.57, allocations: 205.9 kB / 0.9405 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004165/1.57, allocations: 123.1 kB / 0.9407 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.008249/1.578, allocations: 3.982 MB / 0.9445 GB, free: 181.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.858e-06/1.578, allocations: 0 / 0.9445 GB, free: 181.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007774/1.586, allocations: 2.001 MB / 0.9465 GB, free: 181.5 MB / 0.7292 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.001506/1.588, allocations: 489.3 kB / 0.947 GB, free: 181.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.599, allocations: 5.433 MB / 0.9523 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.599, allocations: 3.875 kB / 0.9523 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005236/1.604, allocations: 2.543 MB / 0.9548 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01694/1.621, allocations: 3.133 MB / 0.9578 GB, free: 175.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/1.649, allocations: 16.22 MB / 0.9737 GB, free: 161.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006728/1.655, allocations: 4.707 MB / 0.9783 GB, free: 157 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008979/1.664, allocations: 2.201 MB / 0.9804 GB, free: 154.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.666, allocations: 451.2 kB / 0.9808 GB, free: 154.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.902e-06/1.666, allocations: 0 / 0.9808 GB, free: 154.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.271/1.938, allocations: 111.4 MB / 1.09 GB, free: 44.13 MB / 0.7292 GB