Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.791/2.791, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.203e-05, allocations: 4.438 kB / 370.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 67 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.824/6.963, allocations: 2.171 GB / 2.598 GB, free: 139.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/6.963, allocations: 87.52 kB / 2.598 GB, free: 139 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.226/12.19, allocations: 1.006 GB / 3.605 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.126e-06/12.19, allocations: 4 kB / 3.605 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000362/12.19, allocations: 47.98 kB / 3.605 GB, free: 24.08 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008702/12.2, allocations: 2.063 MB / 3.607 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/12.2, allocations: 12.03 kB / 3.607 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007503/12.2, allocations: 173.4 kB / 3.607 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009741/12.21, allocations: 0.6337 MB / 3.607 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/12.22, allocations: 1.433 MB / 3.609 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008678/12.22, allocations: 162.2 kB / 3.609 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005817/12.22, allocations: 123.6 kB / 3.609 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005503/12.22, allocations: 1.352 MB / 3.61 GB, free: 17.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.989e-05/12.22, allocations: 7.844 kB / 3.61 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/12.22, allocations: 48 kB / 3.61 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.665e-05/12.22, allocations: 42.22 kB / 3.611 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004919/12.23, allocations: 1.028 MB / 3.612 GB, free: 16.81 MB / 0.5886 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.0202/12.25, allocations: 5.891 MB / 3.617 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/12.25, allocations: 0.9626 MB / 3.618 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/12.25, allocations: 487 kB / 3.619 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/12.26, allocations: 312 kB / 3.619 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/12.26, allocations: 0.5326 MB / 3.62 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=87): time 6.512e-06/12.26, allocations: 0 / 3.62 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95): time 0.01717/12.27, allocations: 3.04 MB / 3.622 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/12.28, allocations: 192.7 kB / 3.623 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/12.28, allocations: 1.154 MB / 3.624 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004083/12.28, allocations: 45.7 kB / 3.624 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/12.28, allocations: 0.7293 MB / 3.625 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000499/12.28, allocations: 323.3 kB / 3.625 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/12.28, allocations: 20 kB / 3.625 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/12.28, allocations: 337.9 kB / 3.625 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009596/12.28, allocations: 385.8 kB / 3.626 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/12.28, allocations: 0.6068 MB / 3.626 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01927/12.3, allocations: 2.34 MB / 3.628 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/12.3, allocations: 0 / 3.628 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006787/12.31, allocations: 1.601 MB / 3.63 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007457/12.31, allocations: 1.298 MB / 3.631 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/12.31, allocations: 4 kB / 3.631 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/12.31, allocations: 418.5 kB / 3.632 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/12.31, allocations: 175.8 kB / 3.632 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/12.33, allocations: 6.889 MB / 3.639 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/12.33, allocations: 147.7 kB / 3.639 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/12.33, allocations: 39.98 kB / 3.639 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/12.33, allocations: 4 kB / 3.639 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005977/12.34, allocations: 1.436 MB / 3.64 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/12.34, allocations: 8.062 kB / 3.64 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/12.34, allocations: 411.7 kB / 3.641 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/12.34, allocations: 179.7 kB / 3.641 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.474/12.81, allocations: 7.874 MB / 3.648 GB, free: 72.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/12.82, allocations: 141.7 kB / 3.649 GB, free: 72.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/12.82, allocations: 42.17 kB / 3.649 GB, free: 72.35 MB / 0.6042 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005179/12.82, allocations: 198.8 kB / 3.649 GB, free: 72.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/12.82, allocations: 165 kB / 3.649 GB, free: 72.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009498/12.83, allocations: 1.457 MB / 3.65 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/12.83, allocations: 9.734 kB / 3.65 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/12.83, allocations: 7.406 kB / 3.65 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008287/12.84, allocations: 1.3 MB / 3.652 GB, free: 71.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04632/12.88, allocations: 3.333 MB / 3.655 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/12.88, allocations: 6.594 kB / 3.655 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006397/12.89, allocations: 192.7 kB / 3.655 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/12.89, allocations: 200.4 kB / 3.655 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/12.89, allocations: 32.69 kB / 3.655 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005484/12.9, allocations: 2.495 MB / 3.658 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/12.9, allocations: 8.969 kB / 3.658 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/12.91, allocations: 2.404 MB / 3.66 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/12.91, allocations: 369.8 kB / 3.66 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/12.91, allocations: 25.69 kB / 3.66 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/12.91, allocations: 151.3 kB / 3.661 GB, free: 68.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/12.91, allocations: 66.7 kB / 3.661 GB, free: 68.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002265/12.91, allocations: 43.83 kB / 3.661 GB, free: 68.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003358/12.92, allocations: 0.8896 MB / 3.662 GB, free: 68.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.102e-06/12.92, allocations: 3.188 kB / 3.662 GB, free: 68.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008109/12.93, allocations: 1.022 MB / 3.663 GB, free: 68.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01625/12.94, allocations: 6.305 MB / 3.669 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007842/12.95, allocations: 2.616 MB / 3.671 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/12.95, allocations: 0 / 3.671 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/12.95, allocations: 0.6971 MB / 3.672 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009749/12.96, allocations: 0.8658 MB / 3.673 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/12.98, allocations: 2.997 MB / 3.676 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/12.98, allocations: 1.394 MB / 3.677 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.005001/12.98, allocations: 491.2 kB / 3.678 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/12.99, allocations: 0.6154 MB / 3.678 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.844e-06/12.99, allocations: 0 / 3.678 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/13.19, allocations: 92.15 MB / 3.768 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/13.19, allocations: 230.7 kB / 3.768 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/20.18, allocations: 0 / 3.768 GB, free: 58.86 MB / 0.6042 GB