Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 2.971/2.971, allocations: 325.3 MB / 337.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.517e-05, allocations: 4 kB / 414.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1935, allocations: 74.41 MB / 489.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.511/1.705, allocations: 388.4 MB / 0.8571 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.705, allocations: 91.89 kB / 0.8572 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.825/9.531, allocations: 1.46 GB / 2.317 GB, free: 73.92 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.395e-06/9.531, allocations: 0 / 2.317 GB, free: 73.92 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.00123/9.532, allocations: 156.3 kB / 2.318 GB, free: 73.89 MB / 0.6667 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.01906/9.551, allocations: 4.569 MB / 2.322 GB, free: 72.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/9.551, allocations: 7.469 kB / 2.322 GB, free: 72.02 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002053/9.553, allocations: 468.7 kB / 2.323 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/9.561, allocations: 0.8454 MB / 2.323 GB, free: 71.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03023/9.592, allocations: 7.824 MB / 2.331 GB, free: 70.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/9.592, allocations: 257.7 kB / 2.331 GB, free: 70.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/9.594, allocations: 346.8 kB / 2.332 GB, free: 70.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/9.614, allocations: 5.474 MB / 2.337 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/9.615, allocations: 8.219 kB / 2.337 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/9.616, allocations: 149.4 kB / 2.337 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-05/9.616, allocations: 87.64 kB / 2.337 GB, free: 70.03 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01827/9.635, allocations: 5.056 MB / 2.342 GB, free: 70.02 MB / 0.6667 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.05419/9.689, allocations: 22.41 MB / 2.364 GB, free: 60.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/9.7, allocations: 2.81 MB / 2.367 GB, free: 60 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003987/9.704, allocations: 1.671 MB / 2.368 GB, free: 59.99 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/9.723, allocations: 6.436 MB / 2.375 GB, free: 57.73 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008662/9.731, allocations: 2.026 MB / 2.377 GB, free: 57.67 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01121/9.743, allocations: 2.022 MB / 2.379 GB, free: 57.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=155): time 1.593e-05/9.743, allocations: 0 / 2.379 GB, free: 57.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=155): time 0.03152/9.774, allocations: 5.098 MB / 2.384 GB, free: 57.19 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/9.774, allocations: 156 kB / 2.384 GB, free: 57.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/9.786, allocations: 4.29 MB / 2.388 GB, free: 56.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008719/9.787, allocations: 74.48 kB / 2.388 GB, free: 56.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003706/9.79, allocations: 2.49 MB / 2.39 GB, free: 55.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/9.792, allocations: 0.5514 MB / 2.391 GB, free: 55.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/9.792, allocations: 53.22 kB / 2.391 GB, free: 55.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002165/9.792, allocations: 413.6 kB / 2.391 GB, free: 55.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/9.796, allocations: 1.495 MB / 2.393 GB, free: 54.91 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005106/9.802, allocations: 2.773 MB / 2.396 GB, free: 52.65 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/9.807, allocations: 1.958 MB / 2.398 GB, free: 51.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-05/9.807, allocations: 7.594 kB / 2.398 GB, free: 51.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.02791/9.835, allocations: 5.981 MB / 2.403 GB, free: 49.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.003519/9.838, allocations: 15.52 MB / 2.419 GB, free: 33.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/9.838, allocations: 39.19 kB / 2.419 GB, free: 33.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1368/9.975, allocations: 11.56 MB / 2.43 GB, free: 29.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/9.981, allocations: 0.6886 MB / 2.431 GB, free: 29.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/10, allocations: 5.062 MB / 2.435 GB, free: 24.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008753/10.01, allocations: 328.5 kB / 2.436 GB, free: 24.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/10.01, allocations: 162.4 kB / 2.436 GB, free: 24.37 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/10.01, allocations: 4 kB / 2.436 GB, free: 24.36 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01331/10.02, allocations: 4.846 MB / 2.441 GB, free: 20.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/10.03, allocations: 35.23 kB / 2.441 GB, free: 20.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1352/10.16, allocations: 11.33 MB / 2.452 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/10.17, allocations: 0.6904 MB / 2.452 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/10.18, allocations: 7.388 MB / 2.46 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007155/10.19, allocations: 291.6 kB / 2.46 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009574/10.19, allocations: 155.4 kB / 2.46 GB, free: 1.703 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,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.00118/10.19, allocations: 284.5 kB / 2.46 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/10.19, allocations: 462.3 kB / 2.461 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02912/10.22, allocations: 5.533 MB / 2.466 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/10.22, allocations: 16 kB / 2.466 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/10.22, allocations: 0 / 2.466 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02498/10.25, allocations: 5.934 MB / 2.472 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5995/10.85, allocations: 13.39 MB / 2.485 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/10.85, allocations: 0 / 2.485 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004646/10.85, allocations: 421 kB / 2.485 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.137/10.99, allocations: 11.74 MB / 2.497 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005978/10.99, allocations: 48.16 kB / 2.497 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04479/11.03, allocations: 9.782 MB / 2.507 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/11.03, allocations: 3.281 kB / 2.507 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05209/11.09, allocations: 9.95 MB / 2.516 GB, free: 93.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004666/11.09, allocations: 1.074 MB / 2.517 GB, free: 93.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/11.09, allocations: 27.69 kB / 2.517 GB, free: 93.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00768/11.1, allocations: 286.8 kB / 2.518 GB, free: 93.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009591/11.1, allocations: 123.8 kB / 2.518 GB, free: 93.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004901/11.1, allocations: 85.31 kB / 2.518 GB, free: 93.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.008553/11.11, allocations: 3.329 MB / 2.521 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.42e-07/11.11, allocations: 0 / 2.521 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01597/11.13, allocations: 2.768 MB / 2.524 GB, free: 92.74 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (125): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.05594/11.18, allocations: 11.7 MB / 2.535 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.03349/11.22, allocations: 7.453 MB / 2.542 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/11.22, allocations: 4.594 kB / 2.542 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01703/11.23, allocations: 3.003 MB / 2.545 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02041/11.25, allocations: 2.561 MB / 2.548 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/11.29, allocations: 9.549 MB / 2.557 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005018/11.3, allocations: 3.316 MB / 2.56 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01889/11.32, allocations: 3.117 MB / 2.564 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004439/11.32, allocations: 1.91 MB / 2.565 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of SimCode: time 2.013e-06/11.32, allocations: 3.188 kB / 2.565 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9352/12.26, allocations: 170.7 MB / 2.732 GB, free: 90.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/12.26, allocations: 226.3 kB / 2.732 GB, free: 89.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.785/22.04, allocations: 0 / 2.732 GB, free: 89.72 MB / 0.698 GB