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.633/3.633, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.069e-05, allocations: 4 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5103, allocations: 92.69 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.7044, allocations: 128.7 MB / 0.7153 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.7047, allocations: 87.94 kB / 0.7154 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05423/0.759, allocations: 14.76 MB / 0.7298 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.841e-06/0.759, allocations: 7.938 kB / 0.7298 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.556e-05/0.7591, allocations: 19.94 kB / 0.7298 GB, free: 14.55 MB / 0.6198 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.002335/0.7615, allocations: 1.051 MB / 0.7308 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7615, allocations: 8.031 kB / 0.7308 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.7618, allocations: 94.88 kB / 0.7309 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.7631, allocations: 0.5966 MB / 0.7315 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.7632, allocations: 45.31 kB / 0.7315 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.7633, allocations: 63.98 kB / 0.7316 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.7649, allocations: 0.6915 MB / 0.7323 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.7649, allocations: 0 / 0.7323 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.765, allocations: 27.95 kB / 0.7323 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.7651, allocations: 16 kB / 0.7323 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.7663, allocations: 466.5 kB / 0.7328 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005024/0.7713, allocations: 2.666 MB / 0.7354 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.7729, allocations: 0.5558 MB / 0.7359 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.7735, allocations: 205.6 kB / 0.7361 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.7736, allocations: 8.375 kB / 0.7361 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006789/0.7742, allocations: 280.4 kB / 0.7364 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 8.474e-06/0.7743, allocations: 3.984 kB / 0.7364 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001305/0.7756, allocations: 467.2 kB / 0.7368 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.7757, allocations: 226 kB / 0.737 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.7769, allocations: 0.5822 MB / 0.7376 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/0.777, allocations: 41.64 kB / 0.7377 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.7774, allocations: 364.9 kB / 0.738 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.7776, allocations: 161.7 kB / 0.7382 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.7777, allocations: 4 kB / 0.7382 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7779, allocations: 329.9 kB / 0.7385 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.7784, allocations: 169.1 kB / 0.7386 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.779, allocations: 282.4 kB / 0.7389 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.7795, allocations: 242.5 kB / 0.7391 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.7795, allocations: 0 / 0.7391 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001448/0.781, allocations: 0.5827 MB / 0.7397 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.7813, allocations: 425.3 kB / 0.7401 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7813, allocations: 0 / 0.7401 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.7813, allocations: 4 kB / 0.7401 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/0.7822, allocations: 147.8 kB / 0.7403 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.7822, allocations: 4 kB / 0.7403 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.7831, allocations: 127.4 kB / 0.7404 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.7832, allocations: 16 kB / 0.7404 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.7832, allocations: 7.938 kB / 0.7404 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.7844, allocations: 0.4921 MB / 0.7409 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.7844, allocations: 0 / 0.7409 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.7845, allocations: 4 kB / 0.7409 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.7852, allocations: 116 kB / 0.741 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7852, allocations: 8 kB / 0.741 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.7859, allocations: 99.38 kB / 0.7411 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.786, allocations: 16 kB / 0.7411 GB, free: 2.48 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.0002316/0.7862, allocations: 148.7 kB / 0.7413 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.7865, allocations: 79.06 kB / 0.7413 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.7879, allocations: 0.504 MB / 0.7418 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.293e-06/0.7879, allocations: 4 kB / 0.7418 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-06/0.7879, allocations: 0 / 0.7418 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.836e-06/0.7879, allocations: 4 kB / 0.7418 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.7892, allocations: 0.7431 MB / 0.7426 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.96e-06/0.7892, allocations: 4 kB / 0.7426 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.7901, allocations: 135.8 kB / 0.7427 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.7901, allocations: 8 kB / 0.7427 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.7902, allocations: 8 kB / 0.7427 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.7902, allocations: 4 kB / 0.7427 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.7902, allocations: 3.938 kB / 0.7427 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.7921, allocations: 0.765 MB / 0.7435 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7926, allocations: 215.9 kB / 0.7437 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.7928, allocations: 12 kB / 0.7437 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.7935, allocations: 95.91 kB / 0.7438 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.7937, allocations: 48.36 kB / 0.7438 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.7938, allocations: 12 kB / 0.7438 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008958/0.7947, allocations: 475.2 kB / 0.7443 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.34e-07/0.7947, allocations: 0 / 0.7443 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009764/0.7957, allocations: 247.3 kB / 0.7445 GB, free: 14.89 MB / 0.6355 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.0002191/0.7959, allocations: 119 kB / 0.7446 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.7978, allocations: 0.894 MB / 0.7455 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.595e-06/0.7979, allocations: 0 / 0.7455 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.7984, allocations: 217.6 kB / 0.7457 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.7996, allocations: 190.1 kB / 0.7459 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.8019, allocations: 0.8895 MB / 0.7468 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.8027, allocations: 0.9474 MB / 0.7477 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000937/0.8036, allocations: 127.7 kB / 0.7478 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.8039, allocations: 47.42 kB / 0.7479 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of SimCode: time 1.839e-06/0.8039, allocations: 0 / 0.7479 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.02719/0.8311, allocations: 10.06 MB / 0.7577 GB, free: 1.363 MB / 0.6355 GB