Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.938/3.938, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.962e-05, allocations: 4.922 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.254, allocations: 411.2 MB / 1.036 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004464/1.255, allocations: 96.94 kB / 1.036 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.495/5.75, allocations: 0.9375 GB / 1.974 GB, free: 60.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.44e-06/5.75, allocations: 0 / 1.974 GB, free: 60.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004001/5.75, allocations: 79.92 kB / 1.974 GB, free: 60.59 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.00725/5.758, allocations: 2.669 MB / 1.977 GB, free: 57.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/5.758, allocations: 16.03 kB / 1.977 GB, free: 57.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/5.759, allocations: 348.9 kB / 1.977 GB, free: 57.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007799/5.767, allocations: 2.985 MB / 1.98 GB, free: 54.46 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/5.768, allocations: 176.6 kB / 1.98 GB, free: 54.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006298/5.768, allocations: 236 kB / 1.98 GB, free: 54.05 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006469/5.775, allocations: 2.93 MB / 1.983 GB, free: 50.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/5.775, allocations: 7.938 kB / 1.983 GB, free: 50.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/5.775, allocations: 100 kB / 1.983 GB, free: 50.88 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.308e-05/5.775, allocations: 64 kB / 1.983 GB, free: 50.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005624/5.781, allocations: 2.329 MB / 1.986 GB, free: 48.47 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.01942/5.8, allocations: 12.89 MB / 1.998 GB, free: 34.69 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/5.804, allocations: 1.636 MB / 2 GB, free: 33.03 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/5.806, allocations: 1.098 MB / 2.001 GB, free: 31.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/5.806, allocations: 0.7108 MB / 2.001 GB, free: 31.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/5.807, allocations: 55.56 kB / 2.002 GB, free: 31.01 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002083/5.809, allocations: 223.1 kB / 2.002 GB, free: 30.79 MB / 0.823 GB Notification: Performance of pre-optimization done (n=124): time 7.518e-06/5.809, allocations: 0 / 2.002 GB, free: 30.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=124): time 0.004151/5.813, allocations: 1.672 MB / 2.003 GB, free: 29.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/5.813, allocations: 145.5 kB / 2.004 GB, free: 28.93 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/5.816, allocations: 1.839 MB / 2.005 GB, free: 27.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/5.817, allocations: 57.69 kB / 2.005 GB, free: 26.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/5.818, allocations: 1.242 MB / 2.007 GB, free: 25.72 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/5.819, allocations: 433.9 kB / 2.007 GB, free: 25.29 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/5.819, allocations: 36 kB / 2.007 GB, free: 25.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001253/5.819, allocations: 373.9 kB / 2.007 GB, free: 24.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/5.82, allocations: 0.6833 MB / 2.008 GB, free: 24.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/5.822, allocations: 1.222 MB / 2.009 GB, free: 22.75 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/5.824, allocations: 0.9368 MB / 2.01 GB, free: 21.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/5.824, allocations: 4 kB / 2.01 GB, free: 21.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004876/5.828, allocations: 2.304 MB / 2.012 GB, free: 19.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/5.83, allocations: 5.699 MB / 2.018 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/5.83, allocations: 12 kB / 2.018 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/5.831, allocations: 363 kB / 2.018 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/5.833, allocations: 351.4 kB / 2.019 GB, free: 12.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/5.836, allocations: 3.086 MB / 2.022 GB, free: 9.355 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/5.84, allocations: 225.9 kB / 2.022 GB, free: 9.137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/5.84, allocations: 83.97 kB / 2.022 GB, free: 9.055 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/5.84, allocations: 4 kB / 2.022 GB, free: 9.051 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004749/5.845, allocations: 2.098 MB / 2.024 GB, free: 6.945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/5.845, allocations: 15.98 kB / 2.024 GB, free: 6.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/5.846, allocations: 241.7 kB / 2.024 GB, free: 6.688 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/5.848, allocations: 379.4 kB / 2.025 GB, free: 6.316 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/5.853, allocations: 4.142 MB / 2.029 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/5.856, allocations: 227.4 kB / 2.029 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/5.856, allocations: 79.97 kB / 2.029 GB, free: 1.609 MB / 0.823 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.0004874/5.857, allocations: 208.5 kB / 2.029 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/5.857, allocations: 201.6 kB / 2.029 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/5.862, allocations: 1.969 MB / 2.031 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/5.862, allocations: 12 kB / 2.031 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.929e-06/5.862, allocations: 0 / 2.031 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003627/5.865, allocations: 1.578 MB / 2.033 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/5.877, allocations: 4.464 MB / 2.037 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.576e-06/5.877, allocations: 64 / 2.037 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/5.879, allocations: 215.7 kB / 2.037 GB, free: 8.852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/5.88, allocations: 311.1 kB / 2.038 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/5.88, allocations: 35.97 kB / 2.038 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/5.885, allocations: 2.994 MB / 2.041 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/5.885, allocations: 4.094 kB / 2.041 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/5.891, allocations: 2.857 MB / 2.043 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/5.893, allocations: 0.4945 MB / 2.044 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005421/5.893, allocations: 28 kB / 2.044 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/5.896, allocations: 191.6 kB / 2.044 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/5.896, allocations: 97.16 kB / 2.044 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/5.896, allocations: 47.94 kB / 2.044 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003302/5.9, allocations: 1.412 MB / 2.046 GB, free: 144 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.142e-06/5.9, allocations: 0 / 2.046 GB, free: 144 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.5094/6.409, allocations: 1.503 MB / 2.047 GB, free: 149.7 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.001481/6.411, allocations: 0.5636 MB / 2.048 GB, free: 149.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007947/6.419, allocations: 3.294 MB / 2.051 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/6.419, allocations: 4.406 kB / 2.051 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/6.421, allocations: 0.9482 MB / 2.052 GB, free: 149.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/6.427, allocations: 1.119 MB / 2.053 GB, free: 149.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/6.438, allocations: 4.248 MB / 2.057 GB, free: 148.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/6.441, allocations: 2.19 MB / 2.059 GB, free: 147.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006189/6.447, allocations: 1.341 MB / 2.061 GB, free: 147.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/6.448, allocations: 141.2 kB / 2.061 GB, free: 147.5 MB / 0.8386 GB Notification: Performance of SimCode: time 1.861e-06/6.448, allocations: 0 / 2.061 GB, free: 147.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.1084/6.556, allocations: 49.76 MB / 2.109 GB, free: 146.2 MB / 0.8386 GB