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 4.527/4.527, allocations: 431.3 MB / 445.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.294e-05, allocations: 4 kB / 0.5354 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7316, allocations: 98.71 MB / 0.6318 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.008966/0.7407, allocations: 3.355 MB / 0.6351 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.7464, allocations: 1.248 MB / 0.6363 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.7476, allocations: 47.88 kB / 0.6363 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.7481, allocations: 59.25 kB / 0.6364 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.7498, allocations: 183.3 kB / 0.6366 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.7528, allocations: 411.2 kB / 0.637 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002399/0.7552, allocations: 0.5291 MB / 0.6375 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/0.7561, allocations: 227.3 kB / 0.6377 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.7569, allocations: 219.2 kB / 0.6379 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007033/0.7577, allocations: 246.8 kB / 0.6381 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.7579, allocations: 24 kB / 0.6382 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.7582, allocations: 24 kB / 0.6382 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.7584, allocations: 115.4 kB / 0.6383 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.7586, allocations: 36 kB / 0.6383 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.7606, allocations: 0.9257 MB / 0.6392 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7607, allocations: 0 / 0.6392 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.466e-06/0.7607, allocations: 0 / 0.6392 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.796e-05/0.7608, allocations: 0 / 0.6392 GB, free: 4.289 MB / 0.5105 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.004981/0.7658, allocations: 1.056 MB / 0.6403 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.7659, allocations: 12.03 kB / 0.6403 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/0.7664, allocations: 98.73 kB / 0.6404 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.7691, allocations: 0.6487 MB / 0.641 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.7693, allocations: 49.31 kB / 0.6411 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.7696, allocations: 60 kB / 0.6411 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.7739, allocations: 0.746 MB / 0.6418 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.774, allocations: 0 / 0.6418 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.7742, allocations: 27.98 kB / 0.6419 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.7742, allocations: 15.98 kB / 0.6419 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.7791, allocations: 0.6335 MB / 0.6425 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005666/0.7848, allocations: 2.49 MB / 0.6449 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.7886, allocations: 0.7333 MB / 0.6456 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.7888, allocations: 12.31 kB / 0.6457 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.7904, allocations: 369.5 kB / 0.646 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 4.809e-06/0.7905, allocations: 0 / 0.646 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.004282/0.7948, allocations: 0.8767 MB / 0.6469 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.7949, allocations: 63.83 kB / 0.6469 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7961, allocations: 0.5742 MB / 0.6475 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.7962, allocations: 37.7 kB / 0.6475 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.7967, allocations: 360.8 kB / 0.6479 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.7969, allocations: 165.6 kB / 0.648 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.797, allocations: 12 kB / 0.648 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7972, allocations: 322 kB / 0.6483 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.7986, allocations: 257 kB / 0.6486 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.8, allocations: 344.7 kB / 0.6489 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.8015, allocations: 329.4 kB / 0.6492 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.8015, allocations: 0 / 0.6492 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003345/0.8049, allocations: 0.7818 MB / 0.65 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003821/0.8053, allocations: 0.6762 MB / 0.6507 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8053, allocations: 7.938 kB / 0.6507 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.8054, allocations: 4 kB / 0.6507 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.8067, allocations: 131.8 kB / 0.6508 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.8067, allocations: 7.984 kB / 0.6508 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.8078, allocations: 103.3 kB / 0.6509 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.8079, allocations: 24 kB / 0.6509 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8079, allocations: 4 kB / 0.6509 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/0.8106, allocations: 0.6521 MB / 0.6516 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8106, allocations: 4 kB / 0.6516 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8107, allocations: 4 kB / 0.6516 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.8117, allocations: 127.9 kB / 0.6517 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.8117, allocations: 7.953 kB / 0.6517 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.8126, allocations: 95.47 kB / 0.6518 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.8127, allocations: 16 kB / 0.6518 GB, free: 6.977 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (60): * Single equations (assignments): 58 * 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.0005325/0.8132, allocations: 217.7 kB / 0.652 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.8134, allocations: 78.91 kB / 0.6521 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.8165, allocations: 0.6758 MB / 0.6528 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.8166, allocations: 8 kB / 0.6528 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.8166, allocations: 3.953 kB / 0.6528 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.8166, allocations: 0 / 0.6528 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8179, allocations: 0.6808 MB / 0.6534 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.8179, allocations: 4 kB / 0.6534 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.819, allocations: 119.8 kB / 0.6535 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.8191, allocations: 0 / 0.6535 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.8192, allocations: 11.98 kB / 0.6536 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.8192, allocations: 11.94 kB / 0.6536 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8192, allocations: 3.984 kB / 0.6536 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/0.8236, allocations: 0.9989 MB / 0.6545 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.8241, allocations: 200.1 kB / 0.6547 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.8243, allocations: 12 kB / 0.6548 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.8252, allocations: 59.94 kB / 0.6548 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.8254, allocations: 48.36 kB / 0.6549 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.8255, allocations: 12 kB / 0.6549 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001016/0.8265, allocations: 471 kB / 0.6553 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8265, allocations: 0 / 0.6553 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00102/0.8275, allocations: 231.2 kB / 0.6555 GB, free: 3.059 MB / 0.5261 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.000233/0.8278, allocations: 119.2 kB / 0.6556 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004673/0.8325, allocations: 1.154 MB / 0.6568 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8325, allocations: 0 / 0.6568 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.8341, allocations: 310.5 kB / 0.6571 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.8355, allocations: 177.7 kB / 0.6572 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8393, allocations: 1.432 MB / 0.6586 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.84, allocations: 0.9435 MB / 0.6596 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8411, allocations: 132.2 kB / 0.6597 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.8414, allocations: 43.42 kB / 0.6597 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of SimCode: time 1.213e-06/0.8414, allocations: 0 / 0.6597 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of Templates: time 0.02844/0.8699, allocations: 8.851 MB / 0.6684 GB, free: 5.867 MB / 0.5417 GB