Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadModel(Buildings): time 4.782/4.782, allocations: 458.9 MB / 473.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.36e-05, allocations: 4.094 kB / 0.5697 GB, free: 9.777 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.2 MB / 0.6734 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002049/0.2312, allocations: 1.152 MB / 0.6746 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.2322, allocations: 335.5 kB / 0.6749 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.2323, allocations: 0 / 0.6749 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.2324, allocations: 7.922 kB / 0.6749 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.2326, allocations: 11.92 kB / 0.6749 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.2333, allocations: 171.7 kB / 0.6751 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.2335, allocations: 131.7 kB / 0.6752 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.2336, allocations: 0 / 0.6752 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.2338, allocations: 123.8 kB / 0.6753 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2341, allocations: 123.7 kB / 0.6754 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.2342, allocations: 31.92 kB / 0.6755 GB, free: 500 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.2343, allocations: 16 kB / 0.6755 GB, free: 484 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.2344, allocations: 47.89 kB / 0.6755 GB, free: 436 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2345, allocations: 24 kB / 0.6755 GB, free: 412 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.2349, allocations: 183.8 kB / 0.6757 GB, free: 228 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2349, allocations: 0 / 0.6757 GB, free: 228 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2349, allocations: 0 / 0.6757 GB, free: 228 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.2349, allocations: 0 / 0.6757 GB, free: 228 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001193/0.2361, allocations: 0.5101 MB / 0.6762 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2362, allocations: 8.031 kB / 0.6762 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.2363, allocations: 27.89 kB / 0.6762 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.2367, allocations: 254.6 kB / 0.6765 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.2368, allocations: 16 kB / 0.6765 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2369, allocations: 39.91 kB / 0.6765 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.2378, allocations: 258.2 kB / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2378, allocations: 0 / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.2379, allocations: 0 / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2379, allocations: 4 kB / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.2384, allocations: 107.8 kB / 0.6769 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.239, allocations: 375.8 kB / 0.6773 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.2397, allocations: 242.7 kB / 0.6775 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2397, allocations: 4.125 kB / 0.6775 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008136/0.2406, allocations: 274.4 kB / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 2.905e-06/0.2406, allocations: 0 / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.002025/0.2426, allocations: 0.533 MB / 0.6783 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.2428, allocations: 148.5 kB / 0.6784 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.243, allocations: 139 kB / 0.6785 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.052e-05/0.2431, allocations: 41.7 kB / 0.6786 GB, free: 13 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2432, allocations: 100.6 kB / 0.6787 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2433, allocations: 71.17 kB / 0.6787 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.2434, allocations: 12 kB / 0.6788 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2435, allocations: 326.8 kB / 0.6791 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.244, allocations: 183.8 kB / 0.6792 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.2446, allocations: 215.2 kB / 0.6795 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.2452, allocations: 237.8 kB / 0.6797 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2452, allocations: 0 / 0.6797 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001822/0.247, allocations: 0.7271 MB / 0.6804 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.2472, allocations: 91.31 kB / 0.6805 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2472, allocations: 0 / 0.6805 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2472, allocations: 0 / 0.6805 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2474, allocations: 23.92 kB / 0.6805 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.2475, allocations: 4 kB / 0.6805 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.2482, allocations: 83.8 kB / 0.6806 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.2483, allocations: 19.98 kB / 0.6806 GB, free: 10.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002646/0.2485, allocations: 158.7 kB / 0.6808 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.2486, allocations: 23.78 kB / 0.6808 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.2487, allocations: 20.67 kB / 0.6808 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.2487, allocations: 4 kB / 0.6808 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2487, allocations: 4 kB / 0.6808 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.2487, allocations: 7.984 kB / 0.6808 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.2491, allocations: 261.3 kB / 0.6811 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.2491, allocations: 4 kB / 0.6811 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2492, allocations: 11.94 kB / 0.6811 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.2493, allocations: 7.984 kB / 0.6811 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.2493, allocations: 11.98 kB / 0.6811 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.2493, allocations: 7.891 kB / 0.6811 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.2493, allocations: 4 kB / 0.6811 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2507, allocations: 0.4917 MB / 0.6816 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.2508, allocations: 92.95 kB / 0.6817 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.251, allocations: 19.98 kB / 0.6817 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.2512, allocations: 19.98 kB / 0.6817 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.2513, allocations: 23.91 kB / 0.6817 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.2514, allocations: 23.97 kB / 0.6818 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001156/0.2515, allocations: 108.8 kB / 0.6819 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2515, allocations: 0 / 0.6819 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004828/0.252, allocations: 83.98 kB / 0.6819 GB, free: 9.371 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002757/0.2523, allocations: 139.2 kB / 0.6821 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.2539, allocations: 0.7054 MB / 0.6828 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2539, allocations: 0 / 0.6828 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.2545, allocations: 163.8 kB / 0.6829 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2547, allocations: 9.719 kB / 0.6829 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2559, allocations: 413.5 kB / 0.6833 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2563, allocations: 0.7169 MB / 0.684 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.978e-05/0.2564, allocations: 17.36 kB / 0.684 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.2564, allocations: 19.44 kB / 0.6841 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/0.2564, allocations: 0 / 0.6841 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of Templates: time 0.01037/0.2668, allocations: 3.216 MB / 0.6872 GB, free: 3.914 MB / 0.5573 GB