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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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.01152/0.01152, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.00131/0.00131, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 2.12/2.12, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.436/2.436, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007155/0.0007158, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7587, allocations: 98.71 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0627/0.8214, allocations: 31.48 MB / 0.7142 GB, free: 10 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02912/0.8506, allocations: 11.02 MB / 0.7249 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.8536, allocations: 50.09 kB / 0.725 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.8575, allocations: 0.6453 MB / 0.7256 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008649/0.8662, allocations: 1.545 MB / 0.7271 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01384/0.8801, allocations: 2.473 MB / 0.7295 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.8929, allocations: 4.444 MB / 0.7339 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006806/0.8998, allocations: 2.724 MB / 0.7365 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006201/0.9061, allocations: 1.826 MB / 0.7383 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004804/0.9109, allocations: 1.536 MB / 0.7398 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.9122, allocations: 132 kB / 0.7399 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.9168, allocations: 0.6711 MB / 0.7406 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.9186, allocations: 0.5487 MB / 0.7411 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.9207, allocations: 0.633 MB / 0.7417 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.9288, allocations: 3.854 MB / 0.7455 GB, free: 14.56 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9288, allocations: 0 / 0.7455 GB, free: 14.56 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9288, allocations: 0 / 0.7455 GB, free: 14.56 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001956/0.9291, allocations: 0 / 0.7455 GB, free: 14.56 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.01074/0.9398, allocations: 2.961 MB / 0.7484 GB, free: 11.53 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.9399, allocations: 12.03 kB / 0.7484 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001478/0.9414, allocations: 332.8 kB / 0.7487 GB, free: 11.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.9436, allocations: 348.1 kB / 0.7491 GB, free: 10.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008229/0.9519, allocations: 2.337 MB / 0.7513 GB, free: 8.453 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.9523, allocations: 176.6 kB / 0.7515 GB, free: 8.277 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.9534, allocations: 232 kB / 0.7517 GB, free: 8.051 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.965, allocations: 3.151 MB / 0.7548 GB, free: 4.762 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.9652, allocations: 7.906 kB / 0.7548 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008253/0.966, allocations: 96 kB / 0.7549 GB, free: 4.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.9662, allocations: 67.98 kB / 0.755 GB, free: 4.594 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009377/0.9756, allocations: 2.554 MB / 0.7575 GB, free: 2.023 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.0346/1.01, allocations: 13.75 MB / 0.7709 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007617/1.018, allocations: 1.635 MB / 0.7725 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/1.02, allocations: 0.7165 MB / 0.7732 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.815e-05/1.02, allocations: 51.56 kB / 0.7732 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003206/1.023, allocations: 195.2 kB / 0.7734 GB, free: 456 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=124): time 1.32e-05/1.023, allocations: 0 / 0.7734 GB, free: 456 kB / 0.5886 GB Notification: Performance of matching and sorting (n=124): time 0.01875/1.042, allocations: 3.053 MB / 0.7764 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.042, allocations: 145.5 kB / 0.7766 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007854/1.05, allocations: 2.074 MB / 0.7786 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000631/1.051, allocations: 57.69 kB / 0.7786 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.053, allocations: 1.238 MB / 0.7798 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.054, allocations: 449.7 kB / 0.7803 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.054, allocations: 36 kB / 0.7803 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002455/1.055, allocations: 369.9 kB / 0.7807 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/1.057, allocations: 0.7339 MB / 0.7814 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/1.06, allocations: 1.233 MB / 0.7826 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/1.063, allocations: 0.9471 MB / 0.7835 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/1.063, allocations: 4 kB / 0.7835 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008748/1.072, allocations: 2.414 MB / 0.7859 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002374/1.075, allocations: 5.695 MB / 0.7914 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.196e-05/1.075, allocations: 23.98 kB / 0.7914 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/1.078, allocations: 401.3 kB / 0.7918 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/1.081, allocations: 343.5 kB / 0.7922 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/1.087, allocations: 3.161 MB / 0.7952 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/1.091, allocations: 235.5 kB / 0.7955 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005188/1.092, allocations: 83.92 kB / 0.7955 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.092, allocations: 4 kB / 0.7956 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007377/1.099, allocations: 2.183 MB / 0.7977 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-05/1.099, allocations: 16 kB / 0.7977 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.1, allocations: 238.1 kB / 0.7979 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.103, allocations: 367.4 kB / 0.7983 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007298/1.111, allocations: 4.224 MB / 0.8024 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/1.115, allocations: 211.6 kB / 0.8026 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/1.115, allocations: 83.97 kB / 0.8027 GB, free: 1.176 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.002948/1.118, allocations: 0.9961 MB / 0.8037 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008425/1.119, allocations: 209.4 kB / 0.8039 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/1.126, allocations: 2.046 MB / 0.8059 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/1.126, allocations: 12 kB / 0.8059 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.126, allocations: 4 kB / 0.8059 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0052/1.131, allocations: 1.675 MB / 0.8075 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.147, allocations: 4.577 MB / 0.812 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.147, allocations: 0 / 0.812 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.149, allocations: 195.8 kB / 0.8122 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/1.15, allocations: 324.6 kB / 0.8125 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003273/1.151, allocations: 31.98 kB / 0.8125 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005131/1.156, allocations: 3.074 MB / 0.8155 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.156, allocations: 8.016 kB / 0.8155 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/1.165, allocations: 2.982 MB / 0.8184 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/1.167, allocations: 0.5179 MB / 0.8189 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007753/1.168, allocations: 28.12 kB / 0.819 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.171, allocations: 206 kB / 0.8192 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005641/1.172, allocations: 113 kB / 0.8193 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000252/1.172, allocations: 47.97 kB / 0.8193 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00404/1.176, allocations: 1.431 MB / 0.8207 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.11e-07/1.176, allocations: 0 / 0.8207 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007811/1.184, allocations: 1.472 MB / 0.8221 GB, free: 12.87 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.01056/1.195, allocations: 3.884 MB / 0.8259 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.205, allocations: 3.366 MB / 0.8292 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.205, allocations: 3.938 kB / 0.8292 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/1.209, allocations: 1.001 MB / 0.8302 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/1.219, allocations: 1.115 MB / 0.8313 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.248, allocations: 17.17 MB / 0.8481 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006264/1.255, allocations: 2.186 MB / 0.8502 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01274/1.267, allocations: 0.9284 MB / 0.8511 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005299/1.273, allocations: 1.015 MB / 0.8521 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of SimCode: time 2.064e-06/1.273, allocations: 0 / 0.8521 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.943/2.216, allocations: 65.45 MB / 0.916 GB, free: 193.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/2.216, allocations: 275.4 kB / 0.9163 GB, free: 193.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.777/7.993, allocations: 0 / 0.9163 GB, free: 193.2 MB / 0.7292 GB