Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.137/3.137, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.942e-05, allocations: 4 kB / 436.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1718, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/1.763, allocations: 429.8 MB / 0.9221 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.763, allocations: 100.3 kB / 0.9222 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 56.63/58.39, allocations: 9.947 GB / 10.87 GB, free: 86.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.624e-06/58.39, allocations: 1.125 kB / 10.87 GB, free: 86.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003705/58.4, allocations: 382.8 kB / 10.87 GB, free: 86.16 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.06279/58.46, allocations: 11.98 MB / 10.88 GB, free: 80.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/58.46, allocations: 10.94 kB / 10.88 GB, free: 80.82 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00547/58.46, allocations: 0.886 MB / 10.88 GB, free: 80.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/58.49, allocations: 2.328 MB / 10.88 GB, free: 79.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09672/58.58, allocations: 20.16 MB / 10.9 GB, free: 77.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/58.58, allocations: 0.5907 MB / 10.9 GB, free: 77.49 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005286/58.59, allocations: 0.7949 MB / 10.91 GB, free: 77.49 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04602/58.64, allocations: 13.72 MB / 10.92 GB, free: 76.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004958/58.64, allocations: 13.59 kB / 10.92 GB, free: 76.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004141/58.64, allocations: 293.3 kB / 10.92 GB, free: 76.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/58.64, allocations: 180 kB / 10.92 GB, free: 76.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04635/58.69, allocations: 17.84 MB / 10.94 GB, free: 76.67 MB / 0.9636 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.1795/58.87, allocations: 73.78 MB / 11.01 GB, free: 42.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02094/58.89, allocations: 9.424 MB / 11.02 GB, free: 42.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01858/58.91, allocations: 8.463 MB / 11.03 GB, free: 42.35 MB / 0.9636 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.09406/59, allocations: 30.12 MB / 11.06 GB, free: 26.99 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01947/59.02, allocations: 7.981 MB / 11.06 GB, free: 24.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07887/59.1, allocations: 14.97 MB / 11.08 GB, free: 22.63 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=427): time 3.639e-05/59.1, allocations: 0 / 11.08 GB, free: 22.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=613): time 1.398/60.5, allocations: 73.06 MB / 11.15 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/60.5, allocations: 115.3 kB / 11.15 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04102/60.54, allocations: 12.52 MB / 11.16 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004414/60.54, allocations: 194 kB / 11.16 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01329/60.56, allocations: 6.68 MB / 11.17 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.006186/60.56, allocations: 2.075 MB / 11.17 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004181/60.57, allocations: 157.2 kB / 11.17 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0009352/60.57, allocations: 0.6217 MB / 11.17 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02233/60.59, allocations: 7.749 MB / 11.18 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02665/60.62, allocations: 10.48 MB / 11.19 GB, free: 99.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02674/60.64, allocations: 8.774 MB / 11.2 GB, free: 99.12 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/60.64, allocations: 15.5 kB / 11.2 GB, free: 99.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.09499/60.74, allocations: 25.74 MB / 11.22 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007333/60.75, allocations: 35.02 MB / 11.26 GB, free: 62.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003007/60.75, allocations: 52.81 kB / 11.26 GB, free: 62.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38/62.13, allocations: 146.4 MB / 11.4 GB, free: 60.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02063/62.15, allocations: 1.883 MB / 11.4 GB, free: 60.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07625/62.22, allocations: 24.6 MB / 11.43 GB, free: 45.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03351/62.26, allocations: 1.29 MB / 11.43 GB, free: 45.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005614/62.26, allocations: 0.8095 MB / 11.43 GB, free: 44.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/62.26, allocations: 5.25 kB / 11.43 GB, free: 44.69 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0834/62.35, allocations: 24.69 MB / 11.45 GB, free: 30.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/62.35, allocations: 52.75 kB / 11.45 GB, free: 30.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496/64.84, allocations: 146.8 MB / 11.6 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01751/64.86, allocations: 1.876 MB / 11.6 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1003/64.96, allocations: 28.88 MB / 11.63 GB, free: 110.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0328/64.99, allocations: 1.257 MB / 11.63 GB, free: 110.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005226/65, allocations: 0.7726 MB / 11.63 GB, free: 110.8 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008364/65.01, allocations: 0.5603 MB / 11.63 GB, free: 110.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007932/65.01, allocations: 1.278 MB / 11.63 GB, free: 110.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1386/65.15, allocations: 26.59 MB / 11.66 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001782/65.15, allocations: 71 kB / 11.66 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/65.15, allocations: 4.656 kB / 11.66 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1068/65.26, allocations: 21.04 MB / 11.68 GB, free: 109.2 MB / 0.9948 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.3195/65.58, allocations: 59.64 MB / 11.73 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001188/65.58, allocations: 9.312 kB / 11.73 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01273/65.59, allocations: 1.291 MB / 11.74 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3408/65.93, allocations: 41.92 MB / 11.78 GB, free: 77.55 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00238/65.94, allocations: 203.5 kB / 11.78 GB, free: 77.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03451/65.97, allocations: 13.64 MB / 11.79 GB, free: 67.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/65.97, allocations: 15.12 kB / 11.79 GB, free: 67.66 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1718/66.14, allocations: 38.41 MB / 11.83 GB, free: 42.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01411/66.16, allocations: 2.99 MB / 11.83 GB, free: 40.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007186/66.16, allocations: 128.5 kB / 11.83 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02459/66.19, allocations: 0.9885 MB / 11.83 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002789/66.19, allocations: 481.5 kB / 11.83 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00224/66.19, allocations: 279.8 kB / 11.83 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02672/66.22, allocations: 9.539 MB / 11.84 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.925e-06/66.22, allocations: 4 kB / 11.84 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.07243/66.29, allocations: 7.117 MB / 11.85 GB, free: 26.04 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 1.216/67.51, allocations: 44.09 MB / 11.89 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.1177/67.63, allocations: 32.49 MB / 11.92 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/67.63, allocations: 3.312 kB / 11.92 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.03154/67.66, allocations: 8.835 MB / 11.93 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06002/67.72, allocations: 6.81 MB / 11.94 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09357/67.81, allocations: 26.11 MB / 11.96 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01725/67.83, allocations: 7.598 MB / 11.97 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.05124/67.88, allocations: 6.768 MB / 11.98 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01601/67.9, allocations: 6.417 MB / 11.98 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of SimCode: time 3.116e-06/67.9, allocations: 0 / 11.98 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.297/71.19, allocations: 0.5626 GB / 12.55 GB, free: 24.51 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/71.19, allocations: 240.5 kB / 12.55 GB, free: 24.19 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.18/106.4, allocations: 0 / 12.55 GB, free: 24.19 MB / 1.026 GB