Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.789/4.789, allocations: 404.2 MB / 411.3 MB, free: 348 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.496e-05, allocations: 4 kB / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6905, allocations: 92.68 MB / 0.585 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/2.067, allocations: 436 MB / 1.011 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/2.068, allocations: 96.19 kB / 1.011 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 53.71/55.77, allocations: 8.17 GB / 9.181 GB, free: 10.39 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.436e-06/55.77, allocations: 0 / 9.181 GB, free: 10.39 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.007447/55.78, allocations: 0.5109 MB / 9.181 GB, free: 9.875 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2040 * Number of variables: 2040 Notification: Performance of Generate backend data structure: time 2.395/58.18, allocations: 13.92 MB / 9.195 GB, free: 80.28 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/58.18, allocations: 11.88 kB / 9.195 GB, free: 80.28 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/58.2, allocations: 2.422 MB / 9.197 GB, free: 79.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1288/58.33, allocations: 23.79 MB / 9.22 GB, free: 77.33 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007363/58.33, allocations: 258.4 kB / 9.22 GB, free: 77.33 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006536/58.34, allocations: 0.5695 MB / 9.221 GB, free: 77.33 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05812/58.4, allocations: 19.6 MB / 9.24 GB, free: 77.3 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05728/58.45, allocations: 15.41 MB / 9.255 GB, free: 75.41 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007282/58.46, allocations: 18.16 kB / 9.255 GB, free: 75.41 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005081/58.46, allocations: 18.06 kB / 9.255 GB, free: 75.41 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003987/58.46, allocations: 219.5 kB / 9.255 GB, free: 75.41 MB / 1.042 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.2389/58.7, allocations: 78.56 MB / 9.332 GB, free: 40.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04198/58.74, allocations: 14.23 MB / 9.346 GB, free: 40.19 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02366/58.77, allocations: 9.207 MB / 9.355 GB, free: 40.13 MB / 1.042 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.1453/58.91, allocations: 42.83 MB / 9.397 GB, free: 28.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02731/58.94, allocations: 9.283 MB / 9.406 GB, free: 28.09 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1011/59.04, allocations: 15.67 MB / 9.421 GB, free: 27.79 MB / 1.042 GB Notification: Performance of pre-optimization done (n=603): time 7.218e-05/59.04, allocations: 0 / 9.421 GB, free: 27.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=615): time 1.718/60.76, allocations: 148.2 MB / 9.566 GB, free: 416 kB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001466/60.76, allocations: 2.56 MB / 9.568 GB, free: 13.24 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0509/60.81, allocations: 13.38 MB / 9.582 GB, free: 15.96 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.004994/60.82, allocations: 45.7 kB / 9.582 GB, free: 15.91 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01795/60.83, allocations: 7.731 MB / 9.589 GB, free: 8.145 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007377/60.84, allocations: 2.082 MB / 9.591 GB, free: 6.031 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004666/60.85, allocations: 0 / 9.591 GB, free: 6.031 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001501/60.85, allocations: 0.6792 MB / 9.592 GB, free: 5.344 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217/62.06, allocations: 8.774 MB / 9.6 GB, free: 109 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03122/62.1, allocations: 12.13 MB / 9.612 GB, free: 105.3 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0982/62.19, allocations: 10.15 MB / 9.622 GB, free: 105.2 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002163/62.19, allocations: 15.03 kB / 9.622 GB, free: 105.2 MB / 1.073 GB Notification: Performance of matching and sorting (n=1214) (initialization): time 1.693/63.89, allocations: 129.5 MB / 9.749 GB, free: 104.3 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.007391/63.89, allocations: 35.94 MB / 9.784 GB, free: 67.34 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007787/63.9, allocations: 120.5 kB / 9.784 GB, free: 67.34 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653/65.55, allocations: 144.9 MB / 9.925 GB, free: 30.63 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03152/65.58, allocations: 2.29 MB / 9.928 GB, free: 28.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.366/65.95, allocations: 70.85 MB / 9.997 GB, free: 7.223 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03987/65.99, allocations: 1.155 MB / 9.998 GB, free: 6.145 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006652/65.99, allocations: 0.8574 MB / 9.999 GB, free: 5.363 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/65.99, allocations: 5.422 kB / 9.999 GB, free: 5.359 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.762/68.75, allocations: 121.7 MB / 10.12 GB, free: 129.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007143/68.76, allocations: 115.3 kB / 10.12 GB, free: 129.9 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65/70.41, allocations: 143.6 MB / 10.26 GB, free: 115.4 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02336/70.43, allocations: 2.163 MB / 10.26 GB, free: 115 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3315/70.76, allocations: 69.71 MB / 10.33 GB, free: 71.45 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03526/70.8, allocations: 0.9025 MB / 10.33 GB, free: 70.62 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005762/70.8, allocations: 0.7926 MB / 10.33 GB, free: 69.9 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,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 (953): * Single equations (assignments): 875 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {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: 1 {39 67} Notification: Performance of prepare postOptimizeDAE: time 0.009193/70.81, allocations: 353.3 kB / 10.33 GB, free: 69.71 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 2.812/73.62, allocations: 123.2 MB / 10.45 GB, free: 114.7 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009355/73.63, allocations: 1.443 MB / 10.45 GB, free: 114.7 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5049/74.14, allocations: 48.39 MB / 10.5 GB, free: 114 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002441/74.14, allocations: 74.92 kB / 10.5 GB, free: 114 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000123/74.14, allocations: 32.09 kB / 10.5 GB, free: 114 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5375/74.68, allocations: 43.3 MB / 10.54 GB, free: 113.3 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 postOpt removeSimpleEquations (simulation): time 0.5067/75.18, allocations: 64.01 MB / 10.6 GB, free: 109 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001037/75.18, allocations: 5.828 kB / 10.6 GB, free: 109 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01962/75.2, allocations: 1.251 MB / 10.61 GB, free: 109 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4022/75.6, allocations: 42.41 MB / 10.65 GB, free: 108.8 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002971/75.61, allocations: 173.2 kB / 10.65 GB, free: 108.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3149/75.92, allocations: 58.72 MB / 10.7 GB, free: 87.47 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/75.92, allocations: 11.78 kB / 10.7 GB, free: 87.46 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4637/76.39, allocations: 56.52 MB / 10.76 GB, free: 55.38 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01721/76.4, allocations: 3.158 MB / 10.76 GB, free: 53.43 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009712/76.41, allocations: 82.27 kB / 10.76 GB, free: 53.39 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03084/76.44, allocations: 1.028 MB / 10.76 GB, free: 52.79 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005677/76.45, allocations: 0.5273 MB / 10.76 GB, free: 52.53 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003063/76.45, allocations: 283.8 kB / 10.76 GB, free: 52.35 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.03173/76.48, allocations: 10.04 MB / 10.77 GB, free: 46.99 MB / 1.104 GB Notification: Performance of sort global known variables: time 9.82e-07/76.48, allocations: 0 / 10.77 GB, free: 46.99 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.09152/76.58, allocations: 8.225 MB / 10.78 GB, free: 39.35 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (541): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {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: 11 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 1.677/78.25, allocations: 62.39 MB / 10.84 GB, free: 114.5 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1744/78.43, allocations: 38.8 MB / 10.88 GB, free: 111.4 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.143e-05/78.43, allocations: 15.92 kB / 10.88 GB, free: 111.4 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.06923/78.5, allocations: 11.61 MB / 10.89 GB, free: 111 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07404/78.57, allocations: 7.249 MB / 10.9 GB, free: 110.9 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1373/78.71, allocations: 31.38 MB / 10.93 GB, free: 105 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02449/78.73, allocations: 8.884 MB / 10.94 GB, free: 103.9 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.06865/78.8, allocations: 8.182 MB / 10.95 GB, free: 103.7 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02237/78.82, allocations: 7.403 MB / 10.95 GB, free: 103.7 MB / 1.104 GB Notification: Performance of SimCode: time 1.623e-06/78.82, allocations: 0 / 10.95 GB, free: 103.7 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.996/81.82, allocations: 0.5784 GB / 11.53 GB, free: 33.55 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000274/81.82, allocations: 187.7 kB / 11.53 GB, free: 33.35 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 44.93/126.8, allocations: 0 / 11.53 GB, free: 33.35 MB / 1.12 GB