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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.143/4.143, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.043e-05, allocations: 7.703 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.566, allocations: 411.2 MB / 1.036 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.566, allocations: 89.89 kB / 1.036 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.131/6.698, allocations: 0.9375 GB / 1.974 GB, free: 56.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.254e-06/6.698, allocations: 0 / 1.974 GB, free: 56.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004572/6.698, allocations: 79.92 kB / 1.974 GB, free: 56.81 MB / 0.823 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.009415/6.708, allocations: 2.658 MB / 1.977 GB, free: 54.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/6.708, allocations: 16.03 kB / 1.977 GB, free: 54.08 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00113/6.709, allocations: 336.8 kB / 1.977 GB, free: 53.74 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/6.71, allocations: 348.9 kB / 1.977 GB, free: 53.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009701/6.72, allocations: 2.989 MB / 1.98 GB, free: 50.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/6.72, allocations: 184.5 kB / 1.98 GB, free: 50.17 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/6.721, allocations: 232 kB / 1.981 GB, free: 49.95 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007939/6.729, allocations: 2.93 MB / 1.983 GB, free: 46.88 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/6.729, allocations: 4 kB / 1.983 GB, free: 46.87 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/6.73, allocations: 96 kB / 1.984 GB, free: 46.78 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.35e-05/6.73, allocations: 79.91 kB / 1.984 GB, free: 46.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006565/6.736, allocations: 2.325 MB / 1.986 GB, free: 44.36 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.02459/6.761, allocations: 12.88 MB / 1.998 GB, free: 30.58 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004012/6.765, allocations: 1.636 MB / 2 GB, free: 28.92 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/6.767, allocations: 1.098 MB / 2.001 GB, free: 27.82 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/6.768, allocations: 0.7087 MB / 2.002 GB, free: 26.96 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/6.768, allocations: 51.56 kB / 2.002 GB, free: 26.91 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002447/6.771, allocations: 223.4 kB / 2.002 GB, free: 26.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=124): time 5.811e-06/6.771, allocations: 3.938 kB / 2.002 GB, free: 26.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=124): time 0.004277/6.775, allocations: 1.676 MB / 2.004 GB, free: 24.99 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/6.775, allocations: 141.5 kB / 2.004 GB, free: 24.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/6.779, allocations: 1.843 MB / 2.006 GB, free: 22.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000401/6.779, allocations: 57.7 kB / 2.006 GB, free: 22.87 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/6.781, allocations: 1.242 MB / 2.007 GB, free: 21.61 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006086/6.781, allocations: 433.9 kB / 2.007 GB, free: 21.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/6.782, allocations: 32 kB / 2.007 GB, free: 21.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001408/6.782, allocations: 381.8 kB / 2.008 GB, free: 20.77 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/6.783, allocations: 0.6832 MB / 2.008 GB, free: 20.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/6.785, allocations: 1.222 MB / 2.01 GB, free: 18.64 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/6.787, allocations: 0.9212 MB / 2.01 GB, free: 17.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/6.787, allocations: 4 kB / 2.01 GB, free: 17.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005639/6.793, allocations: 2.312 MB / 2.013 GB, free: 15.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001236/6.794, allocations: 5.706 MB / 2.018 GB, free: 9.211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/6.794, allocations: 19.94 kB / 2.018 GB, free: 9.191 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/6.796, allocations: 351.2 kB / 2.019 GB, free: 8.844 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/6.799, allocations: 351.4 kB / 2.019 GB, free: 8.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/6.803, allocations: 3.085 MB / 2.022 GB, free: 5.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/6.807, allocations: 231.4 kB / 2.022 GB, free: 5.023 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/6.807, allocations: 83.97 kB / 2.022 GB, free: 4.941 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/6.807, allocations: 4 kB / 2.022 GB, free: 4.938 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005015/6.812, allocations: 2.098 MB / 2.024 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/6.812, allocations: 12.12 kB / 2.024 GB, free: 2.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000906/6.813, allocations: 245.5 kB / 2.025 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/6.816, allocations: 371.4 kB / 2.025 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/6.822, allocations: 4.149 MB / 2.029 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/6.825, allocations: 215.6 kB / 2.029 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/6.826, allocations: 79.97 kB / 2.029 GB, free: 13.51 MB / 0.8386 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,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete 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.0006365/6.827, allocations: 216.4 kB / 2.029 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008412/6.828, allocations: 209.5 kB / 2.03 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00605/6.834, allocations: 1.96 MB / 2.032 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/6.834, allocations: 19.94 kB / 2.032 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/6.834, allocations: 0 / 2.032 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004472/6.838, allocations: 1.582 MB / 2.033 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/6.852, allocations: 4.465 MB / 2.038 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/6.852, allocations: 0 / 2.038 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/6.854, allocations: 211.7 kB / 2.038 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/6.856, allocations: 299.4 kB / 2.038 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002616/6.856, allocations: 39.97 kB / 2.038 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/6.861, allocations: 3.001 MB / 2.041 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/6.861, allocations: 0 / 2.041 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6412/7.502, allocations: 2.844 MB / 2.044 GB, free: 149.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/7.504, allocations: 0.496 MB / 2.044 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007121/7.505, allocations: 27.59 kB / 2.044 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/7.508, allocations: 197.3 kB / 2.044 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/7.508, allocations: 92.11 kB / 2.045 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/7.508, allocations: 42.14 kB / 2.045 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004035/7.512, allocations: 1.415 MB / 2.046 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.62e-07/7.513, allocations: 3.531 kB / 2.046 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008056/7.521, allocations: 1.503 MB / 2.047 GB, free: 149.2 MB / 0.8386 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,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * 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.00959/7.53, allocations: 3.941 MB / 2.051 GB, free: 148.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009603/7.54, allocations: 3.291 MB / 2.055 GB, free: 147.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/7.54, allocations: 0 / 2.055 GB, free: 147.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002692/7.543, allocations: 0.9613 MB / 2.055 GB, free: 147.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/7.553, allocations: 1.122 MB / 2.057 GB, free: 147.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/7.57, allocations: 5.001 MB / 2.061 GB, free: 146.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/7.573, allocations: 2.198 MB / 2.064 GB, free: 146.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.007368/7.581, allocations: 1.337 MB / 2.065 GB, free: 146.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/7.583, allocations: 0.9716 MB / 2.066 GB, free: 146.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.472e-06/7.583, allocations: 0 / 2.066 GB, free: 146.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/7.756, allocations: 71.79 MB / 2.136 GB, free: 143.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/7.756, allocations: 247.5 kB / 2.136 GB, free: 143.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.938/13.69, allocations: 0 / 2.136 GB, free: 143.5 MB / 0.8386 GB