Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadModel(Buildings): time 3.812/3.812, allocations: 403.9 MB / 411 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.381e-05, allocations: 11.88 kB / 0.4942 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5038, allocations: 92.69 MB / 0.5847 GB, free: 2.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.6939, allocations: 128.1 MB / 0.7097 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.6942, allocations: 87.89 kB / 0.7098 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0544/0.7486, allocations: 14.67 MB / 0.7241 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.424e-06/0.7486, allocations: 3.984 kB / 0.7241 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.517e-05/0.7487, allocations: 16 kB / 0.7242 GB, free: 3.375 MB / 0.6042 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.003268/0.752, allocations: 1.051 MB / 0.7252 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7521, allocations: 12.02 kB / 0.7252 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.7524, allocations: 94.88 kB / 0.7253 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.7538, allocations: 0.5929 MB / 0.7259 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.7539, allocations: 24 kB / 0.7259 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.754, allocations: 36 kB / 0.7259 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/0.7552, allocations: 430.6 kB / 0.7263 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.7566, allocations: 0.6172 MB / 0.7269 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.7567, allocations: 3.938 kB / 0.7269 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.7568, allocations: 4 kB / 0.7269 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.7568, allocations: 12 kB / 0.727 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004796/0.7616, allocations: 2.543 MB / 0.7294 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.7631, allocations: 0.5403 MB / 0.73 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.7636, allocations: 193.6 kB / 0.7302 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.7637, allocations: 8.375 kB / 0.7302 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.7643, allocations: 260.5 kB / 0.7304 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.677e-06/0.7643, allocations: 4 kB / 0.7304 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001182/0.7655, allocations: 451.6 kB / 0.7308 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7657, allocations: 218.1 kB / 0.731 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.7666, allocations: 467.6 kB / 0.7315 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/0.7667, allocations: 33.7 kB / 0.7315 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.7671, allocations: 372.4 kB / 0.7319 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.7673, allocations: 149.8 kB / 0.732 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.7673, allocations: 0 / 0.732 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.7676, allocations: 378.8 kB / 0.7324 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.768, allocations: 161.1 kB / 0.7325 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.7685, allocations: 270.3 kB / 0.7328 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.769, allocations: 185.9 kB / 0.733 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.678e-06/0.769, allocations: 3.953 kB / 0.733 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00129/0.7703, allocations: 0.4936 MB / 0.7335 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/0.7706, allocations: 421.4 kB / 0.7339 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.243e-06/0.7706, allocations: 0 / 0.7339 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.7706, allocations: 7.938 kB / 0.7339 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.7715, allocations: 143.8 kB / 0.734 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7715, allocations: 7.938 kB / 0.734 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.7724, allocations: 103.5 kB / 0.7341 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.7724, allocations: 23.98 kB / 0.7341 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7725, allocations: 4 kB / 0.7341 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.7735, allocations: 392.6 kB / 0.7345 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7735, allocations: 0 / 0.7345 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7736, allocations: 4 kB / 0.7345 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.7742, allocations: 120 kB / 0.7346 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.668e-06/0.7742, allocations: 4 kB / 0.7346 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.775, allocations: 79.62 kB / 0.7347 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.7751, allocations: 12 kB / 0.7347 GB, free: 8.117 MB / 0.6198 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.000222/0.7753, allocations: 128.8 kB / 0.7348 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7755, allocations: 75.14 kB / 0.7349 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.7767, allocations: 471.1 kB / 0.7354 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-06/0.7767, allocations: 4 kB / 0.7354 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.215e-06/0.7767, allocations: 0 / 0.7354 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.653e-06/0.7767, allocations: 0 / 0.7354 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.7778, allocations: 0.6618 MB / 0.736 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-06/0.7778, allocations: 3.938 kB / 0.736 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.7787, allocations: 139.8 kB / 0.7362 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.7787, allocations: 0 / 0.7362 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.7788, allocations: 11.98 kB / 0.7362 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.145e-06/0.7788, allocations: 0 / 0.7362 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.052e-06/0.7788, allocations: 0 / 0.7362 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.7805, allocations: 0.7182 MB / 0.7369 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.781, allocations: 208.1 kB / 0.7371 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.7811, allocations: 8 kB / 0.7371 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.7818, allocations: 87.91 kB / 0.7372 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.782, allocations: 40.38 kB / 0.7372 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.7821, allocations: 15.98 kB / 0.7372 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006489/0.7827, allocations: 367.2 kB / 0.7376 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.71e-07/0.7827, allocations: 0 / 0.7376 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009554/0.7837, allocations: 238.9 kB / 0.7378 GB, free: 4.891 MB / 0.6198 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.0002137/0.7839, allocations: 126.9 kB / 0.7379 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.7857, allocations: 0.8503 MB / 0.7387 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.7857, allocations: 0 / 0.7387 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005349/0.7863, allocations: 221.5 kB / 0.739 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.7873, allocations: 160.7 kB / 0.7391 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.7902, allocations: 0.8476 MB / 0.7399 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009664/0.7912, allocations: 0.9465 MB / 0.7409 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001363/0.7926, allocations: 127 kB / 0.741 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.7929, allocations: 43.36 kB / 0.741 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of SimCode: time 1.835e-06/0.793, allocations: 0 / 0.741 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of Templates: time 0.03007/0.823, allocations: 8.786 MB / 0.7496 GB, free: 8.762 MB / 0.6355 GB