Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.221/3.221, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.094e-05, allocations: 7.984 kB / 436.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1711, allocations: 77.73 MB / 0.5023 GB, free: 4.516 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.472/1.644, allocations: 387.5 MB / 0.8808 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.644, allocations: 83.02 kB / 0.8808 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.206/9.85, allocations: 1.449 GB / 2.329 GB, free: 86.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/9.85, allocations: 1.781 kB / 2.329 GB, free: 86.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001242/9.852, allocations: 153.2 kB / 2.33 GB, free: 86.15 MB / 0.698 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.02103/9.873, allocations: 4.569 MB / 2.334 GB, free: 84.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/9.873, allocations: 10.88 kB / 2.334 GB, free: 84.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002413/9.875, allocations: 462.6 kB / 2.335 GB, free: 84.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008283/9.883, allocations: 0.8389 MB / 2.335 GB, free: 84.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0296/9.913, allocations: 6.799 MB / 2.342 GB, free: 83.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/9.914, allocations: 263.3 kB / 2.342 GB, free: 83.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/9.916, allocations: 351.5 kB / 2.343 GB, free: 83.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/9.934, allocations: 5.236 MB / 2.348 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/9.934, allocations: 11.91 kB / 2.348 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/9.936, allocations: 145.4 kB / 2.348 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/9.936, allocations: 84.03 kB / 2.348 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/9.952, allocations: 4.849 MB / 2.353 GB, free: 82.66 MB / 0.698 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.07219/10.02, allocations: 22.68 MB / 2.375 GB, free: 72.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006864/10.03, allocations: 2.583 MB / 2.377 GB, free: 72.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004097/10.03, allocations: 1.702 MB / 2.379 GB, free: 72.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02133/10.06, allocations: 7.027 MB / 2.386 GB, free: 70.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004625/10.06, allocations: 1.772 MB / 2.388 GB, free: 70.43 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01156/10.07, allocations: 2.035 MB / 2.39 GB, free: 70.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 2.129e-05/10.07, allocations: 3.797 kB / 2.39 GB, free: 70.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=157): time 0.01668/10.09, allocations: 4.548 MB / 2.394 GB, free: 69.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/10.09, allocations: 146 kB / 2.394 GB, free: 69.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/10.1, allocations: 4.51 MB / 2.399 GB, free: 69.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009037/10.1, allocations: 69.58 kB / 2.399 GB, free: 69.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004044/10.11, allocations: 2.462 MB / 2.401 GB, free: 68.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/10.11, allocations: 0.5658 MB / 2.402 GB, free: 68.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/10.11, allocations: 53.78 kB / 2.402 GB, free: 68.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002615/10.11, allocations: 416.2 kB / 2.402 GB, free: 67.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/10.11, allocations: 1.464 MB / 2.403 GB, free: 67.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/10.12, allocations: 2.754 MB / 2.406 GB, free: 66.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/10.12, allocations: 1.944 MB / 2.408 GB, free: 66.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-05/10.12, allocations: 6.781 kB / 2.408 GB, free: 66.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01669/10.14, allocations: 5.346 MB / 2.413 GB, free: 65.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003422/10.14, allocations: 15.32 MB / 2.428 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/10.14, allocations: 34.53 kB / 2.428 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1341/10.28, allocations: 11.45 MB / 2.439 GB, free: 49.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005588/10.28, allocations: 0.7025 MB / 2.44 GB, free: 49.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/10.3, allocations: 4.717 MB / 2.445 GB, free: 47.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008703/10.31, allocations: 366.2 kB / 2.445 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/10.31, allocations: 156.7 kB / 2.445 GB, free: 47.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/10.31, allocations: 3.812 kB / 2.445 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/10.32, allocations: 4.828 MB / 2.45 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/10.32, allocations: 34.94 kB / 2.45 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1352/10.46, allocations: 11.37 MB / 2.461 GB, free: 46.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/10.46, allocations: 0.6929 MB / 2.462 GB, free: 46.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/10.48, allocations: 7.707 MB / 2.469 GB, free: 43.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00805/10.49, allocations: 344.4 kB / 2.47 GB, free: 43.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009445/10.49, allocations: 158 kB / 2.47 GB, free: 43.41 MB / 0.698 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.001248/10.49, allocations: 295.2 kB / 2.47 GB, free: 43.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/10.49, allocations: 454.4 kB / 2.471 GB, free: 43.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/10.5, allocations: 4.484 MB / 2.475 GB, free: 42.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-05/10.5, allocations: 19.66 kB / 2.475 GB, free: 42.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/10.5, allocations: 4 kB / 2.475 GB, free: 42.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02228/10.53, allocations: 6.379 MB / 2.481 GB, free: 41.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05067/10.58, allocations: 13.01 MB / 2.494 GB, free: 40.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/10.58, allocations: 3.516 kB / 2.494 GB, free: 40.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004599/10.58, allocations: 426 kB / 2.494 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1325/10.72, allocations: 11.64 MB / 2.506 GB, free: 39.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006041/10.72, allocations: 44.67 kB / 2.506 GB, free: 39.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/10.73, allocations: 4.115 MB / 2.51 GB, free: 37.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/10.73, allocations: 0 / 2.51 GB, free: 37.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03379/10.76, allocations: 9.008 MB / 2.518 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005092/10.77, allocations: 1.09 MB / 2.52 GB, free: 36.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002307/10.77, allocations: 28.22 kB / 2.52 GB, free: 36.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007925/10.78, allocations: 303.6 kB / 2.52 GB, free: 36.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000771/10.78, allocations: 112.5 kB / 2.52 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005185/10.78, allocations: 82.97 kB / 2.52 GB, free: 36.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0092/10.79, allocations: 3.463 MB / 2.523 GB, free: 36.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.002e-06/10.79, allocations: 0 / 2.523 GB, free: 36.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01655/10.8, allocations: 2.82 MB / 2.526 GB, free: 35.19 MB / 0.698 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.03712/10.84, allocations: 10.72 MB / 2.537 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02712/10.87, allocations: 7.22 MB / 2.544 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/10.87, allocations: 5.828 kB / 2.544 GB, free: 21.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00981/10.88, allocations: 2.407 MB / 2.546 GB, free: 19.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02314/10.9, allocations: 2.719 MB / 2.549 GB, free: 17.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03091/10.93, allocations: 9.086 MB / 2.558 GB, free: 9.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005639/10.94, allocations: 3.313 MB / 2.561 GB, free: 6.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01759/10.95, allocations: 3.087 MB / 2.564 GB, free: 5.023 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004841/10.96, allocations: 1.92 MB / 2.566 GB, free: 3.258 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/10.96, allocations: 0 / 2.566 GB, free: 3.258 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.069/12.03, allocations: 167.7 MB / 2.73 GB, free: 73.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/12.03, allocations: 231.6 kB / 2.73 GB, free: 73.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.777/21.81, allocations: 0 / 2.73 GB, free: 73.03 MB / 0.7136 GB