Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.408/4.408, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.966e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2812, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.593, allocations: 414.2 MB / 1.082 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.593, allocations: 84.7 kB / 1.082 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.141/9.734, allocations: 1.449 GB / 2.531 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.094e-06/9.734, allocations: 0 / 2.531 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001169/9.735, allocations: 153 kB / 2.532 GB, free: 128.7 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01942/9.755, allocations: 4.584 MB / 2.536 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/9.755, allocations: 7.062 kB / 2.536 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002354/9.757, allocations: 467.7 kB / 2.536 GB, free: 127 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008986/9.766, allocations: 0.8021 MB / 2.537 GB, free: 126.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0357/9.802, allocations: 6.753 MB / 2.544 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006198/9.803, allocations: 264.9 kB / 2.544 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/9.805, allocations: 349.5 kB / 2.544 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/9.827, allocations: 5.254 MB / 2.55 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/9.827, allocations: 9.062 kB / 2.55 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/9.829, allocations: 146.2 kB / 2.55 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/9.829, allocations: 84.75 kB / 2.55 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/9.845, allocations: 4.858 MB / 2.555 GB, free: 125.2 MB / 0.9167 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.05705/9.902, allocations: 22.7 MB / 2.577 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/9.909, allocations: 2.595 MB / 2.579 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003897/9.913, allocations: 1.7 MB / 2.581 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/9.933, allocations: 7.025 MB / 2.588 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004401/9.937, allocations: 1.773 MB / 2.589 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01121/9.949, allocations: 2.032 MB / 2.591 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 1.601e-05/9.949, allocations: 0 / 2.591 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=157): time 0.01644/9.965, allocations: 4.559 MB / 2.596 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/9.965, allocations: 146.8 kB / 2.596 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/9.977, allocations: 4.508 MB / 2.6 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008131/9.978, allocations: 71.36 kB / 2.601 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00338/9.981, allocations: 2.451 MB / 2.603 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/9.982, allocations: 0.5609 MB / 2.603 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/9.983, allocations: 54.47 kB / 2.604 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002123/9.983, allocations: 414.9 kB / 2.604 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/9.986, allocations: 1.463 MB / 2.605 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/9.991, allocations: 2.761 MB / 2.608 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/9.996, allocations: 1.947 MB / 2.61 GB, free: 108.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-05/9.996, allocations: 6.875 kB / 2.61 GB, free: 108.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01629/10.01, allocations: 5.347 MB / 2.615 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003501/10.02, allocations: 15.28 MB / 2.63 GB, free: 92.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/10.02, allocations: 33.38 kB / 2.63 GB, free: 92.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1367/10.15, allocations: 11.46 MB / 2.641 GB, free: 91.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005619/10.16, allocations: 0.6925 MB / 2.642 GB, free: 91.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/10.17, allocations: 4.724 MB / 2.647 GB, free: 90.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00853/10.18, allocations: 363.9 kB / 2.647 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/10.18, allocations: 159 kB / 2.647 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/10.18, allocations: 5.906 kB / 2.647 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01306/10.19, allocations: 4.824 MB / 2.652 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/10.2, allocations: 34.12 kB / 2.652 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1359/10.33, allocations: 11.38 MB / 2.663 GB, free: 89.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005468/10.34, allocations: 0.6862 MB / 2.664 GB, free: 89.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/10.35, allocations: 7.714 MB / 2.671 GB, free: 86.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007904/10.36, allocations: 343 kB / 2.671 GB, free: 86.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009236/10.36, allocations: 148.5 kB / 2.672 GB, free: 86.02 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001188/10.36, allocations: 291 kB / 2.672 GB, free: 85.89 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/10.37, allocations: 464.5 kB / 2.672 GB, free: 85.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/10.38, allocations: 4.486 MB / 2.677 GB, free: 85.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/10.38, allocations: 22.38 kB / 2.677 GB, free: 85.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/10.38, allocations: 0 / 2.677 GB, free: 85.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02284/10.4, allocations: 6.373 MB / 2.683 GB, free: 84.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05298/10.46, allocations: 13.02 MB / 2.696 GB, free: 82.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/10.46, allocations: 0 / 2.696 GB, free: 82.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004618/10.46, allocations: 431.9 kB / 2.696 GB, free: 82.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1334/10.59, allocations: 11.64 MB / 2.707 GB, free: 82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005763/10.59, allocations: 44.38 kB / 2.707 GB, free: 82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/10.6, allocations: 4.115 MB / 2.712 GB, free: 80.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/10.6, allocations: 0 / 2.712 GB, free: 80.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03722/10.64, allocations: 9.002 MB / 2.72 GB, free: 78.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006836/10.65, allocations: 1.106 MB / 2.721 GB, free: 78.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002949/10.65, allocations: 39.58 kB / 2.721 GB, free: 78.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01047/10.66, allocations: 288.4 kB / 2.722 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009776/10.66, allocations: 111 kB / 2.722 GB, free: 78.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006644/10.66, allocations: 88.14 kB / 2.722 GB, free: 78.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.008961/10.67, allocations: 3.464 MB / 2.725 GB, free: 75.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.42e-07/10.67, allocations: 0 / 2.725 GB, free: 75.65 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01646/10.69, allocations: 2.819 MB / 2.728 GB, free: 72.85 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.03693/10.73, allocations: 10.72 MB / 2.738 GB, free: 63.87 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0262/10.75, allocations: 7.227 MB / 2.746 GB, free: 57.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/10.75, allocations: 9.078 kB / 2.746 GB, free: 57.53 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009239/10.76, allocations: 2.408 MB / 2.748 GB, free: 55.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02263/10.78, allocations: 2.71 MB / 2.751 GB, free: 53.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/10.81, allocations: 9.098 MB / 2.759 GB, free: 45.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004882/10.82, allocations: 3.319 MB / 2.763 GB, free: 43.25 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01724/10.84, allocations: 2.995 MB / 2.766 GB, free: 41.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004606/10.84, allocations: 1.909 MB / 2.767 GB, free: 39.64 MB / 0.9167 GB Notification: Performance of SimCode: time 1.403e-06/10.84, allocations: 0 / 2.767 GB, free: 39.64 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.161/12, allocations: 167.2 MB / 2.931 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/12, allocations: 234 kB / 2.931 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.736/21.74, allocations: 0 / 2.931 GB, free: 132.5 MB / 0.9323 GB