Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.235/4.235, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.226e-05, allocations: 3.688 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 98.72 MB / 0.6302 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.691, allocations: 447.6 MB / 1.067 GB, free: 13.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/1.692, allocations: 93.14 kB / 1.067 GB, free: 13.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 49.56/51.25, allocations: 8.381 GB / 9.449 GB, free: 85.81 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.743e-06/51.25, allocations: 0 / 9.449 GB, free: 85.81 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.005622/51.26, allocations: 0.5187 MB / 9.449 GB, free: 85.7 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.07804/51.33, allocations: 14.03 MB / 9.463 GB, free: 79.74 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/51.33, allocations: 8.594 kB / 9.463 GB, free: 79.74 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007077/51.34, allocations: 1.042 MB / 9.464 GB, free: 79.66 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02477/51.37, allocations: 2.449 MB / 9.466 GB, free: 78.62 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1151/51.48, allocations: 23.36 MB / 9.489 GB, free: 75.9 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001558/51.48, allocations: 0.7101 MB / 9.49 GB, free: 75.88 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007358/51.49, allocations: 1.01 MB / 9.491 GB, free: 75.86 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05718/51.55, allocations: 16.38 MB / 9.507 GB, free: 74.03 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006705/51.55, allocations: 10.72 kB / 9.507 GB, free: 74.03 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005277/51.55, allocations: 362.3 kB / 9.507 GB, free: 74.03 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002895/51.55, allocations: 215.5 kB / 9.507 GB, free: 74.03 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05212/51.61, allocations: 19.21 MB / 9.526 GB, free: 74 MB / 1.104 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.2155/51.82, allocations: 78.97 MB / 9.603 GB, free: 39.96 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02841/51.85, allocations: 11.55 MB / 9.614 GB, free: 39.54 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02118/51.87, allocations: 8.949 MB / 9.623 GB, free: 38.67 MB / 1.104 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.1114/51.98, allocations: 33.09 MB / 9.655 GB, free: 21.06 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02387/52.01, allocations: 9.088 MB / 9.664 GB, free: 17.77 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08202/52.09, allocations: 15.15 MB / 9.679 GB, free: 9.723 MB / 1.104 GB Notification: Performance of pre-optimization done (n=581): time 4.152e-05/52.09, allocations: 0 / 9.679 GB, free: 9.723 MB / 1.104 GB Notification: Performance of matching and sorting (n=811): time 2.817/54.91, allocations: 166.1 MB / 9.841 GB, free: 101.4 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007436/54.91, allocations: 2.532 MB / 9.844 GB, free: 98.44 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04513/54.95, allocations: 14.67 MB / 9.858 GB, free: 97.61 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005125/54.96, allocations: 270 kB / 9.858 GB, free: 97.57 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01429/54.97, allocations: 7.904 MB / 9.866 GB, free: 96.24 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007026/54.98, allocations: 2.809 MB / 9.869 GB, free: 94.8 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004558/54.98, allocations: 214.1 kB / 9.869 GB, free: 94.8 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001211/54.98, allocations: 0.7457 MB / 9.87 GB, free: 94.47 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02692/55.01, allocations: 9.377 MB / 9.879 GB, free: 94.45 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03168/55.04, allocations: 13 MB / 9.892 GB, free: 90.46 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03252/55.07, allocations: 10.86 MB / 9.902 GB, free: 90.12 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/55.07, allocations: 14.28 kB / 9.902 GB, free: 90.12 MB / 1.12 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.281/56.36, allocations: 128 MB / 10.03 GB, free: 69.23 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006803/56.36, allocations: 36.92 MB / 10.06 GB, free: 31.62 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005959/56.36, allocations: 120.5 kB / 10.06 GB, free: 31.51 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51/58.87, allocations: 146.9 MB / 10.21 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02641/58.9, allocations: 2.378 MB / 10.21 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2809/59.18, allocations: 73.18 MB / 10.28 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03455/59.22, allocations: 1.253 MB / 10.28 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006121/59.22, allocations: 0.9043 MB / 10.28 GB, free: 120 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/59.22, allocations: 3.844 kB / 10.28 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.289/60.51, allocations: 126.6 MB / 10.41 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006257/60.51, allocations: 119.2 kB / 10.41 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37/61.88, allocations: 147.3 MB / 10.55 GB, free: 12.19 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.169/63.05, allocations: 2.349 MB / 10.55 GB, free: 161.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3054/63.35, allocations: 77.04 MB / 10.63 GB, free: 156.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03497/63.39, allocations: 1.227 MB / 10.63 GB, free: 156.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006463/63.4, allocations: 0.8637 MB / 10.63 GB, free: 156.9 MB / 1.182 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.pulsStart,stepPump.pulsStart,$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.0106/63.41, allocations: 0.7231 MB / 10.63 GB, free: 156.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01003/63.42, allocations: 1.546 MB / 10.63 GB, free: 156.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3654/63.78, allocations: 48.9 MB / 10.68 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002141/63.78, allocations: 98.16 kB / 10.68 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001399/63.78, allocations: 33.69 kB / 10.68 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.329/64.11, allocations: 43.01 MB / 10.72 GB, free: 155.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4028/64.51, allocations: 67.08 MB / 10.79 GB, free: 150.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001409/64.52, allocations: 0 / 10.79 GB, free: 150.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01612/64.53, allocations: 1.524 MB / 10.79 GB, free: 150.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3458/64.88, allocations: 42.25 MB / 10.83 GB, free: 144 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003332/64.88, allocations: 334.8 kB / 10.83 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1049/64.99, allocations: 30.56 MB / 10.86 GB, free: 124.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/64.99, allocations: 0 / 10.86 GB, free: 124.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3521/65.34, allocations: 56.1 MB / 10.92 GB, free: 93.55 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0168/65.35, allocations: 3.544 MB / 10.92 GB, free: 91.41 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008555/65.36, allocations: 275.3 kB / 10.92 GB, free: 91.31 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02632/65.39, allocations: 1.066 MB / 10.92 GB, free: 90.77 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004375/65.39, allocations: 0.5837 MB / 10.92 GB, free: 90.48 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002795/65.4, allocations: 336.5 kB / 10.92 GB, free: 90.25 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03145/65.43, allocations: 11.2 MB / 10.93 GB, free: 83.22 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.172e-06/65.43, allocations: 5.828 kB / 10.93 GB, free: 83.22 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07043/65.5, allocations: 8.736 MB / 10.94 GB, free: 74.78 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * 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 1.5/67, allocations: 61.74 MB / 11 GB, free: 157.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1445/67.14, allocations: 40.71 MB / 11.04 GB, free: 154 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.638e-05/67.14, allocations: 10.41 kB / 11.04 GB, free: 154 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03507/67.18, allocations: 10.4 MB / 11.05 GB, free: 153.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06914/67.25, allocations: 7.778 MB / 11.06 GB, free: 153.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/67.36, allocations: 33.24 MB / 11.09 GB, free: 147.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02111/67.38, allocations: 9.362 MB / 11.1 GB, free: 146.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.06236/67.44, allocations: 8.956 MB / 11.11 GB, free: 146.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01997/67.47, allocations: 7.864 MB / 11.12 GB, free: 146.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.553e-06/67.47, allocations: 0.75 kB / 11.12 GB, free: 146.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.647/71.11, allocations: 0.645 GB / 11.76 GB, free: 25.39 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/71.11, allocations: 233.2 kB / 11.76 GB, free: 25.12 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.46/113.6, allocations: 0 / 11.76 GB, free: 25.12 MB / 1.182 GB