Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.761/3.761, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.415e-05, allocations: 15.92 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5868, allocations: 92.67 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.751, allocations: 436.8 MB / 1.016 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/1.751, allocations: 88.89 kB / 1.016 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 46.62/48.38, allocations: 8.21 GB / 9.226 GB, free: 37.88 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.954e-06/48.38, allocations: 7.938 kB / 9.226 GB, free: 37.87 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.004629/48.38, allocations: 0.507 MB / 9.226 GB, free: 37.36 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 0.06761/48.45, allocations: 13.93 MB / 9.24 GB, free: 23.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/48.45, allocations: 8.031 kB / 9.24 GB, free: 23.31 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005694/48.45, allocations: 1.049 MB / 9.241 GB, free: 22.25 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/48.47, allocations: 2.418 MB / 9.243 GB, free: 19.81 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.302/50.78, allocations: 23.79 MB / 9.267 GB, free: 68.28 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001872/50.78, allocations: 0.7054 MB / 9.267 GB, free: 68.26 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007268/50.79, allocations: 1.003 MB / 9.268 GB, free: 68.26 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0769/50.86, allocations: 18.63 MB / 9.287 GB, free: 66.37 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006653/50.86, allocations: 11.59 kB / 9.287 GB, free: 66.37 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004966/50.87, allocations: 361.3 kB / 9.287 GB, free: 66.37 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003684/50.87, allocations: 215 kB / 9.287 GB, free: 66.37 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07246/50.94, allocations: 21.36 MB / 9.308 GB, free: 66.34 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.2111/51.15, allocations: 79.9 MB / 9.386 GB, free: 32.64 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05622/51.21, allocations: 15.61 MB / 9.401 GB, free: 32.18 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02086/51.23, allocations: 8.936 MB / 9.41 GB, free: 32.11 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.1263/51.36, allocations: 43.08 MB / 9.452 GB, free: 20.71 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04567/51.4, allocations: 11.55 MB / 9.463 GB, free: 20.51 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08215/51.48, allocations: 15.86 MB / 9.479 GB, free: 20.34 MB / 1.042 GB Notification: Performance of pre-optimization done (n=603): time 4.781e-05/51.48, allocations: 0 / 9.479 GB, free: 20.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=871): time 2.974/54.46, allocations: 224.7 MB / 9.698 GB, free: 97.76 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007771/54.46, allocations: 2.586 MB / 9.701 GB, free: 94.69 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04582/54.5, allocations: 14.24 MB / 9.715 GB, free: 93.94 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.005838/54.51, allocations: 274.8 kB / 9.715 GB, free: 93.91 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01534/54.53, allocations: 7.772 MB / 9.723 GB, free: 93.55 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.008348/54.53, allocations: 3.006 MB / 9.725 GB, free: 92.6 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005313/54.54, allocations: 213 kB / 9.726 GB, free: 92.6 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001371/54.54, allocations: 0.7617 MB / 9.726 GB, free: 92.27 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0287/54.57, allocations: 10 MB / 9.736 GB, free: 92.25 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0342/54.6, allocations: 13.51 MB / 9.749 GB, free: 88.51 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03336/54.64, allocations: 11.38 MB / 9.76 GB, free: 88.28 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/54.64, allocations: 16.53 kB / 9.76 GB, free: 88.28 MB / 1.073 GB Notification: Performance of matching and sorting (n=1470) (initialization): time 1.351/55.99, allocations: 136.9 MB / 9.894 GB, free: 85.52 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.008336/56, allocations: 36.11 MB / 9.929 GB, free: 64.57 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006179/56, allocations: 115.1 kB / 9.93 GB, free: 64.57 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347/57.34, allocations: 148.8 MB / 10.07 GB, free: 2.566 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03106/57.38, allocations: 2.645 MB / 10.08 GB, free: 112 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401/58.78, allocations: 88.24 MB / 10.16 GB, free: 131.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03797/58.81, allocations: 1.689 MB / 10.17 GB, free: 131.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006335/58.82, allocations: 0.9484 MB / 10.17 GB, free: 131.9 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/58.82, allocations: 7.75 kB / 10.17 GB, free: 131.9 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.249/60.07, allocations: 128.3 MB / 10.29 GB, free: 130.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000623/60.07, allocations: 117.3 kB / 10.29 GB, free: 130.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327/61.4, allocations: 148 MB / 10.44 GB, free: 49.81 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0229/61.42, allocations: 2.525 MB / 10.44 GB, free: 47.46 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384/62.81, allocations: 89.45 MB / 10.53 GB, free: 132.1 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0326/62.84, allocations: 1.302 MB / 10.53 GB, free: 132.1 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005802/62.84, allocations: 0.8802 MB / 10.53 GB, free: 132.1 MB / 1.12 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 (1104): * Single equations (assignments): 1025 * 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: 3 * 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: 2 {(28,89.3%) 28,(14,32.1%) 92} * Non-linear torn systems: 1 {14 92} Notification: Performance of prepare postOptimizeDAE: time 0.009363/62.85, allocations: 0.7332 MB / 10.53 GB, free: 132 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00857/62.86, allocations: 1.535 MB / 10.53 GB, free: 132 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.448/63.31, allocations: 58.11 MB / 10.59 GB, free: 131.3 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002101/63.31, allocations: 107.7 kB / 10.59 GB, free: 131.3 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001576/63.31, allocations: 45.88 kB / 10.59 GB, free: 131.3 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4165/63.73, allocations: 52.15 MB / 10.64 GB, free: 130.5 MB / 1.12 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.5154/64.24, allocations: 78.33 MB / 10.71 GB, free: 125.8 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001534/64.24, allocations: 7.844 kB / 10.71 GB, free: 125.8 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02165/64.26, allocations: 1.804 MB / 10.72 GB, free: 125.8 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3769/64.64, allocations: 43.85 MB / 10.76 GB, free: 117 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003579/64.64, allocations: 389.5 kB / 10.76 GB, free: 116.9 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3078/64.95, allocations: 69.8 MB / 10.83 GB, free: 77.02 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/64.95, allocations: 15 kB / 10.83 GB, free: 77.01 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.569/66.52, allocations: 69.64 MB / 10.9 GB, free: 111.3 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01805/66.54, allocations: 3.645 MB / 10.9 GB, free: 111.2 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008837/66.55, allocations: 298.2 kB / 10.9 GB, free: 111.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0311/66.58, allocations: 1.428 MB / 10.9 GB, free: 111.2 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005744/66.59, allocations: 0.7772 MB / 10.9 GB, free: 111.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003179/66.59, allocations: 401.6 kB / 10.9 GB, free: 111.2 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0322/66.62, allocations: 10.87 MB / 10.91 GB, free: 110.7 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.62e-07/66.62, allocations: 0 / 10.91 GB, free: 110.7 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.09366/66.72, allocations: 9.499 MB / 10.92 GB, free: 110.7 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 74 (pmpSouth.port_a.h_outflow,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.port_a.h_outflow,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.port_3.h_outflow,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.port_3.h_outflow,valNorth.filter.x[1],valNorth.filter.x[2],spl.port_3.h_outflow,spl1.port_3.h_outflow,pumpHea.port_a.h_outflow,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.port_3.h_outflow,spl3.port_3.h_outflow,pumpCoo.port_a.h_outflow,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 (785): * Single equations (assignments): 753 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(14,32.1%) 89,(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.4888/67.2, allocations: 76.05 MB / 11 GB, free: 102.7 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1622/67.37, allocations: 44.39 MB / 11.04 GB, free: 98.91 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-05/67.37, allocations: 13.62 kB / 11.04 GB, free: 98.9 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.05992/67.43, allocations: 13.11 MB / 11.05 GB, free: 98.16 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06444/67.49, allocations: 7.48 MB / 11.06 GB, free: 98.04 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.178/67.67, allocations: 39.89 MB / 11.1 GB, free: 91.84 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02149/67.69, allocations: 9.474 MB / 11.11 GB, free: 90.68 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.06123/67.75, allocations: 8.9 MB / 11.12 GB, free: 90.32 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02092/67.77, allocations: 7.872 MB / 11.12 GB, free: 90.3 MB / 1.12 GB Notification: Performance of SimCode: time 1.683e-06/67.77, allocations: 1.859 kB / 11.12 GB, free: 90.3 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.686/71.46, allocations: 0.6916 GB / 11.82 GB, free: 146.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003899/71.46, allocations: 229.7 kB / 11.82 GB, free: 146.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.85/116.3, allocations: 0 / 11.82 GB, free: 146.1 MB / 1.182 GB