Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadModel(Buildings): time 4.287/4.287, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.793e-05, allocations: 5.094 kB / 0.5731 GB, free: 5.727 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 107.2 MB / 0.6778 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7254/0.9291, allocations: 136.8 MB / 0.8113 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.9294, allocations: 85.91 kB / 0.8114 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04446/0.9739, allocations: 12.66 MB / 0.8238 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.338e-06/0.9739, allocations: 3.938 kB / 0.8238 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.975e-05/0.974, allocations: 19.12 kB / 0.8238 GB, free: 10.14 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002264/0.9763, allocations: 1.068 MB / 0.8249 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9763, allocations: 11.62 kB / 0.8249 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.9766, allocations: 101.1 kB / 0.825 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.9775, allocations: 0.5091 MB / 0.8255 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.9776, allocations: 57.28 kB / 0.8255 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.9777, allocations: 78.72 kB / 0.8256 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.9794, allocations: 0.7218 MB / 0.8263 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.9794, allocations: 7.828 kB / 0.8263 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.9795, allocations: 28.41 kB / 0.8263 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.9795, allocations: 19.44 kB / 0.8263 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.9809, allocations: 0.513 MB / 0.8268 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.9857, allocations: 2.494 MB / 0.8293 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9873, allocations: 0.6034 MB / 0.8299 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.9879, allocations: 271.7 kB / 0.8301 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.988, allocations: 12.08 kB / 0.8301 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007356/0.9887, allocations: 321.7 kB / 0.8304 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 4.763e-06/0.9888, allocations: 0 / 0.8304 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.001283/0.9901, allocations: 0.508 MB / 0.8309 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.9901, allocations: 144.7 kB / 0.8311 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009514/0.9911, allocations: 0.5623 MB / 0.8316 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.9913, allocations: 48.45 kB / 0.8317 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.9916, allocations: 358.2 kB / 0.832 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.9918, allocations: 199 kB / 0.8322 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.9918, allocations: 11.41 kB / 0.8322 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.9919, allocations: 321.7 kB / 0.8325 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.9924, allocations: 192.5 kB / 0.8327 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.993, allocations: 291.4 kB / 0.833 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.9935, allocations: 255.4 kB / 0.8332 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.405e-06/0.9935, allocations: 0 / 0.8332 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001361/0.9949, allocations: 0.6328 MB / 0.8339 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.9951, allocations: 421 kB / 0.8343 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.603e-06/0.9951, allocations: 0 / 0.8343 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.9951, allocations: 3.844 kB / 0.8343 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.9961, allocations: 165.7 kB / 0.8344 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.9961, allocations: 15.81 kB / 0.8344 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.9971, allocations: 139.8 kB / 0.8346 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.9972, allocations: 15.41 kB / 0.8346 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9972, allocations: 10.28 kB / 0.8346 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001211/0.9984, allocations: 0.5378 MB / 0.8351 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.13e-06/0.9985, allocations: 0 / 0.8351 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9985, allocations: 3.75 kB / 0.8351 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.9993, allocations: 135 kB / 0.8352 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.891e-06/0.9993, allocations: 3.906 kB / 0.8352 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/1, allocations: 123.2 kB / 0.8354 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/1, allocations: 18.59 kB / 0.8354 GB, free: 5.125 MB / 0.6355 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 ($whenCondition5,$whenCondition4,$whenCondition3,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002174/1, allocations: 150.5 kB / 0.8355 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.001, allocations: 73.94 kB / 0.8356 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.002, allocations: 0.5487 MB / 0.8361 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.371e-06/1.002, allocations: 7.688 kB / 0.8361 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.978e-06/1.002, allocations: 3.984 kB / 0.8361 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.715e-06/1.002, allocations: 0 / 0.8361 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.004, allocations: 1.404 MB / 0.8375 GB, free: 20.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.447e-06/1.005, allocations: 4.094 kB / 0.8375 GB, free: 20.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/1.005, allocations: 147.2 kB / 0.8377 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/1.005, allocations: 3.844 kB / 0.8377 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/1.006, allocations: 10.78 kB / 0.8377 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.418e-06/1.006, allocations: 3.875 kB / 0.8377 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.796e-06/1.006, allocations: 4.047 kB / 0.8377 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/1.007, allocations: 0.9569 MB / 0.8386 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/1.008, allocations: 163.9 kB / 0.8388 GB, free: 19.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.008, allocations: 17.77 kB / 0.8388 GB, free: 19.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/1.009, allocations: 89.11 kB / 0.8389 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.009, allocations: 57.31 kB / 0.8389 GB, free: 19.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/1.009, allocations: 19.53 kB / 0.8389 GB, free: 19.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000753/1.01, allocations: 462.9 kB / 0.8394 GB, free: 19.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.271e-06/1.01, allocations: 0 / 0.8394 GB, free: 19.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009377/1.011, allocations: 265.3 kB / 0.8396 GB, free: 19.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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.0002312/1.011, allocations: 139.4 kB / 0.8398 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.013, allocations: 0.961 MB / 0.8407 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.013, allocations: 384 / 0.8407 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/1.013, allocations: 268.2 kB / 0.841 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/1.014, allocations: 128.6 kB / 0.8411 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/1.016, allocations: 0.9373 MB / 0.842 GB, free: 18.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/1.017, allocations: 0.9534 MB / 0.8429 GB, free: 17.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000829/1.018, allocations: 109.4 kB / 0.843 GB, free: 17.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/1.018, allocations: 50.14 kB / 0.8431 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of SimCode: time 2.457e-06/1.018, allocations: 0 / 0.8431 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.02382/1.042, allocations: 8.541 MB / 0.8514 GB, free: 10.09 MB / 0.6511 GB