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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.173/4.173, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.208e-05, allocations: 4 kB / 0.5325 GB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.606/0.606, allocations: 98.73 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9903/1.596, allocations: 410.6 MB / 1.03 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.597, allocations: 92.58 kB / 1.03 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.272/5.869, allocations: 0.9327 GB / 1.963 GB, free: 75.01 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.885e-06/5.869, allocations: 0 / 1.963 GB, free: 75.01 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003941/5.869, allocations: 87.45 kB / 1.963 GB, free: 74.93 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.007147/5.877, allocations: 2.656 MB / 1.965 GB, free: 72.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/5.877, allocations: 12.03 kB / 1.965 GB, free: 72.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/5.878, allocations: 360.1 kB / 1.966 GB, free: 71.87 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007749/5.886, allocations: 2.994 MB / 1.969 GB, free: 68.88 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/5.886, allocations: 72 kB / 1.969 GB, free: 68.81 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007579/5.887, allocations: 140 kB / 1.969 GB, free: 68.67 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005467/5.893, allocations: 2.196 MB / 1.971 GB, free: 66.47 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006089/5.899, allocations: 2.597 MB / 1.974 GB, free: 63.74 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.67e-05/5.899, allocations: 3.938 kB / 1.974 GB, free: 63.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/5.899, allocations: 4 kB / 1.974 GB, free: 63.73 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.58e-05/5.899, allocations: 71.98 kB / 1.974 GB, free: 63.66 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.01932/5.919, allocations: 12.48 MB / 1.986 GB, free: 50.45 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/5.921, allocations: 1.575 MB / 1.987 GB, free: 48.85 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/5.923, allocations: 1.086 MB / 1.988 GB, free: 47.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/5.924, allocations: 0.7069 MB / 1.989 GB, free: 46.92 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/5.924, allocations: 55.86 kB / 1.989 GB, free: 46.85 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001865/5.926, allocations: 194.6 kB / 1.989 GB, free: 46.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=124): time 6.441e-06/5.926, allocations: 0 / 1.989 GB, free: 46.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=124): time 0.00404/5.93, allocations: 1.621 MB / 1.991 GB, free: 45.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/5.93, allocations: 149.8 kB / 1.991 GB, free: 44.84 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/5.934, allocations: 1.703 MB / 1.993 GB, free: 43.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/5.934, allocations: 29.7 kB / 1.993 GB, free: 43.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/5.936, allocations: 1.256 MB / 1.994 GB, free: 41.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006434/5.936, allocations: 417.9 kB / 1.994 GB, free: 41.38 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/5.936, allocations: 0 / 1.994 GB, free: 41.38 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/5.937, allocations: 373.9 kB / 1.995 GB, free: 41.01 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/5.938, allocations: 0.6559 MB / 1.995 GB, free: 40.36 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/5.94, allocations: 1.167 MB / 1.996 GB, free: 38.96 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/5.942, allocations: 0.9157 MB / 1.997 GB, free: 38.05 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/5.942, allocations: 7.938 kB / 1.997 GB, free: 38.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00534/5.947, allocations: 2.157 MB / 1.999 GB, free: 35.87 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001109/5.948, allocations: 5.68 MB / 2.005 GB, free: 29.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/5.948, allocations: 19.98 kB / 2.005 GB, free: 29.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/5.949, allocations: 299.5 kB / 2.005 GB, free: 29.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/5.951, allocations: 359.4 kB / 2.006 GB, free: 29.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/5.955, allocations: 2.983 MB / 2.009 GB, free: 25.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/5.958, allocations: 187.5 kB / 2.009 GB, free: 25.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004123/5.958, allocations: 83.97 kB / 2.009 GB, free: 25.65 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/5.958, allocations: 4 kB / 2.009 GB, free: 25.64 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004735/5.963, allocations: 1.907 MB / 2.011 GB, free: 23.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/5.963, allocations: 16 kB / 2.011 GB, free: 23.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007562/5.964, allocations: 208.5 kB / 2.011 GB, free: 23.51 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/5.966, allocations: 371.4 kB / 2.011 GB, free: 23.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/5.97, allocations: 3.766 MB / 2.015 GB, free: 19.15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/5.973, allocations: 191.4 kB / 2.015 GB, free: 18.96 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/5.974, allocations: 79.97 kB / 2.015 GB, free: 18.89 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 (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004595/5.974, allocations: 148.5 kB / 2.015 GB, free: 18.73 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006118/5.975, allocations: 201.6 kB / 2.016 GB, free: 18.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/5.979, allocations: 1.842 MB / 2.017 GB, free: 16.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/5.979, allocations: 19.98 kB / 2.017 GB, free: 16.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.885e-06/5.979, allocations: 0 / 2.017 GB, free: 16.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003223/5.982, allocations: 1.48 MB / 2.019 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009898/5.992, allocations: 4.026 MB / 2.023 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.887e-06/5.992, allocations: 0 / 2.023 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/5.994, allocations: 207.7 kB / 2.023 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008596/5.995, allocations: 273.5 kB / 2.023 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/5.995, allocations: 15.98 kB / 2.023 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/5.998, allocations: 2.936 MB / 2.026 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-06/5.998, allocations: 0 / 2.026 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/6.003, allocations: 2.78 MB / 2.029 GB, free: 4.691 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/6.005, allocations: 0.4945 MB / 2.029 GB, free: 4.176 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/6.006, allocations: 8 kB / 2.029 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/6.008, allocations: 167.7 kB / 2.029 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/6.008, allocations: 97.16 kB / 2.03 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/6.008, allocations: 43.97 kB / 2.03 GB, free: 3.863 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002421/6.011, allocations: 1.293 MB / 2.031 GB, free: 2.547 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.078e-06/6.011, allocations: 3.938 kB / 2.031 GB, free: 2.543 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006855/6.018, allocations: 1.441 MB / 2.032 GB, free: 1.098 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/6.019, allocations: 0.5578 MB / 2.033 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.4948/6.514, allocations: 3.076 MB / 2.036 GB, free: 145.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.432e-06/6.514, allocations: 4.812 kB / 2.036 GB, free: 145.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/6.516, allocations: 0.9082 MB / 2.037 GB, free: 145.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006754/6.523, allocations: 1.07 MB / 2.038 GB, free: 145.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/6.533, allocations: 4.16 MB / 2.042 GB, free: 144.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/6.536, allocations: 2.191 MB / 2.044 GB, free: 144 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005874/6.542, allocations: 1.319 MB / 2.045 GB, free: 144 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/6.543, allocations: 141.2 kB / 2.045 GB, free: 143.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.683e-06/6.543, allocations: 0 / 2.045 GB, free: 143.9 MB / 0.823 GB Notification: Performance of Templates: time 0.09455/6.637, allocations: 43.91 MB / 2.088 GB, free: 142.9 MB / 0.823 GB