Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.133/3.133, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.763e-05, allocations: 4 kB / 436.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1717, allocations: 77.73 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.669, allocations: 430.4 MB / 0.9227 GB, free: 99.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.669, allocations: 99.75 kB / 0.9228 GB, free: 99.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 55.83/57.5, allocations: 9.885 GB / 10.81 GB, free: 75.97 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.805e-06/57.5, allocations: 7.5 kB / 10.81 GB, free: 75.97 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.003831/57.51, allocations: 338.7 kB / 10.81 GB, free: 75.9 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: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.06201/57.57, allocations: 11.01 MB / 10.82 GB, free: 70.98 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/57.57, allocations: 10.38 kB / 10.82 GB, free: 70.98 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005193/57.57, allocations: 0.7626 MB / 10.82 GB, free: 70.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02326/57.6, allocations: 2.366 MB / 10.82 GB, free: 70.07 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09473/57.69, allocations: 18.72 MB / 10.84 GB, free: 67.88 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/57.69, allocations: 0.5205 MB / 10.84 GB, free: 67.87 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005043/57.7, allocations: 0.6985 MB / 10.84 GB, free: 67.87 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/57.74, allocations: 12.87 MB / 10.85 GB, free: 67.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004569/57.74, allocations: 8.531 kB / 10.85 GB, free: 67.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004133/57.75, allocations: 240.9 kB / 10.85 GB, free: 67.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/57.75, allocations: 145.3 kB / 10.85 GB, free: 67.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0451/57.79, allocations: 17.33 MB / 10.87 GB, free: 67.22 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 0.1807/57.97, allocations: 69.68 MB / 10.94 GB, free: 30.01 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0215/57.99, allocations: 9.347 MB / 10.95 GB, free: 24.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01852/58.01, allocations: 8.412 MB / 10.96 GB, free: 17.03 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 evalFunc (simulation): time 0.09946/58.11, allocations: 29.38 MB / 10.98 GB, free: 9.012 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02296/58.14, allocations: 8.028 MB / 10.99 GB, free: 2.898 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.113/59.25, allocations: 15.95 MB / 11.01 GB, free: 100.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=393): time 4.964e-05/59.25, allocations: 1.562 kB / 11.01 GB, free: 100.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=581): time 0.4495/59.7, allocations: 74.71 MB / 11.08 GB, free: 94.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/59.7, allocations: 111.6 kB / 11.08 GB, free: 94.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06196/59.76, allocations: 11.77 MB / 11.09 GB, free: 93.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004302/59.76, allocations: 185 kB / 11.09 GB, free: 93.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/59.78, allocations: 6.078 MB / 11.1 GB, free: 92.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005613/59.78, allocations: 1.955 MB / 11.1 GB, free: 91.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004162/59.78, allocations: 145.8 kB / 11.1 GB, free: 91.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008544/59.79, allocations: 0.603 MB / 11.1 GB, free: 91.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02422/59.81, allocations: 7.735 MB / 11.11 GB, free: 91.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02564/59.84, allocations: 10.27 MB / 11.12 GB, free: 88.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02544/59.86, allocations: 8.677 MB / 11.13 GB, free: 88.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/59.86, allocations: 12.31 kB / 11.13 GB, free: 88.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.09415/59.96, allocations: 25.92 MB / 11.15 GB, free: 87.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00634/59.96, allocations: 29.86 MB / 11.18 GB, free: 56.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002682/59.96, allocations: 45.75 kB / 11.18 GB, free: 56.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587/61.55, allocations: 170.4 MB / 11.35 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02005/61.57, allocations: 1.69 MB / 11.35 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192/62.76, allocations: 26.56 MB / 11.38 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0326/62.79, allocations: 1.206 MB / 11.38 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005601/62.8, allocations: 0.796 MB / 11.38 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/62.8, allocations: 3.75 kB / 11.38 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09001/62.89, allocations: 24.95 MB / 11.4 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002549/62.89, allocations: 44.03 kB / 11.4 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567/64.46, allocations: 170.6 MB / 11.57 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0157/64.47, allocations: 1.691 MB / 11.57 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1054/64.58, allocations: 30.94 MB / 11.6 GB, free: 84.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03141/64.61, allocations: 1.175 MB / 11.6 GB, free: 83.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005136/64.62, allocations: 0.7623 MB / 11.6 GB, free: 83.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * 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 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.008414/64.62, allocations: 0.5219 MB / 11.6 GB, free: 82.89 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007553/64.63, allocations: 1.193 MB / 11.6 GB, free: 82.35 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09593/64.73, allocations: 23.22 MB / 11.63 GB, free: 67.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001622/64.73, allocations: 75.98 kB / 11.63 GB, free: 67.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-05/64.73, allocations: 0 / 11.63 GB, free: 67.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06377/64.79, allocations: 17.73 MB / 11.64 GB, free: 56.82 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 postOpt removeSimpleEquations (simulation): time 0.2488/65.04, allocations: 53.81 MB / 11.7 GB, free: 17.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001166/65.04, allocations: 9.094 kB / 11.7 GB, free: 17.76 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01191/65.05, allocations: 1.192 MB / 11.7 GB, free: 16.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386/66.44, allocations: 48.87 MB / 11.75 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002523/66.44, allocations: 198.7 kB / 11.75 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04142/66.48, allocations: 14.7 MB / 11.76 GB, free: 97.35 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/66.48, allocations: 18 kB / 11.76 GB, free: 97.35 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1105/66.59, allocations: 32.59 MB / 11.79 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0134/66.61, allocations: 2.853 MB / 11.8 GB, free: 93.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007042/66.61, allocations: 127.4 kB / 11.8 GB, free: 93.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02336/66.64, allocations: 0.9355 MB / 11.8 GB, free: 93.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002825/66.64, allocations: 463.1 kB / 11.8 GB, free: 93.76 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002064/66.64, allocations: 278.5 kB / 11.8 GB, free: 93.76 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02678/66.67, allocations: 8.972 MB / 11.81 GB, free: 93.34 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.192e-06/66.67, allocations: 3.375 kB / 11.81 GB, free: 93.34 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.06397/66.73, allocations: 6.495 MB / 11.81 GB, free: 93.34 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1219/66.85, allocations: 38.03 MB / 11.85 GB, free: 86.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.1262/66.98, allocations: 33.11 MB / 11.88 GB, free: 86.05 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/66.98, allocations: 3.438 kB / 11.88 GB, free: 86.05 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.03243/67.01, allocations: 9.12 MB / 11.89 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05702/67.07, allocations: 6.294 MB / 11.9 GB, free: 85.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08823/67.16, allocations: 24.25 MB / 11.92 GB, free: 81.38 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/67.17, allocations: 7.109 MB / 11.93 GB, free: 80.38 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.04775/67.22, allocations: 6.39 MB / 11.93 GB, free: 80.12 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0146/67.24, allocations: 5.855 MB / 11.94 GB, free: 80.12 MB / 0.9636 GB Notification: Performance of SimCode: time 1.563e-06/67.24, allocations: 7.75 kB / 11.94 GB, free: 80.11 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.11/71.35, allocations: 0.5421 GB / 12.48 GB, free: 168.8 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/71.35, allocations: 237.5 kB / 12.48 GB, free: 168.5 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.68/104, allocations: 1.094 kB / 12.48 GB, free: 168.5 MB / 1.042 GB