Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadModel(Buildings): time 3.983/3.983, allocations: 464.7 MB / 476.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.267e-05, allocations: 4 kB / 0.5731 GB, free: 5.719 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1985, allocations: 107.2 MB / 0.6777 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.595/1.794, allocations: 456.7 MB / 1.124 GB, free: 319.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.794, allocations: 90.36 kB / 1.124 GB, free: 319.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 40.75/42.55, allocations: 8.461 GB / 9.584 GB, free: 91.16 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.341e-06/42.55, allocations: 0 / 9.584 GB, free: 91.16 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00394/42.55, allocations: 0.5122 MB / 9.585 GB, free: 91.06 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.05503/42.61, allocations: 14.14 MB / 9.599 GB, free: 85.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/42.61, allocations: 9.844 kB / 9.599 GB, free: 85.09 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/42.62, allocations: 2.306 MB / 9.601 GB, free: 84.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08221/42.71, allocations: 23.24 MB / 9.624 GB, free: 81.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/42.71, allocations: 0.7128 MB / 9.624 GB, free: 81.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005441/42.71, allocations: 1.024 MB / 9.625 GB, free: 81.44 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04498/42.76, allocations: 16.48 MB / 9.641 GB, free: 79.61 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000467/42.76, allocations: 13.03 kB / 9.641 GB, free: 79.61 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003955/42.76, allocations: 361.1 kB / 9.642 GB, free: 79.61 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/42.76, allocations: 223.8 kB / 9.642 GB, free: 79.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0437/42.81, allocations: 19.34 MB / 9.661 GB, free: 79.58 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.156/42.96, allocations: 79.27 MB / 9.738 GB, free: 45.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/42.98, allocations: 11.64 MB / 9.75 GB, free: 45.52 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01657/43, allocations: 8.978 MB / 9.758 GB, free: 45.45 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.08323/43.08, allocations: 33.21 MB / 9.791 GB, free: 36.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01949/43.1, allocations: 9.088 MB / 9.8 GB, free: 36.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05632/43.16, allocations: 15.14 MB / 9.815 GB, free: 35.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 3.839e-05/43.16, allocations: 0 / 9.815 GB, free: 35.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 1.878/45.04, allocations: 172.5 MB / 9.983 GB, free: 104.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005155/45.04, allocations: 2.531 MB / 9.985 GB, free: 101.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03893/45.08, allocations: 14.74 MB / 10 GB, free: 100.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003765/45.08, allocations: 262.8 kB / 10 GB, free: 100.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01138/45.09, allocations: 7.903 MB / 10.01 GB, free: 100.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005466/45.1, allocations: 2.824 MB / 10.01 GB, free: 99.73 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003233/45.1, allocations: 209.6 kB / 10.01 GB, free: 99.73 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0009617/45.1, allocations: 0.744 MB / 10.01 GB, free: 99.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02203/45.13, allocations: 9.561 MB / 10.02 GB, free: 99.38 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02539/45.15, allocations: 13.17 MB / 10.03 GB, free: 95.49 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02611/45.18, allocations: 10.91 MB / 10.04 GB, free: 95.25 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/45.18, allocations: 18.58 kB / 10.04 GB, free: 95.24 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.7919/45.97, allocations: 128.2 MB / 10.17 GB, free: 92.19 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006694/45.98, allocations: 36.69 MB / 10.21 GB, free: 54.74 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004927/45.98, allocations: 117.4 kB / 10.21 GB, free: 54.74 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8159/46.79, allocations: 146.9 MB / 10.35 GB, free: 3.082 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02031/46.81, allocations: 2.698 MB / 10.35 GB, free: 0.5664 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147/47.96, allocations: 73.19 MB / 10.42 GB, free: 160.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02568/47.99, allocations: 1.556 MB / 10.42 GB, free: 160.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004834/47.99, allocations: 0.9135 MB / 10.43 GB, free: 160.3 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/47.99, allocations: 3.469 kB / 10.43 GB, free: 160.3 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7399/48.73, allocations: 126.9 MB / 10.55 GB, free: 159.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005204/48.73, allocations: 116.7 kB / 10.55 GB, free: 159.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8276/49.56, allocations: 147.3 MB / 10.69 GB, free: 129.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01652/49.57, allocations: 2.669 MB / 10.7 GB, free: 126.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2057/49.78, allocations: 77.03 MB / 10.77 GB, free: 70.17 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02452/49.8, allocations: 1.528 MB / 10.77 GB, free: 68.89 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00447/49.81, allocations: 0.8735 MB / 10.77 GB, free: 68.1 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.007297/49.82, allocations: 0.7162 MB / 10.77 GB, free: 67.83 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006824/49.82, allocations: 1.553 MB / 10.78 GB, free: 67.11 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2246/50.05, allocations: 49.26 MB / 10.82 GB, free: 27.46 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001368/50.05, allocations: 96 kB / 10.82 GB, free: 27.36 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.7e-05/50.05, allocations: 30.44 kB / 10.82 GB, free: 27.34 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165/51.21, allocations: 43.25 MB / 10.87 GB, free: 140.7 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.275/51.49, allocations: 67.7 MB / 10.93 GB, free: 136.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000114/51.49, allocations: 3.656 kB / 10.93 GB, free: 136.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01339/51.5, allocations: 1.834 MB / 10.93 GB, free: 136.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2373/51.74, allocations: 42.27 MB / 10.98 GB, free: 136.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002624/51.74, allocations: 345.2 kB / 10.98 GB, free: 136.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08223/51.82, allocations: 30.51 MB / 11.01 GB, free: 129.4 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-06/51.82, allocations: 2.062 kB / 11.01 GB, free: 129.4 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2432/52.07, allocations: 56.75 MB / 11.06 GB, free: 128 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0142/52.08, allocations: 3.637 MB / 11.06 GB, free: 127.6 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007146/52.09, allocations: 276.5 kB / 11.06 GB, free: 127.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02014/52.11, allocations: 1.337 MB / 11.07 GB, free: 127.6 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003415/52.11, allocations: 0.5822 MB / 11.07 GB, free: 127.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002488/52.12, allocations: 351 kB / 11.07 GB, free: 127.6 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02873/52.14, allocations: 11.26 MB / 11.08 GB, free: 127 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.098e-06/52.14, allocations: 0 / 11.08 GB, free: 127 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05584/52.2, allocations: 8.799 MB / 11.09 GB, free: 127 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (717): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/52.21, allocations: 5.765 MB / 11.09 GB, free: 124.9 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.101/52.31, allocations: 41.27 MB / 11.13 GB, free: 117.5 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/52.31, allocations: 11.22 kB / 11.13 GB, free: 117.5 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.025/52.34, allocations: 10.6 MB / 11.14 GB, free: 111.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06742/52.41, allocations: 7.769 MB / 11.15 GB, free: 108 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07272/52.48, allocations: 29.38 MB / 11.18 GB, free: 86.76 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01955/52.5, allocations: 9.434 MB / 11.19 GB, free: 81.19 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04952/52.55, allocations: 8.958 MB / 11.2 GB, free: 76.06 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005628/52.55, allocations: 0.9688 MB / 11.2 GB, free: 75.27 MB / 1.229 GB Notification: Performance of SimCode: time 2.12e-06/52.55, allocations: 0 / 11.2 GB, free: 75.27 MB / 1.229 GB Notification: Performance of Templates: time 2.97/55.52, allocations: 0.4951 GB / 11.69 GB, free: 4.855 MB / 1.245 GB