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.009126/0.00913, allocations: 106.9 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.001116/0.001116, allocations: 177.9 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.894/1.894, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.234/2.234, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.000502, allocations: 8 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5525, allocations: 98.72 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04256/0.5951, allocations: 31.48 MB / 0.7141 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.6184, allocations: 11.03 MB / 0.7248 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.6207, allocations: 46.97 kB / 0.7249 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.6233, allocations: 0.6481 MB / 0.7255 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006624/0.63, allocations: 1.545 MB / 0.727 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.6404, allocations: 2.473 MB / 0.7294 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008421/0.6488, allocations: 4.445 MB / 0.7338 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004867/0.6537, allocations: 2.724 MB / 0.7364 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.6584, allocations: 1.826 MB / 0.7382 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.6617, allocations: 1.536 MB / 0.7397 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005545/0.6623, allocations: 132 kB / 0.7399 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.6654, allocations: 0.6672 MB / 0.7405 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.6665, allocations: 0.5526 MB / 0.741 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.6677, allocations: 0.6369 MB / 0.7417 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006222/0.674, allocations: 3.846 MB / 0.7454 GB, free: 14.67 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.674, allocations: 0 / 0.7454 GB, free: 14.67 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.617e-06/0.674, allocations: 4 kB / 0.7454 GB, free: 14.67 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.875e-05/0.6741, allocations: 0 / 0.7454 GB, free: 14.67 MB / 0.573 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.007355/0.6815, allocations: 2.961 MB / 0.7483 GB, free: 11.64 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6816, allocations: 12.02 kB / 0.7483 GB, free: 11.63 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.683, allocations: 348.1 kB / 0.7487 GB, free: 11.29 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/0.6888, allocations: 2.337 MB / 0.7509 GB, free: 8.898 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.6891, allocations: 172.6 kB / 0.7511 GB, free: 8.727 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.6896, allocations: 236 kB / 0.7513 GB, free: 8.496 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007915/0.6975, allocations: 3.144 MB / 0.7544 GB, free: 5.211 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.391e-05/0.6977, allocations: 11.84 kB / 0.7544 GB, free: 5.199 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.698, allocations: 96 kB / 0.7545 GB, free: 5.105 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.847e-05/0.6981, allocations: 64 kB / 0.7546 GB, free: 5.043 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006954/0.7051, allocations: 2.558 MB / 0.7571 GB, free: 2.469 MB / 0.573 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.02495/0.7301, allocations: 13.74 MB / 0.7705 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.7343, allocations: 1.63 MB / 0.7721 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.7354, allocations: 0.7242 MB / 0.7728 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.7355, allocations: 51.56 kB / 0.7728 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001659/0.7371, allocations: 196.8 kB / 0.773 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=124): time 5.57e-06/0.7372, allocations: 0 / 0.773 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124): time 0.009503/0.7467, allocations: 3.053 MB / 0.776 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.7468, allocations: 141.5 kB / 0.7761 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.751, allocations: 2.074 MB / 0.7782 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.7513, allocations: 53.7 kB / 0.7782 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.7528, allocations: 1.242 MB / 0.7794 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006719/0.7535, allocations: 445.7 kB / 0.7799 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.7537, allocations: 32 kB / 0.7799 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.7539, allocations: 377.8 kB / 0.7802 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.7557, allocations: 0.7339 MB / 0.781 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.7581, allocations: 1.233 MB / 0.7822 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.7605, allocations: 0.951 MB / 0.7831 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.7605, allocations: 4 kB / 0.7831 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006233/0.7668, allocations: 2.414 MB / 0.7855 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002994/0.7698, allocations: 5.683 MB / 0.791 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.693e-05/0.7699, allocations: 16 kB / 0.791 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.7718, allocations: 413.3 kB / 0.7914 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.7737, allocations: 339.5 kB / 0.7917 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.7786, allocations: 3.171 MB / 0.7948 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.7814, allocations: 235.5 kB / 0.7951 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/0.7818, allocations: 75.98 kB / 0.7951 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7818, allocations: 7.953 kB / 0.7951 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005494/0.7873, allocations: 2.183 MB / 0.7973 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/0.7874, allocations: 16 kB / 0.7973 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/0.7883, allocations: 242 kB / 0.7975 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.7903, allocations: 367.4 kB / 0.7979 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006422/0.7967, allocations: 4.22 MB / 0.802 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.7994, allocations: 211.9 kB / 0.8022 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.7997, allocations: 87.97 kB / 0.8023 GB, free: 1.625 MB / 0.6198 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.002342/0.802, allocations: 0.9961 MB / 0.8032 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.8027, allocations: 205.4 kB / 0.8034 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.8077, allocations: 2.05 MB / 0.8054 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.8078, allocations: 12 kB / 0.8055 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.8078, allocations: 4 kB / 0.8055 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.8117, allocations: 1.675 MB / 0.8071 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.8236, allocations: 4.58 MB / 0.8116 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8237, allocations: 0 / 0.8116 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.8249, allocations: 195.8 kB / 0.8118 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.8263, allocations: 321.6 kB / 0.8121 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.8265, allocations: 31.98 kB / 0.8121 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.8311, allocations: 3.068 MB / 0.8151 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.717e-06/0.8311, allocations: 4.031 kB / 0.8151 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00676/0.8379, allocations: 2.982 MB / 0.818 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.8395, allocations: 0.5217 MB / 0.8185 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.84, allocations: 28 kB / 0.8185 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/0.8421, allocations: 210 kB / 0.8187 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.8424, allocations: 109 kB / 0.8188 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.8426, allocations: 48.16 kB / 0.8189 GB, free: 260 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003036/0.8456, allocations: 1.431 MB / 0.8203 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.18e-07/0.8457, allocations: 3.938 kB / 0.8203 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005294/0.851, allocations: 1.476 MB / 0.8217 GB, free: 13.32 MB / 0.6511 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.001056/0.8521, allocations: 385.2 kB / 0.8221 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008149/0.8602, allocations: 3.365 MB / 0.8254 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.8603, allocations: 4 kB / 0.8254 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.8627, allocations: 1.013 MB / 0.8264 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/0.8691, allocations: 1.11 MB / 0.8275 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.882, allocations: 6.218 MB / 0.8335 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/0.8851, allocations: 2.194 MB / 0.8357 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004171/0.8893, allocations: 0.9302 MB / 0.8366 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007507/0.8901, allocations: 171.4 kB / 0.8368 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of SimCode: time 1.63e-06/0.8901, allocations: 0 / 0.8368 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of Templates: time 0.108/0.9981, allocations: 44.47 MB / 0.8802 GB, free: 1.828 MB / 0.698 GB