Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.151/4.151, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.314e-05/4.32e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2314, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.921/2.152, allocations: 457.7 MB / 1.119 GB, free: 255.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/2.153, allocations: 94.55 kB / 1.119 GB, free: 255.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 56.62/58.77, allocations: 9.98 GB / 11.1 GB, free: 91.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.084e-06/58.77, allocations: 0 / 11.1 GB, free: 91.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003478/58.78, allocations: 353 kB / 11.1 GB, free: 91.92 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05968/58.84, allocations: 11.13 MB / 11.11 GB, free: 87.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/58.84, allocations: 10.66 kB / 11.11 GB, free: 87.23 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004782/58.84, allocations: 0.7792 MB / 11.11 GB, free: 87.15 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/58.86, allocations: 2.221 MB / 11.11 GB, free: 86.37 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09205/58.95, allocations: 18.6 MB / 11.13 GB, free: 84.26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/58.95, allocations: 0.5331 MB / 11.13 GB, free: 84.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004909/58.96, allocations: 0.7083 MB / 11.13 GB, free: 84.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04146/59, allocations: 12.97 MB / 11.15 GB, free: 83.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/59, allocations: 10.89 kB / 11.15 GB, free: 83.66 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003588/59, allocations: 248.1 kB / 11.15 GB, free: 83.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/59, allocations: 148.3 kB / 11.15 GB, free: 83.66 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04432/59.05, allocations: 17.39 MB / 11.16 GB, free: 83.64 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.1788/59.23, allocations: 69.92 MB / 11.23 GB, free: 51.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03011/59.26, allocations: 9.347 MB / 11.24 GB, free: 51.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02659/59.28, allocations: 8.413 MB / 11.25 GB, free: 51.62 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.1022/59.39, allocations: 29.39 MB / 11.28 GB, free: 43.54 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0199/59.41, allocations: 8.045 MB / 11.28 GB, free: 43.44 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08062/59.49, allocations: 15.23 MB / 11.3 GB, free: 42.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 4.408e-05/59.49, allocations: 3.094 kB / 11.3 GB, free: 42.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.4912/59.98, allocations: 74.67 MB / 11.37 GB, free: 34.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/59.98, allocations: 119.5 kB / 11.37 GB, free: 34.85 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0345/60.01, allocations: 11.84 MB / 11.38 GB, free: 32.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003943/60.02, allocations: 189 kB / 11.38 GB, free: 32.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009995/60.03, allocations: 6.015 MB / 11.39 GB, free: 28.06 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004994/60.03, allocations: 1.953 MB / 11.39 GB, free: 26.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003614/60.04, allocations: 145.8 kB / 11.39 GB, free: 26.43 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006876/60.04, allocations: 0.5962 MB / 11.39 GB, free: 25.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0202/60.06, allocations: 7.746 MB / 11.4 GB, free: 22.84 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02484/60.08, allocations: 10.27 MB / 11.41 GB, free: 16.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03185/60.11, allocations: 8.67 MB / 11.42 GB, free: 12.45 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.469e-05/60.11, allocations: 12 kB / 11.42 GB, free: 12.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1223/60.24, allocations: 27.29 MB / 11.45 GB, free: 10.83 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.138/61.37, allocations: 29.65 MB / 11.47 GB, free: 119.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/61.37, allocations: 48.89 kB / 11.47 GB, free: 119.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546/62.92, allocations: 170.4 MB / 11.64 GB, free: 118.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01866/62.94, allocations: 1.693 MB / 11.64 GB, free: 118.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08252/63.02, allocations: 26.57 MB / 11.67 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03097/63.05, allocations: 1.201 MB / 11.67 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004983/63.06, allocations: 0.7975 MB / 11.67 GB, free: 113.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/63.06, allocations: 3.844 kB / 11.67 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08229/63.14, allocations: 24.94 MB / 11.7 GB, free: 112.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/63.14, allocations: 51.36 kB / 11.7 GB, free: 112.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575/64.72, allocations: 170.6 MB / 11.86 GB, free: 1.625 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/64.73, allocations: 1.677 MB / 11.86 GB, free: 68 kB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1114/64.84, allocations: 30.94 MB / 11.89 GB, free: 8.871 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0312/64.87, allocations: 1.181 MB / 11.89 GB, free: 7.875 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005241/64.88, allocations: 0.7574 MB / 11.9 GB, free: 7.176 MB / 1.214 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.007258/64.89, allocations: 0.5144 MB / 11.9 GB, free: 6.969 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007306/64.89, allocations: 1.201 MB / 11.9 GB, free: 6.418 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265/66.16, allocations: 23.22 MB / 11.92 GB, free: 152.5 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002115/66.16, allocations: 74.75 kB / 11.92 GB, free: 152.5 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.185e-05/66.16, allocations: 1.031 kB / 11.92 GB, free: 152.5 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06548/66.23, allocations: 17.72 MB / 11.94 GB, free: 151.9 MB / 1.214 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.2516/66.48, allocations: 53.89 MB / 11.99 GB, free: 145.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001179/66.48, allocations: 9.688 kB / 11.99 GB, free: 145.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01194/66.49, allocations: 1.192 MB / 11.99 GB, free: 145.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3868/66.88, allocations: 48.87 MB / 12.04 GB, free: 145.5 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002156/66.88, allocations: 201.2 kB / 12.04 GB, free: 145.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03894/66.92, allocations: 14.72 MB / 12.05 GB, free: 140.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/66.92, allocations: 12.34 kB / 12.05 GB, free: 140.3 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1067/67.02, allocations: 32.61 MB / 12.09 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01333/67.04, allocations: 2.917 MB / 12.09 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006867/67.04, allocations: 130.9 kB / 12.09 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02316/67.07, allocations: 0.9287 MB / 12.09 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002758/67.07, allocations: 462.6 kB / 12.09 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001882/67.07, allocations: 286.2 kB / 12.09 GB, free: 136.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02598/67.1, allocations: 9.032 MB / 12.1 GB, free: 136.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.032e-06/67.1, allocations: 0.9062 kB / 12.1 GB, free: 136.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06197/67.16, allocations: 6.512 MB / 12.1 GB, free: 136.1 MB / 1.214 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.1139/67.27, allocations: 38.01 MB / 12.14 GB, free: 129.4 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1212/67.4, allocations: 33.09 MB / 12.17 GB, free: 128.7 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/67.4, allocations: 2.531 kB / 12.17 GB, free: 128.7 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0315/67.43, allocations: 9.128 MB / 12.18 GB, free: 128.5 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05391/67.48, allocations: 6.271 MB / 12.19 GB, free: 128.4 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08693/67.57, allocations: 24.4 MB / 12.21 GB, free: 113.3 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01576/67.58, allocations: 7.177 MB / 12.22 GB, free: 109 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04591/67.63, allocations: 6.354 MB / 12.23 GB, free: 105.4 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01404/67.64, allocations: 5.84 MB / 12.23 GB, free: 104 MB / 1.214 GB Notification: Performance of SimCode: time 1.563e-06/67.64, allocations: 0 / 12.23 GB, free: 104 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.452/71.1, allocations: 0.5409 GB / 12.77 GB, free: 12.05 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/71.1, allocations: 229.9 kB / 12.77 GB, free: 11.78 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.13/104.2, allocations: 0 / 12.77 GB, free: 11.78 MB / 1.261 GB