Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.82/2.82, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.945e-05, allocations: 3.094 kB / 370.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 67.01 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.533, allocations: 380 MB / 0.7985 GB, free: 148.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.533, allocations: 86.06 kB / 0.7986 GB, free: 148.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.165/9.698, allocations: 1.449 GB / 2.247 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.557e-06/9.698, allocations: 0 / 2.247 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001218/9.7, allocations: 162.6 kB / 2.248 GB, free: 54.91 MB / 0.6042 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.02003/9.72, allocations: 4.571 MB / 2.252 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/9.72, allocations: 9.719 kB / 2.252 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002304/9.722, allocations: 466.8 kB / 2.253 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007216/9.729, allocations: 0.8005 MB / 2.253 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02775/9.757, allocations: 6.758 MB / 2.26 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005348/9.758, allocations: 266.8 kB / 2.26 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001918/9.76, allocations: 350.5 kB / 2.261 GB, free: 50 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/9.778, allocations: 5.243 MB / 2.266 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/9.778, allocations: 18.25 kB / 2.266 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/9.78, allocations: 144.9 kB / 2.266 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-05/9.78, allocations: 87.69 kB / 2.266 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/9.795, allocations: 4.85 MB / 2.271 GB, free: 46.87 MB / 0.6042 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.07465/9.87, allocations: 22.71 MB / 2.293 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/9.879, allocations: 2.597 MB / 2.295 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004982/9.884, allocations: 1.702 MB / 2.297 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/9.906, allocations: 7.018 MB / 2.304 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004866/9.911, allocations: 1.779 MB / 2.306 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01155/9.923, allocations: 2.032 MB / 2.308 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=157): time 1.654e-05/9.923, allocations: 0 / 2.308 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of matching and sorting (n=157): time 0.01693/9.94, allocations: 4.549 MB / 2.312 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/9.94, allocations: 153.8 kB / 2.312 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5528/10.49, allocations: 4.498 MB / 2.317 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/10.49, allocations: 73.53 kB / 2.317 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006268/10.5, allocations: 2.448 MB / 2.319 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/10.5, allocations: 0.5557 MB / 2.32 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007217/10.5, allocations: 53.78 kB / 2.32 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004535/10.5, allocations: 415.5 kB / 2.32 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00675/10.51, allocations: 1.465 MB / 2.321 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008883/10.52, allocations: 2.756 MB / 2.324 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007776/10.53, allocations: 1.948 MB / 2.326 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.133e-05/10.53, allocations: 9.656 kB / 2.326 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.02227/10.55, allocations: 5.334 MB / 2.331 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005048/10.55, allocations: 15.28 MB / 2.346 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002975/10.55, allocations: 34.19 kB / 2.346 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1776/10.73, allocations: 11.45 MB / 2.357 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005804/10.74, allocations: 0.6974 MB / 2.358 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/10.75, allocations: 4.719 MB / 2.363 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008868/10.76, allocations: 360.5 kB / 2.363 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/10.76, allocations: 160 kB / 2.363 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/10.76, allocations: 5.875 kB / 2.363 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01438/10.78, allocations: 4.828 MB / 2.368 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/10.78, allocations: 38.03 kB / 2.368 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1343/10.91, allocations: 11.38 MB / 2.379 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/10.92, allocations: 0.6952 MB / 2.38 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/10.94, allocations: 7.7 MB / 2.387 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008222/10.94, allocations: 346.7 kB / 2.388 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/10.95, allocations: 150.1 kB / 2.388 GB, free: 39.79 MB / 0.6042 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.001835/10.95, allocations: 287.1 kB / 2.388 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/10.95, allocations: 466.1 kB / 2.388 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/10.96, allocations: 4.483 MB / 2.393 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/10.96, allocations: 16.41 kB / 2.393 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/10.96, allocations: 6.562 kB / 2.393 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02307/10.99, allocations: 6.37 MB / 2.399 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05323/11.04, allocations: 13.01 MB / 2.412 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/11.04, allocations: 0 / 2.412 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004687/11.04, allocations: 434.5 kB / 2.412 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1318/11.18, allocations: 11.63 MB / 2.424 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006419/11.18, allocations: 46.91 kB / 2.424 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/11.19, allocations: 4.107 MB / 2.428 GB, free: 50.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/11.19, allocations: 7.078 kB / 2.428 GB, free: 50.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03437/11.22, allocations: 9.003 MB / 2.436 GB, free: 49.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005082/11.23, allocations: 1.101 MB / 2.437 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/11.23, allocations: 26.56 kB / 2.437 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007874/11.24, allocations: 315.6 kB / 2.438 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007592/11.24, allocations: 105.2 kB / 2.438 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004995/11.24, allocations: 80.3 kB / 2.438 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.009914/11.25, allocations: 3.471 MB / 2.441 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.052e-06/11.25, allocations: 0 / 2.441 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01718/11.27, allocations: 2.814 MB / 2.444 GB, free: 48.96 MB / 0.6198 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.0385/11.31, allocations: 10.74 MB / 2.455 GB, free: 47.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02851/11.33, allocations: 7.218 MB / 2.462 GB, free: 46.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/11.33, allocations: 4.141 kB / 2.462 GB, free: 46.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.009964/11.34, allocations: 2.417 MB / 2.464 GB, free: 46.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02402/11.37, allocations: 2.714 MB / 2.467 GB, free: 46.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03336/11.4, allocations: 9.089 MB / 2.476 GB, free: 45.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006258/11.41, allocations: 3.315 MB / 2.479 GB, free: 44.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01889/11.43, allocations: 2.98 MB / 2.482 GB, free: 42.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005138/11.43, allocations: 1.911 MB / 2.484 GB, free: 42.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.593e-06/11.43, allocations: 0 / 2.484 GB, free: 42.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9112/12.34, allocations: 167.2 MB / 2.647 GB, free: 62.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/12.34, allocations: 227.3 kB / 2.647 GB, free: 62.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/22.85, allocations: 0 / 2.647 GB, free: 62.24 MB / 0.6198 GB