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.01039/0.0104, allocations: 222.8 kB / 15.17 MB, free: 5.926 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.001082/0.001082, allocations: 180 kB / 16.06 MB, free: 5.828 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.55/3.55, allocations: 389.1 MB / 405.9 MB, free: 13.25 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 3.959/3.959, allocations: 472.3 MB / 0.9018 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004803, allocations: 16 kB / 1.008 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5526, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03829/0.5909, allocations: 34.51 MB / 1.138 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01902/0.61, allocations: 11.58 MB / 1.149 GB, free: 180.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.612, allocations: 42.28 kB / 1.149 GB, free: 180.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.6138, allocations: 0.5712 MB / 1.15 GB, free: 180.4 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. Notification: Performance of NFTyping.typeBindings: time 0.005427/0.6193, allocations: 1.575 MB / 1.151 GB, free: 179.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009498/0.6288, allocations: 2.524 MB / 1.154 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.6395, allocations: 8.825 MB / 1.162 GB, free: 174.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/0.6436, allocations: 2.723 MB / 1.165 GB, free: 173.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.6474, allocations: 2.04 MB / 1.167 GB, free: 172.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/0.6506, allocations: 2.121 MB / 1.169 GB, free: 171.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.651, allocations: 131.2 kB / 1.169 GB, free: 171.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.6533, allocations: 0.6219 MB / 1.17 GB, free: 171.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.6539, allocations: 0.5646 MB / 1.17 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006914/0.6546, allocations: 0.6408 MB / 1.171 GB, free: 170.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.6581, allocations: 3.869 MB / 1.175 GB, free: 166.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.6581, allocations: 4 kB / 1.175 GB, free: 166.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.976e-06/0.6581, allocations: 0 / 1.175 GB, free: 166.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.45e-05/0.6581, allocations: 1.344 kB / 1.175 GB, free: 166.2 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.004936/0.6631, allocations: 2.958 MB / 1.178 GB, free: 163.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6631, allocations: 9.156 kB / 1.178 GB, free: 163.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.6641, allocations: 344.1 kB / 1.178 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.6685, allocations: 2.498 MB / 1.18 GB, free: 160.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.6686, allocations: 174.3 kB / 1.18 GB, free: 160.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/0.669, allocations: 236 kB / 1.181 GB, free: 159.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005402/0.6744, allocations: 3.167 MB / 1.184 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.6745, allocations: 0 / 1.184 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.6748, allocations: 96 kB / 1.184 GB, free: 156.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.978e-05/0.6749, allocations: 76.27 kB / 1.184 GB, free: 156.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.6796, allocations: 2.559 MB / 1.186 GB, free: 153.9 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.01584/0.6954, allocations: 13.66 MB / 1.2 GB, free: 139.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.6984, allocations: 1.616 MB / 1.201 GB, free: 137.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.7003, allocations: 1.152 MB / 1.203 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.701, allocations: 0.7355 MB / 1.203 GB, free: 135.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.7011, allocations: 43.56 kB / 1.203 GB, free: 135.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00139/0.7025, allocations: 187.4 kB / 1.203 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=124): time 4.63e-06/0.7025, allocations: 0 / 1.203 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=124): time 0.007125/0.7096, allocations: 3.039 MB / 1.206 GB, free: 132.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.7097, allocations: 149.4 kB / 1.207 GB, free: 132 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.7125, allocations: 1.926 MB / 1.208 GB, free: 130 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.7126, allocations: 53.7 kB / 1.208 GB, free: 130 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.7136, allocations: 1.25 MB / 1.21 GB, free: 128.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.714, allocations: 433.8 kB / 1.21 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.7141, allocations: 36 kB / 1.21 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7143, allocations: 369.9 kB / 1.211 GB, free: 127.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.7156, allocations: 0.7261 MB / 1.211 GB, free: 127.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.7172, allocations: 1.229 MB / 1.212 GB, free: 125.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.7188, allocations: 0.947 MB / 1.213 GB, free: 124.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.7188, allocations: 4 kB / 1.213 GB, free: 124.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004402/0.7232, allocations: 2.394 MB / 1.216 GB, free: 122.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.7234, allocations: 0.5073 MB / 1.216 GB, free: 121.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.7235, allocations: 12 kB / 1.216 GB, free: 121.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.725, allocations: 403.7 kB / 1.217 GB, free: 121.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7266, allocations: 347.4 kB / 1.217 GB, free: 120.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.7299, allocations: 3.138 MB / 1.22 GB, free: 117.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.7321, allocations: 232.7 kB / 1.22 GB, free: 117.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.7323, allocations: 79.97 kB / 1.22 GB, free: 117.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.633e-06/0.7323, allocations: 4 kB / 1.22 GB, free: 117.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003924/0.7362, allocations: 2.176 MB / 1.222 GB, free: 115.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.7363, allocations: 12 kB / 1.222 GB, free: 115.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006792/0.737, allocations: 237.7 kB / 1.223 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.7386, allocations: 375.3 kB / 1.223 GB, free: 114.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.7427, allocations: 4.169 MB / 1.227 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.7448, allocations: 211.6 kB / 1.227 GB, free: 109.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.745, allocations: 83.97 kB / 1.227 GB, free: 109.8 MB / 0.7292 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.001579/0.7466, allocations: 1.005 MB / 1.228 GB, free: 108.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.747, allocations: 201.6 kB / 1.229 GB, free: 108.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/0.7507, allocations: 2.028 MB / 1.231 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.7508, allocations: 23.94 kB / 1.231 GB, free: 106.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.227e-06/0.7508, allocations: 0 / 1.231 GB, free: 106.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002839/0.7536, allocations: 1.652 MB / 1.232 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.7618, allocations: 4.571 MB / 1.237 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.392e-06/0.7619, allocations: 0 / 1.237 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.763, allocations: 195.7 kB / 1.237 GB, free: 100 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.7641, allocations: 325 kB / 1.237 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.7642, allocations: 43.92 kB / 1.237 GB, free: 99.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.7674, allocations: 3.041 MB / 1.24 GB, free: 96.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.767e-06/0.7674, allocations: 0 / 1.24 GB, free: 96.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.7723, allocations: 2.944 MB / 1.243 GB, free: 93.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.7733, allocations: 0.4905 MB / 1.243 GB, free: 92.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.7736, allocations: 31.95 kB / 1.243 GB, free: 92.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.7753, allocations: 206.3 kB / 1.244 GB, free: 92.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.7755, allocations: 97.16 kB / 1.244 GB, free: 92.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7757, allocations: 47.97 kB / 1.244 GB, free: 92.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001989/0.7777, allocations: 1.317 MB / 1.245 GB, free: 91.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.22e-07/0.7777, allocations: 0 / 1.245 GB, free: 91.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003994/0.7817, allocations: 1.46 MB / 1.247 GB, free: 89.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007552/0.7825, allocations: 373.2 kB / 1.247 GB, free: 89.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0059/0.7884, allocations: 3.346 MB / 1.25 GB, free: 86.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7884, allocations: 0 / 1.25 GB, free: 86.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.7902, allocations: 1.001 MB / 1.251 GB, free: 85.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005691/0.796, allocations: 1.143 MB / 1.252 GB, free: 83.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008965/0.8049, allocations: 6.201 MB / 1.258 GB, free: 77.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.8069, allocations: 2.197 MB / 1.26 GB, free: 75.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003586/0.8105, allocations: 0.902 MB / 1.261 GB, free: 74.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.811, allocations: 171.4 kB / 1.262 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of SimCode: time 1.547e-06/0.811, allocations: 7.312 kB / 1.262 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.08793/0.899, allocations: 43.87 MB / 1.304 GB, free: 32.02 MB / 0.7292 GB