Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.28/4.28, allocations: 460.4 MB / 472.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.945e-05, allocations: 4 kB / 0.5682 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 106.2 MB / 0.6719 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/2.167, allocations: 456.2 MB / 1.117 GB, free: 255 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/2.167, allocations: 93.3 kB / 1.118 GB, free: 255 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 48.22/50.39, allocations: 8.459 GB / 9.577 GB, free: 78.33 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.903e-06/50.39, allocations: 0 / 9.577 GB, free: 78.33 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004619/50.39, allocations: 0.5162 MB / 9.577 GB, free: 78.22 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.07387/50.46, allocations: 14.14 MB / 9.591 GB, free: 72.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/50.46, allocations: 11.88 kB / 9.591 GB, free: 72.23 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006194/50.47, allocations: 1.058 MB / 9.592 GB, free: 72.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/50.49, allocations: 2.305 MB / 9.594 GB, free: 71.12 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.107/50.6, allocations: 23.22 MB / 9.617 GB, free: 68.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001487/50.6, allocations: 0.721 MB / 9.618 GB, free: 68.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007225/50.61, allocations: 1.02 MB / 9.619 GB, free: 68.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05501/50.66, allocations: 16.45 MB / 9.635 GB, free: 66.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006099/50.66, allocations: 14.19 kB / 9.635 GB, free: 66.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005118/50.67, allocations: 360.6 kB / 9.635 GB, free: 66.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003141/50.67, allocations: 214.8 kB / 9.635 GB, free: 66.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05304/50.72, allocations: 19.28 MB / 9.654 GB, free: 66.46 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.2121/50.93, allocations: 79.2 MB / 9.732 GB, free: 32.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02829/50.96, allocations: 11.56 MB / 9.743 GB, free: 31.71 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0207/50.98, allocations: 8.952 MB / 9.752 GB, free: 29.95 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.113/51.1, allocations: 33.13 MB / 9.784 GB, free: 12.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02395/51.12, allocations: 9.042 MB / 9.793 GB, free: 9.055 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08311/51.2, allocations: 15.14 MB / 9.808 GB, free: 1.879 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 5.198e-05/51.2, allocations: 0 / 9.808 GB, free: 1.879 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 2.662/53.87, allocations: 170.2 MB / 9.974 GB, free: 95.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007228/53.87, allocations: 2.525 MB / 9.976 GB, free: 92.39 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04551/53.91, allocations: 14.74 MB / 9.991 GB, free: 91.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005297/53.92, allocations: 264.8 kB / 9.991 GB, free: 91.47 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01523/53.93, allocations: 7.91 MB / 9.999 GB, free: 90.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00833/53.94, allocations: 2.82 MB / 10 GB, free: 88.68 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005606/53.95, allocations: 205.1 kB / 10 GB, free: 88.68 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00137/53.95, allocations: 0.7486 MB / 10 GB, free: 88.36 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0267/53.97, allocations: 9.49 MB / 10.01 GB, free: 88.33 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0317/54.01, allocations: 13.11 MB / 10.02 GB, free: 84.35 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03078/54.04, allocations: 10.87 MB / 10.03 GB, free: 84.01 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/54.04, allocations: 12.5 kB / 10.03 GB, free: 84.01 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.275/55.31, allocations: 128.1 MB / 10.16 GB, free: 70.93 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007022/55.32, allocations: 36.69 MB / 10.2 GB, free: 33.33 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007027/55.32, allocations: 119.2 kB / 10.2 GB, free: 33.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606/57.93, allocations: 147.8 MB / 10.34 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02709/57.95, allocations: 2.583 MB / 10.34 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3694/58.32, allocations: 73.61 MB / 10.41 GB, free: 130.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05207/58.38, allocations: 1.44 MB / 10.42 GB, free: 130.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008274/58.38, allocations: 0.9163 MB / 10.42 GB, free: 130.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/58.38, allocations: 7.531 kB / 10.42 GB, free: 130.1 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.268/59.65, allocations: 126.8 MB / 10.54 GB, free: 128.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006108/59.65, allocations: 109.8 kB / 10.54 GB, free: 128.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341/60.99, allocations: 147.5 MB / 10.69 GB, free: 20.09 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02377/61.02, allocations: 2.555 MB / 10.69 GB, free: 17.72 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533/62.55, allocations: 77.36 MB / 10.76 GB, free: 149.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03471/62.58, allocations: 1.412 MB / 10.76 GB, free: 149.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005776/62.59, allocations: 0.8764 MB / 10.77 GB, free: 149.3 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.00945/62.6, allocations: 0.7279 MB / 10.77 GB, free: 149.2 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008653/62.61, allocations: 1.549 MB / 10.77 GB, free: 149.2 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3556/62.96, allocations: 49.17 MB / 10.82 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001988/62.96, allocations: 101.5 kB / 10.82 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001338/62.96, allocations: 29.59 kB / 10.82 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3193/63.28, allocations: 43.18 MB / 10.86 GB, free: 147.8 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3887/63.67, allocations: 67.5 MB / 10.92 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000142/63.67, allocations: 6.5 kB / 10.92 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01836/63.69, allocations: 1.723 MB / 10.93 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3348/64.03, allocations: 42.76 MB / 10.97 GB, free: 143.4 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003382/64.03, allocations: 343.2 kB / 10.97 GB, free: 143.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/64.14, allocations: 30.8 MB / 11 GB, free: 136.3 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/64.14, allocations: 3.078 kB / 11 GB, free: 136.3 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3413/64.48, allocations: 56.55 MB / 11.05 GB, free: 112.8 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01676/64.49, allocations: 3.634 MB / 11.06 GB, free: 110.6 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008556/64.5, allocations: 278.5 kB / 11.06 GB, free: 110.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02734/64.53, allocations: 1.213 MB / 11.06 GB, free: 109.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004254/64.53, allocations: 0.587 MB / 11.06 GB, free: 109.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003035/64.54, allocations: 346.7 kB / 11.06 GB, free: 109.4 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03137/64.57, allocations: 11.26 MB / 11.07 GB, free: 103 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.413e-06/64.57, allocations: 0 / 11.07 GB, free: 103 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0785/64.65, allocations: 8.778 MB / 11.08 GB, free: 95.28 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.3752/65.02, allocations: 62.17 MB / 11.14 GB, free: 58.86 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 1.345/66.37, allocations: 42.5 MB / 11.18 GB, free: 147.3 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.577e-05/66.37, allocations: 11.75 kB / 11.18 GB, free: 147.3 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04897/66.42, allocations: 11.05 MB / 11.19 GB, free: 147.1 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07077/66.49, allocations: 7.759 MB / 11.2 GB, free: 147.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1154/66.6, allocations: 33.92 MB / 11.23 GB, free: 141.2 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02226/66.63, allocations: 9.435 MB / 11.24 GB, free: 140 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.07695/66.7, allocations: 8.951 MB / 11.25 GB, free: 139.9 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02461/66.73, allocations: 7.851 MB / 11.26 GB, free: 139.9 MB / 1.229 GB Notification: Performance of SimCode: time 2.524e-06/66.73, allocations: 2.75 kB / 11.26 GB, free: 139.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.707/70.43, allocations: 0.6416 GB / 11.9 GB, free: 131.2 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/70.43, allocations: 233.2 kB / 11.9 GB, free: 130.9 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.27/112.7, allocations: 4 kB / 11.9 GB, free: 130.9 MB / 1.245 GB