Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.123/4.123, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.037e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2375, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.911/2.148, allocations: 456.7 MB / 1.124 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/2.149, allocations: 94.23 kB / 1.124 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 48.01/50.15, allocations: 8.46 GB / 9.584 GB, free: 88.46 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.745e-06/50.15, allocations: 0 / 9.584 GB, free: 88.46 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0054/50.16, allocations: 0.5132 MB / 9.585 GB, free: 88.36 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.0733/50.23, allocations: 14.15 MB / 9.599 GB, free: 82.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/50.23, allocations: 10.56 kB / 9.599 GB, free: 82.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006465/50.24, allocations: 1.058 MB / 9.6 GB, free: 82.31 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01984/50.26, allocations: 2.308 MB / 9.602 GB, free: 81.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1105/50.37, allocations: 23.23 MB / 9.625 GB, free: 78.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001597/50.37, allocations: 0.7157 MB / 9.625 GB, free: 78.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007039/50.38, allocations: 1.028 MB / 9.626 GB, free: 78.68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05478/50.43, allocations: 16.48 MB / 9.643 GB, free: 76.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007026/50.43, allocations: 19.03 kB / 9.643 GB, free: 76.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005097/50.44, allocations: 354.9 kB / 9.643 GB, free: 76.86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/50.44, allocations: 222.3 kB / 9.643 GB, free: 76.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05216/50.49, allocations: 19.34 MB / 9.662 GB, free: 76.82 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.2104/50.7, allocations: 79.29 MB / 9.739 GB, free: 43.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02875/50.73, allocations: 11.63 MB / 9.751 GB, free: 42.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02079/50.75, allocations: 8.978 MB / 9.76 GB, free: 42.67 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.1153/50.87, allocations: 33.21 MB / 9.792 GB, free: 33.94 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0239/50.89, allocations: 9.084 MB / 9.801 GB, free: 33.78 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08237/50.97, allocations: 15.15 MB / 9.816 GB, free: 32.81 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 5.388e-05/50.97, allocations: 0 / 9.816 GB, free: 32.81 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 2.724/53.7, allocations: 172.6 MB / 9.984 GB, free: 102.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008218/53.7, allocations: 2.53 MB / 9.987 GB, free: 99.45 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04855/53.75, allocations: 14.74 MB / 10 GB, free: 98.65 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005873/53.75, allocations: 261.1 kB / 10 GB, free: 98.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0156/53.77, allocations: 7.91 MB / 10.01 GB, free: 98.22 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00772/53.78, allocations: 2.818 MB / 10.01 GB, free: 97.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005204/53.78, allocations: 206.7 kB / 10.01 GB, free: 97.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001507/53.78, allocations: 0.7522 MB / 10.01 GB, free: 97.38 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02869/53.81, allocations: 9.555 MB / 10.02 GB, free: 97.36 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03283/53.85, allocations: 13.18 MB / 10.03 GB, free: 93.46 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03208/53.88, allocations: 10.9 MB / 10.05 GB, free: 93.22 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/53.88, allocations: 16 kB / 10.05 GB, free: 93.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.295/55.17, allocations: 128.2 MB / 10.17 GB, free: 89.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007342/55.18, allocations: 36.69 MB / 10.21 GB, free: 52.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006431/55.18, allocations: 118.1 kB / 10.21 GB, free: 52.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357/56.54, allocations: 146.9 MB / 10.35 GB, free: 3.91 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02926/56.57, allocations: 2.691 MB / 10.35 GB, free: 1.398 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511/58.08, allocations: 73.19 MB / 10.42 GB, free: 160.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04357/58.12, allocations: 1.556 MB / 10.43 GB, free: 160.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006048/58.13, allocations: 0.9185 MB / 10.43 GB, free: 160.9 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/58.13, allocations: 3.812 kB / 10.43 GB, free: 160.9 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.252/59.38, allocations: 126.9 MB / 10.55 GB, free: 159.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006457/59.38, allocations: 115.7 kB / 10.55 GB, free: 159.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37/60.75, allocations: 147.3 MB / 10.69 GB, free: 113.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02419/60.77, allocations: 2.665 MB / 10.7 GB, free: 111.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.292/61.07, allocations: 77.03 MB / 10.77 GB, free: 54.41 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03763/61.1, allocations: 1.526 MB / 10.77 GB, free: 53.13 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005932/61.11, allocations: 0.8745 MB / 10.77 GB, free: 52.34 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.0101/61.12, allocations: 0.7291 MB / 10.78 GB, free: 52.07 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009202/61.13, allocations: 1.55 MB / 10.78 GB, free: 51.35 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526/62.66, allocations: 49.25 MB / 10.83 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002541/62.66, allocations: 99.86 kB / 10.83 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001218/62.66, allocations: 28.78 kB / 10.83 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3226/62.98, allocations: 43.25 MB / 10.87 GB, free: 141.6 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3961/63.37, allocations: 67.7 MB / 10.93 GB, free: 137.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001738/63.38, allocations: 4.125 kB / 10.93 GB, free: 137.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0195/63.39, allocations: 1.845 MB / 10.94 GB, free: 137.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3418/63.74, allocations: 42.26 MB / 10.98 GB, free: 137.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003423/63.74, allocations: 339.3 kB / 10.98 GB, free: 137.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1453/63.89, allocations: 30.52 MB / 11.01 GB, free: 130.2 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/63.89, allocations: 4.219 kB / 11.01 GB, free: 130.2 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3944/64.28, allocations: 56.76 MB / 11.06 GB, free: 128.9 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0171/64.3, allocations: 3.641 MB / 11.07 GB, free: 128.4 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008729/64.31, allocations: 278.6 kB / 11.07 GB, free: 128.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02897/64.33, allocations: 1.327 MB / 11.07 GB, free: 128.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004418/64.34, allocations: 0.5869 MB / 11.07 GB, free: 128.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00316/64.34, allocations: 347.3 kB / 11.07 GB, free: 128.3 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03235/64.37, allocations: 11.26 MB / 11.08 GB, free: 127.8 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.292e-06/64.37, allocations: 0 / 11.08 GB, free: 127.8 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06988/64.44, allocations: 8.793 MB / 11.09 GB, free: 127.8 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.3657/64.81, allocations: 62.38 MB / 11.15 GB, free: 98.39 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1441/64.95, allocations: 41.28 MB / 11.19 GB, free: 75.57 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-05/64.95, allocations: 9.781 kB / 11.19 GB, free: 75.57 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03388/64.99, allocations: 10.61 MB / 11.2 GB, free: 70.04 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07036/65.06, allocations: 7.754 MB / 11.21 GB, free: 64.83 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1544/65.21, allocations: 33.98 MB / 11.24 GB, free: 35.9 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02084/65.23, allocations: 9.439 MB / 11.25 GB, free: 29.52 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.06001/65.29, allocations: 8.964 MB / 11.26 GB, free: 24.05 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363/67.66, allocations: 8.426 MB / 11.27 GB, free: 130.8 MB / 1.229 GB Notification: Performance of SimCode: time 2.425e-06/67.66, allocations: 0 / 11.27 GB, free: 130.8 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.782/70.44, allocations: 0.6454 GB / 11.91 GB, free: 174.8 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/70.44, allocations: 226.3 kB / 11.91 GB, free: 174.6 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.43/112.9, allocations: 3.688 kB / 11.91 GB, free: 174.6 MB / 1.292 GB