Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadModel(Buildings): time 3.726/3.726, allocations: 402 MB / 416.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.887e-05, allocations: 0 / 0.501 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 92.68 MB / 0.5915 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.006947/0.2182, allocations: 3.894 MB / 0.5953 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.2234, allocations: 1.809 MB / 0.597 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.2242, allocations: 63.81 kB / 0.5971 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.2246, allocations: 118.9 kB / 0.5972 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.2255, allocations: 171.3 kB / 0.5974 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.2276, allocations: 0.5499 MB / 0.5979 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002532/0.2302, allocations: 0.984 MB / 0.5989 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.2322, allocations: 0.9995 MB / 0.5998 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.2331, allocations: 434.9 kB / 0.6003 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.234, allocations: 486.1 kB / 0.6007 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.2344, allocations: 83.97 kB / 0.6008 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.2347, allocations: 56 kB / 0.6009 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.235, allocations: 243 kB / 0.6011 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.2353, allocations: 92 kB / 0.6012 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.4931/0.7285, allocations: 1.516 MB / 0.6027 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7285, allocations: 0.9062 kB / 0.6027 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7286, allocations: 0 / 0.6027 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001031/0.7287, allocations: 0 / 0.6027 GB, free: 5.762 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.004127/0.7328, allocations: 1.368 MB / 0.604 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.7329, allocations: 9.75 kB / 0.604 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006795/0.7336, allocations: 169.2 kB / 0.6042 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.7357, allocations: 0.7518 MB / 0.6049 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.736, allocations: 132.6 kB / 0.605 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/0.7365, allocations: 165.3 kB / 0.6052 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00483/0.7413, allocations: 1.646 MB / 0.6068 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.7414, allocations: 5.188 kB / 0.6068 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.7416, allocations: 66.48 kB / 0.6069 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/0.7417, allocations: 37.06 kB / 0.6069 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.7458, allocations: 1.25 MB / 0.6081 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.7577, allocations: 5.855 MB / 0.6138 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.7612, allocations: 1.129 MB / 0.6149 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.7614, allocations: 18.3 kB / 0.615 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.7633, allocations: 0.6422 MB / 0.6156 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=124): time 6.432e-06/0.7633, allocations: 0 / 0.6156 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124): time 0.004413/0.7678, allocations: 1.361 MB / 0.6169 GB, free: 144 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.7679, allocations: 103.3 kB / 0.617 GB, free: 44 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.7692, allocations: 0.6003 MB / 0.6176 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004061/0.7696, allocations: 80.16 kB / 0.6177 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/0.7703, allocations: 0.547 MB / 0.6182 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.7709, allocations: 327.9 kB / 0.6185 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.7711, allocations: 33.59 kB / 0.6185 GB, free: 15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002696/0.7713, allocations: 415.7 kB / 0.6189 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.7729, allocations: 463.8 kB / 0.6194 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.7748, allocations: 0.7953 MB / 0.6202 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.7765, allocations: 0.4984 MB / 0.6207 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.7766, allocations: 2.812 kB / 0.6207 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00476/0.7814, allocations: 1.499 MB / 0.6221 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001682/0.7831, allocations: 3.874 MB / 0.6259 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/0.7832, allocations: 9.938 kB / 0.6259 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.026e-05/0.7832, allocations: 26.23 kB / 0.6259 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.7848, allocations: 190.8 kB / 0.6261 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.262e-05/0.7849, allocations: 22.36 kB / 0.6261 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.787, allocations: 222.5 kB / 0.6264 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.7873, allocations: 75.78 kB / 0.6264 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7873, allocations: 4.469 kB / 0.6264 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004302/0.7917, allocations: 1.425 MB / 0.6278 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.7917, allocations: 11 kB / 0.6278 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/0.7918, allocations: 18.59 kB / 0.6278 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7931, allocations: 191.1 kB / 0.628 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.009e-05/0.7932, allocations: 24.7 kB / 0.6281 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.795, allocations: 210.6 kB / 0.6283 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.7952, allocations: 68.84 kB / 0.6283 GB, free: 8.195 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,operationModes.morPreCoo.inPort[2].set,operationModes.initialStep.inPort[1].set,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,controlBus.controlMode,operationModes.initialStep.active,$PRE.operationModes.initialStep.localActive,operationModes.initialStep.localActive,$PRE.operationModes.initialStep.newActive,operationModes.initialStep.newActive,$PRE.operationModes.initialStep.oldActive,operationModes.initialStep.oldActive,operationModes.start.enableFire,$PRE.operationModes.unOccOff.localActive,operationModes.unOccOff.localActive,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.outPort[2].available,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.condition,operationModes.t2.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t1.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.stateGraphRoot.activeSteps,$PRE.operationModes.morWarUp.localActive,operationModes.morWarUp.localActive,operationModes.morWarUp.inPort[2].occupied,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.enableFire,operationModes.t6.fire,$PRE.operationModes.t6.t_start,operationModes.t6.t_start,operationModes.t5.condition,operationModes.t5.enableFire,$PRE.operationModes.occ.localActive,operationModes.occ.localActive,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,$PRE.operationModes.occ.newActive,operationModes.occ.newActive,$PRE.operationModes.occ.oldActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.condition,operationModes.t3.enableFire,operationModes.t4.condition,operationModes.t4.enableFire,$PRE.operationModes.morPreCoo.localActive,operationModes.morPreCoo.localActive,operationModes.morPreCoo.inPort[2].occupied,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.condition,operationModes.t7.enableFire,operationModes.booleanExpression.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.condition,operationModes.t9.enableFire,operationModes.not1.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,operationModes.preCooSta.and3.u[2],PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 1 * 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.00126/0.7965, allocations: 432.5 kB / 0.6287 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.7969, allocations: 94.53 kB / 0.6288 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.8006, allocations: 1.151 MB / 0.6299 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.8006, allocations: 7.938 kB / 0.63 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.8006, allocations: 1.062 kB / 0.63 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/0.8014, allocations: 274.5 kB / 0.6302 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.8017, allocations: 35.48 kB / 0.6302 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.8027, allocations: 89.14 kB / 0.6303 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/0.8032, allocations: 158.4 kB / 0.6305 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004296/0.8075, allocations: 1.332 MB / 0.6318 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005412/0.813, allocations: 1.947 MB / 0.6337 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001672/0.8147, allocations: 0.5573 MB / 0.6342 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008121/0.8156, allocations: 381.5 kB / 0.6346 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of Backend: time 7.52e-07/0.8156, allocations: 1.062 kB / 0.6346 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003385/0.819, allocations: 1.06 MB / 0.6356 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of SimCode: time 0.006399/0.8254, allocations: 2.713 MB / 0.6383 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of Templates: time 0.04722/0.8727, allocations: 13.26 MB / 0.6512 GB, free: 13.95 MB / 0.5261 GB