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.575/3.575, allocations: 402 MB / 416 MB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.903e-05, allocations: 0 / 0.5003 GB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 92.69 MB / 0.5909 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5987/0.7702, allocations: 128.7 MB / 0.7166 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.7706, allocations: 95.88 kB / 0.7167 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.05466/0.8252, allocations: 14.84 MB / 0.7312 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.333e-06/0.8253, allocations: 0 / 0.7312 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.003e-05/0.8254, allocations: 16 kB / 0.7312 GB, free: 14.8 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.002386/0.8278, allocations: 1.064 MB / 0.7322 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8278, allocations: 8.031 kB / 0.7322 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.8281, allocations: 94.88 kB / 0.7323 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.8294, allocations: 0.5967 MB / 0.7329 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.8295, allocations: 45.31 kB / 0.7329 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.8297, allocations: 63.98 kB / 0.733 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.8319, allocations: 0.8305 MB / 0.7338 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.832, allocations: 0 / 0.7338 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.8321, allocations: 35.95 kB / 0.7338 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.8321, allocations: 12 kB / 0.7339 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.8346, allocations: 0.7311 MB / 0.7346 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00515/0.8397, allocations: 2.674 MB / 0.7372 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.8427, allocations: 0.8688 MB / 0.738 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.8428, allocations: 8.375 kB / 0.738 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.8441, allocations: 417.1 kB / 0.7384 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.203e-06/0.8442, allocations: 0 / 0.7384 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003521/0.8477, allocations: 1.017 MB / 0.7394 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.8479, allocations: 218 kB / 0.7396 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.8491, allocations: 0.6054 MB / 0.7402 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.8492, allocations: 37.7 kB / 0.7403 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.8497, allocations: 356.9 kB / 0.7406 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.8499, allocations: 153.8 kB / 0.7408 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.8499, allocations: 12 kB / 0.7408 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8501, allocations: 326 kB / 0.7411 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.8512, allocations: 308.9 kB / 0.7414 GB, free: 4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.8524, allocations: 411.3 kB / 0.7418 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8536, allocations: 387.8 kB / 0.7421 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.8536, allocations: 0 / 0.7421 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002821/0.8564, allocations: 0.852 MB / 0.743 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.8568, allocations: 421.3 kB / 0.7434 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.8568, allocations: 12 kB / 0.7434 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8568, allocations: 0 / 0.7434 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.8577, allocations: 151.8 kB / 0.7435 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.864e-06/0.8577, allocations: 0 / 0.7435 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.8586, allocations: 127.4 kB / 0.7436 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.8587, allocations: 16 kB / 0.7437 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8587, allocations: 4 kB / 0.7437 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/0.8607, allocations: 0.6521 MB / 0.7443 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8607, allocations: 0 / 0.7443 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.8607, allocations: 8.094 kB / 0.7443 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.8614, allocations: 111.9 kB / 0.7444 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.8614, allocations: 4 kB / 0.7444 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.8622, allocations: 111.3 kB / 0.7445 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.8623, allocations: 19.98 kB / 0.7445 GB, free: 0.6367 MB / 0.6042 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.0005997/0.8629, allocations: 226.5 kB / 0.7448 GB, free: 416 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.8631, allocations: 83.05 kB / 0.7448 GB, free: 332 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.8656, allocations: 0.7658 MB / 0.7456 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8657, allocations: 4 kB / 0.7456 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8657, allocations: 0 / 0.7456 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.8657, allocations: 4 kB / 0.7456 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.867, allocations: 0.7509 MB / 0.7463 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.121e-06/0.867, allocations: 0 / 0.7463 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.8679, allocations: 139.8 kB / 0.7465 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-06/0.8679, allocations: 0 / 0.7465 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.868, allocations: 12 kB / 0.7465 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.131e-06/0.868, allocations: 3.938 kB / 0.7465 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-06/0.868, allocations: 4 kB / 0.7465 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.8717, allocations: 1.151 MB / 0.7476 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.8722, allocations: 224 kB / 0.7478 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.8724, allocations: 15.94 kB / 0.7478 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.8731, allocations: 87.91 kB / 0.7479 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.8733, allocations: 44.38 kB / 0.748 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.8733, allocations: 15.98 kB / 0.748 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009593/0.8743, allocations: 487 kB / 0.7484 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.53e-07/0.8743, allocations: 4 kB / 0.7484 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009908/0.8753, allocations: 243.3 kB / 0.7487 GB, free: 12.3 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.0002377/0.8756, allocations: 130.9 kB / 0.7488 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003621/0.8792, allocations: 1.24 MB / 0.75 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.806e-06/0.8793, allocations: 4 kB / 0.75 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.8805, allocations: 362.2 kB / 0.7504 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.8816, allocations: 176.6 kB / 0.7505 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.8849, allocations: 1.464 MB / 0.752 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.8856, allocations: 0.9474 MB / 0.7529 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009706/0.8866, allocations: 135.7 kB / 0.753 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.8868, allocations: 39.42 kB / 0.7531 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of SimCode: time 1.742e-06/0.8868, allocations: 0 / 0.7531 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of Templates: time 0.0272/0.9141, allocations: 10.14 MB / 0.7629 GB, free: 13.64 MB / 0.6355 GB