Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.15/3.15, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.033e-05, allocations: 8 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1672, allocations: 77.73 MB / 0.5023 GB, free: 4.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.683, allocations: 429.1 MB / 0.9213 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.683, allocations: 97.88 kB / 0.9214 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 47.03/48.71, allocations: 8.381 GB / 9.302 GB, free: 66.24 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.755e-06/48.71, allocations: 0 / 9.302 GB, free: 66.24 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004964/48.71, allocations: 0.512 MB / 9.302 GB, free: 66.1 MB / 0.9323 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.07075/48.78, allocations: 14.02 MB / 9.316 GB, free: 60.05 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/48.78, allocations: 11.16 kB / 9.316 GB, free: 60.05 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006033/48.79, allocations: 1.042 MB / 9.317 GB, free: 59.96 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/48.81, allocations: 2.449 MB / 9.32 GB, free: 58.93 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.107/48.92, allocations: 23.33 MB / 9.342 GB, free: 56 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/48.92, allocations: 0.7119 MB / 9.343 GB, free: 55.98 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00673/48.93, allocations: 1.008 MB / 9.344 GB, free: 55.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05139/48.98, allocations: 16.32 MB / 9.36 GB, free: 54.05 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006144/48.98, allocations: 15.44 kB / 9.36 GB, free: 54.05 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004843/48.98, allocations: 354.3 kB / 9.36 GB, free: 54.05 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/48.99, allocations: 212.3 kB / 9.361 GB, free: 54.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0488/49.03, allocations: 19.22 MB / 9.379 GB, free: 41.62 MB / 0.9323 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 1.165/50.2, allocations: 78.89 MB / 9.456 GB, free: 81.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03121/50.23, allocations: 11.56 MB / 9.468 GB, free: 80.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02106/50.25, allocations: 8.951 MB / 9.476 GB, free: 80.66 MB / 0.948 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.1119/50.36, allocations: 33.09 MB / 9.509 GB, free: 72.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02652/50.39, allocations: 9.009 MB / 9.518 GB, free: 72.35 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1046/50.49, allocations: 15.14 MB / 9.532 GB, free: 72.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=582): time 5.872e-05/50.49, allocations: 3.812 kB / 9.532 GB, free: 72.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=812): time 1.459/51.95, allocations: 168.9 MB / 9.697 GB, free: 62.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007487/51.95, allocations: 2.529 MB / 9.7 GB, free: 59.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04293/52, allocations: 14.67 MB / 9.714 GB, free: 53.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005023/52, allocations: 263.2 kB / 9.714 GB, free: 53.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01326/52.02, allocations: 7.896 MB / 9.722 GB, free: 51.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006624/52.02, allocations: 2.816 MB / 9.725 GB, free: 49.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004412/52.03, allocations: 211.5 kB / 9.725 GB, free: 49.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001092/52.03, allocations: 0.7472 MB / 9.726 GB, free: 48.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02668/52.06, allocations: 9.49 MB / 9.735 GB, free: 44.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02946/52.08, allocations: 13.12 MB / 9.748 GB, free: 35.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02959/52.11, allocations: 10.87 MB / 9.758 GB, free: 28.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/52.11, allocations: 12.84 kB / 9.758 GB, free: 28.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.293/54.41, allocations: 128.1 MB / 9.884 GB, free: 91.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006903/54.41, allocations: 36.92 MB / 9.92 GB, free: 53.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005807/54.42, allocations: 115.3 kB / 9.92 GB, free: 53.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431/55.85, allocations: 146.9 MB / 10.06 GB, free: 33.72 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02655/55.87, allocations: 2.578 MB / 10.07 GB, free: 32.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2795/56.15, allocations: 73.19 MB / 10.14 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03665/56.19, allocations: 1.441 MB / 10.14 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006278/56.2, allocations: 0.917 MB / 10.14 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/56.2, allocations: 4 kB / 10.14 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.272/58.47, allocations: 126.8 MB / 10.26 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000663/58.47, allocations: 115.2 kB / 10.26 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351/59.82, allocations: 147.3 MB / 10.41 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02329/59.84, allocations: 2.56 MB / 10.41 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2923/60.14, allocations: 77.03 MB / 10.49 GB, free: 51.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03434/60.17, allocations: 1.411 MB / 10.49 GB, free: 50 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005625/60.18, allocations: 0.8741 MB / 10.49 GB, free: 49.21 MB / 1.01 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.009631/60.18, allocations: 0.7217 MB / 10.49 GB, free: 48.94 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008906/60.19, allocations: 1.54 MB / 10.49 GB, free: 48.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.377/61.57, allocations: 49.15 MB / 10.54 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002424/61.57, allocations: 101 kB / 10.54 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001457/61.57, allocations: 29.59 kB / 10.54 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3302/61.9, allocations: 43.17 MB / 10.58 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5243/62.43, allocations: 67.41 MB / 10.65 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001564/62.43, allocations: 5.594 kB / 10.65 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02798/62.45, allocations: 1.725 MB / 10.65 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3539/62.81, allocations: 42.28 MB / 10.69 GB, free: 113.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003429/62.81, allocations: 341.1 kB / 10.69 GB, free: 113.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1101/62.92, allocations: 30.52 MB / 10.72 GB, free: 106.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/62.92, allocations: 0 / 10.72 GB, free: 106.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3549/63.28, allocations: 56.56 MB / 10.77 GB, free: 104.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0168/63.29, allocations: 3.546 MB / 10.78 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008822/63.3, allocations: 277.1 kB / 10.78 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02783/63.33, allocations: 1.214 MB / 10.78 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004602/63.34, allocations: 0.585 MB / 10.78 GB, free: 104.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002982/63.34, allocations: 327.7 kB / 10.78 GB, free: 104 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.03192/63.37, allocations: 11.2 MB / 10.79 GB, free: 97.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.034e-06/63.37, allocations: 0 / 10.79 GB, free: 97.65 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.07023/63.44, allocations: 8.761 MB / 10.8 GB, free: 90 MB / 1.01 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.3655/63.81, allocations: 62.2 MB / 10.86 GB, free: 53.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.1328/63.94, allocations: 41.11 MB / 10.9 GB, free: 18.24 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/63.94, allocations: 9.781 kB / 10.9 GB, free: 18.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.018/64.96, allocations: 12.73 MB / 10.91 GB, free: 128.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07143/65.03, allocations: 7.767 MB / 10.92 GB, free: 128.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/65.16, allocations: 33.76 MB / 10.95 GB, free: 122.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02295/65.18, allocations: 9.364 MB / 10.96 GB, free: 121.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.06477/65.24, allocations: 9.03 MB / 10.97 GB, free: 121.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02182/65.27, allocations: 7.879 MB / 10.98 GB, free: 121.6 MB / 1.01 GB Notification: Performance of SimCode: time 2.445e-06/65.27, allocations: 6.312 kB / 10.98 GB, free: 121.6 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.486/68.75, allocations: 0.645 GB / 11.62 GB, free: 10.45 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/68.75, allocations: 236.4 kB / 11.62 GB, free: 10.14 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.64/110.4, allocations: 0 / 11.62 GB, free: 10.14 MB / 1.057 GB