Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadModel(Buildings): time 3.781/3.781, allocations: 432.7 MB / 444.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.292e-05, allocations: 7.609 kB / 0.5337 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 98.72 MB / 0.6301 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.4241, allocations: 130.9 MB / 0.7579 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4245, allocations: 95.92 kB / 0.758 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05848/0.483, allocations: 14.74 MB / 0.7724 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.01e-06/0.483, allocations: 3.938 kB / 0.7724 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.007e-05/0.4831, allocations: 16 kB / 0.7724 GB, free: 4.367 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002389/0.4855, allocations: 1.047 MB / 0.7734 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4856, allocations: 8.031 kB / 0.7734 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.4859, allocations: 98.83 kB / 0.7735 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4872, allocations: 0.6006 MB / 0.7741 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.4873, allocations: 49.31 kB / 0.7742 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.4874, allocations: 56 kB / 0.7742 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4891, allocations: 0.6837 MB / 0.7749 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4892, allocations: 0 / 0.7749 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.4893, allocations: 32 kB / 0.7749 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.4893, allocations: 15.95 kB / 0.7749 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.4906, allocations: 466.5 kB / 0.7754 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4413/0.9319, allocations: 2.657 MB / 0.778 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.9337, allocations: 0.5583 MB / 0.7785 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.9342, allocations: 204.1 kB / 0.7787 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.9343, allocations: 7.469 kB / 0.7787 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.935, allocations: 284.2 kB / 0.779 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 5.572e-06/0.9351, allocations: 1.062 kB / 0.779 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001367/0.9364, allocations: 476.8 kB / 0.7794 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.9365, allocations: 218.3 kB / 0.7796 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.9379, allocations: 0.5843 MB / 0.7802 GB, free: 134 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.938, allocations: 40.78 kB / 0.7803 GB, free: 134 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.9384, allocations: 359 kB / 0.7806 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.9386, allocations: 158.8 kB / 0.7808 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.9386, allocations: 8 kB / 0.7808 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.9387, allocations: 326.2 kB / 0.7811 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.9392, allocations: 171.2 kB / 0.7812 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.9398, allocations: 282.4 kB / 0.7815 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.9403, allocations: 235.2 kB / 0.7817 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.9403, allocations: 5.203 kB / 0.7817 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001424/0.9417, allocations: 0.5892 MB / 0.7823 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.9419, allocations: 418.3 kB / 0.7827 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.984e-06/0.9419, allocations: 5.781 kB / 0.7827 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.942, allocations: 2.75 kB / 0.7827 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.9428, allocations: 146.6 kB / 0.7829 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.9428, allocations: 3.5 kB / 0.7829 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.9437, allocations: 126.5 kB / 0.783 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.9438, allocations: 18.12 kB / 0.783 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.9438, allocations: 4.125 kB / 0.783 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.945, allocations: 495.8 kB / 0.7835 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.945, allocations: 1.734 kB / 0.7835 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.9451, allocations: 3.281 kB / 0.7835 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.9457, allocations: 116.6 kB / 0.7836 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.9458, allocations: 6.844 kB / 0.7836 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.9465, allocations: 103.3 kB / 0.7837 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.9466, allocations: 19.61 kB / 0.7837 GB, free: 132.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.9469, allocations: 146.5 kB / 0.7839 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.947, allocations: 76.34 kB / 0.7839 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.9484, allocations: 0.502 MB / 0.7844 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.9484, allocations: 4.125 kB / 0.7844 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-06/0.9485, allocations: 1.156 kB / 0.7844 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9485, allocations: 2.344 kB / 0.7844 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.9498, allocations: 0.7498 MB / 0.7852 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.9498, allocations: 0 / 0.7852 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009882/0.9508, allocations: 135.6 kB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.9509, allocations: 5.094 kB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.9509, allocations: 13.41 kB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.957e-06/0.9509, allocations: 4.328 kB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.984e-06/0.951, allocations: 2.625 kB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.9529, allocations: 0.7662 MB / 0.7861 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.9534, allocations: 221.3 kB / 0.7863 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.9536, allocations: 12.97 kB / 0.7863 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.9544, allocations: 88.14 kB / 0.7864 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.9546, allocations: 53.84 kB / 0.7864 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.9547, allocations: 15.11 kB / 0.7864 GB, free: 132 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008495/0.9555, allocations: 475.6 kB / 0.7869 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.23e-07/0.9555, allocations: 0 / 0.7869 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001032/0.9566, allocations: 246.5 kB / 0.7871 GB, free: 131.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.9568, allocations: 123.9 kB / 0.7872 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.9586, allocations: 0.8805 MB / 0.7881 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.813e-06/0.9587, allocations: 3.312 kB / 0.7881 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005681/0.9592, allocations: 221.6 kB / 0.7883 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9603, allocations: 186.7 kB / 0.7885 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.9626, allocations: 0.893 MB / 0.7894 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.9631, allocations: 0.9405 MB / 0.7903 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009703/0.9641, allocations: 136 kB / 0.7904 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.9644, allocations: 44.89 kB / 0.7905 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.13e-06/0.9644, allocations: 1.25 kB / 0.7905 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.02712/0.9915, allocations: 10.07 MB / 0.8003 GB, free: 129.9 MB / 0.6511 GB