Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.262/4.262, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.148e-05, allocations: 4.984 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2481, allocations: 98.73 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.513, allocations: 406 MB / 1.027 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.513, allocations: 87.23 kB / 1.027 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.862/10.38, allocations: 1.449 GB / 2.475 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.514e-06/10.38, allocations: 0 / 2.475 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00118/10.38, allocations: 159.8 kB / 2.475 GB, free: 108.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.01999/10.4, allocations: 4.571 MB / 2.48 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/10.4, allocations: 11.02 kB / 2.48 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00212/10.4, allocations: 459.6 kB / 2.48 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0079/10.41, allocations: 0.8437 MB / 2.481 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02853/10.44, allocations: 6.798 MB / 2.488 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/10.44, allocations: 264.7 kB / 2.488 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/10.44, allocations: 351.9 kB / 2.488 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/10.46, allocations: 5.23 MB / 2.494 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/10.46, allocations: 10.53 kB / 2.494 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/10.46, allocations: 148 kB / 2.494 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.99e-05/10.46, allocations: 84.34 kB / 2.494 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/10.47, allocations: 4.846 MB / 2.499 GB, free: 104.9 MB / 0.8542 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.05681/10.53, allocations: 22.69 MB / 2.521 GB, free: 94.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007406/10.54, allocations: 2.601 MB / 2.523 GB, free: 94.94 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004124/10.54, allocations: 1.696 MB / 2.525 GB, free: 94.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/10.56, allocations: 7.013 MB / 2.532 GB, free: 92.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004738/10.57, allocations: 1.778 MB / 2.533 GB, free: 92.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01181/10.58, allocations: 2.03 MB / 2.535 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 1.978e-05/10.58, allocations: 1.812 kB / 2.535 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.0132/10.59, allocations: 4.031 MB / 2.539 GB, free: 92.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/10.59, allocations: 149.7 kB / 2.54 GB, free: 91.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/10.61, allocations: 4.506 MB / 2.544 GB, free: 91.63 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008913/10.61, allocations: 73.92 kB / 2.544 GB, free: 91.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004128/10.61, allocations: 2.467 MB / 2.546 GB, free: 90.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001326/10.61, allocations: 0.5558 MB / 2.547 GB, free: 90.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/10.61, allocations: 53.66 kB / 2.547 GB, free: 90.47 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002554/10.61, allocations: 414.2 kB / 2.547 GB, free: 90.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/10.62, allocations: 1.467 MB / 2.549 GB, free: 90.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00531/10.62, allocations: 2.754 MB / 2.552 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005206/10.63, allocations: 1.946 MB / 2.553 GB, free: 88.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.144e-05/10.63, allocations: 7.625 kB / 2.553 GB, free: 88.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01695/10.65, allocations: 5.343 MB / 2.559 GB, free: 88.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004004/10.65, allocations: 15.32 MB / 2.574 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/10.65, allocations: 33.94 kB / 2.574 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1376/10.79, allocations: 11.45 MB / 2.585 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/10.79, allocations: 0.6982 MB / 2.585 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/10.81, allocations: 4.71 MB / 2.59 GB, free: 69.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0088/10.82, allocations: 369.3 kB / 2.59 GB, free: 69.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/10.82, allocations: 157.5 kB / 2.591 GB, free: 69.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/10.82, allocations: 2.531 kB / 2.591 GB, free: 69.69 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01425/10.83, allocations: 4.832 MB / 2.595 GB, free: 69.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/10.83, allocations: 34.53 kB / 2.595 GB, free: 69.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1369/10.97, allocations: 11.37 MB / 2.606 GB, free: 68.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00559/10.97, allocations: 0.6945 MB / 2.607 GB, free: 68.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/10.99, allocations: 7.696 MB / 2.615 GB, free: 64.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008364/11, allocations: 346.1 kB / 2.615 GB, free: 64.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/11, allocations: 151.6 kB / 2.615 GB, free: 64.82 MB / 0.8542 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.001411/11.01, allocations: 300.5 kB / 2.615 GB, free: 64.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/11.01, allocations: 467.7 kB / 2.616 GB, free: 64.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/11.02, allocations: 4.469 MB / 2.62 GB, free: 62.65 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-05/11.02, allocations: 22.92 kB / 2.62 GB, free: 62.65 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/11.02, allocations: 0 / 2.62 GB, free: 62.65 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02786/11.05, allocations: 6.642 MB / 2.627 GB, free: 57.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05441/11.1, allocations: 12.98 MB / 2.639 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/11.1, allocations: 4 kB / 2.639 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004634/11.11, allocations: 421.2 kB / 2.64 GB, free: 47.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1742/11.28, allocations: 11.63 MB / 2.651 GB, free: 39.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006495/11.28, allocations: 43.78 kB / 2.651 GB, free: 39.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/11.29, allocations: 4.119 MB / 2.655 GB, free: 35.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/11.29, allocations: 0 / 2.655 GB, free: 35.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04292/11.34, allocations: 9.519 MB / 2.665 GB, free: 25.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005024/11.34, allocations: 1.092 MB / 2.666 GB, free: 24.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002286/11.34, allocations: 28 kB / 2.666 GB, free: 24.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007918/11.35, allocations: 303.1 kB / 2.666 GB, free: 24.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000732/11.35, allocations: 105.1 kB / 2.666 GB, free: 24.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000477/11.35, allocations: 83.92 kB / 2.666 GB, free: 24.19 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.009365/11.36, allocations: 3.464 MB / 2.669 GB, free: 20.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.11e-07/11.36, allocations: 0 / 2.669 GB, free: 20.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01619/11.38, allocations: 2.823 MB / 2.672 GB, free: 17.91 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (128): * Single equations (assignments): 119 * 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.04664/11.43, allocations: 11.17 MB / 2.683 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02836/11.45, allocations: 7.228 MB / 2.69 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/11.45, allocations: 4.781 kB / 2.69 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/11.47, allocations: 2.4 MB / 2.693 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02517/11.49, allocations: 2.714 MB / 2.695 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/11.53, allocations: 9.076 MB / 2.704 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6985/12.23, allocations: 3.309 MB / 2.707 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02273/12.25, allocations: 3.072 MB / 2.71 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0061/12.26, allocations: 1.922 MB / 2.712 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.314e-06/12.26, allocations: 0 / 2.712 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3929/12.65, allocations: 167.7 MB / 2.876 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/12.65, allocations: 227.5 kB / 2.876 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/23.2, allocations: 0 / 2.876 GB, free: 100.9 MB / 0.8698 GB