Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadModel(BuildingSystems): time 3.08/3.08, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.483e-05, allocations: 4 kB / 436.6 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 77.73 MB / 0.5022 GB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.407, allocations: 372.6 MB / 0.8661 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.407, allocations: 90.14 kB / 0.8662 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.004/3.412, allocations: 417.9 MB / 1.274 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.221e-06/3.412, allocations: 3.766 kB / 1.274 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001285/3.412, allocations: 28.45 kB / 1.274 GB, free: 110.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002724/3.415, allocations: 1.242 MB / 1.276 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/3.415, allocations: 13.08 kB / 1.276 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/3.415, allocations: 136.5 kB / 1.276 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03636/3.452, allocations: 12.2 MB / 1.288 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/3.452, allocations: 54.92 kB / 1.288 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/3.452, allocations: 72.56 kB / 1.288 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/3.453, allocations: 0.7088 MB / 1.288 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/3.453, allocations: 1.734 kB / 1.288 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/3.454, allocations: 28.81 kB / 1.288 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/3.454, allocations: 18.05 kB / 1.288 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/3.455, allocations: 482.7 kB / 1.289 GB, free: 108.8 MB / 0.6511 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.005263/3.46, allocations: 3.538 MB / 1.292 GB, free: 107 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/3.461, allocations: 327.8 kB / 1.293 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/3.461, allocations: 164.3 kB / 1.293 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004505/3.462, allocations: 0.6624 MB / 1.294 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/3.462, allocations: 42.83 kB / 1.294 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.777e-06/3.462, allocations: 2.156 kB / 1.294 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31): time 0.0009328/3.463, allocations: 367 kB / 1.294 GB, free: 106 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/3.463, allocations: 55.44 kB / 1.294 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/3.464, allocations: 0.8096 MB / 1.295 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/3.464, allocations: 35.73 kB / 1.295 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/3.465, allocations: 0.4989 MB / 1.295 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/3.465, allocations: 111.3 kB / 1.295 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/3.465, allocations: 12.81 kB / 1.295 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/3.465, allocations: 321.8 kB / 1.296 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/3.465, allocations: 120.6 kB / 1.296 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/3.466, allocations: 345.9 kB / 1.296 GB, free: 105 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/3.466, allocations: 186.7 kB / 1.296 GB, free: 105 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/3.466, allocations: 3.875 kB / 1.296 GB, free: 105 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001282/3.468, allocations: 0.5143 MB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/3.468, allocations: 8.906 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/3.468, allocations: 9.578 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/3.468, allocations: 8.469 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/3.468, allocations: 121.1 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/3.468, allocations: 9.094 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/3.47, allocations: 110.8 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/3.47, allocations: 34.38 kB / 1.297 GB, free: 104.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/3.47, allocations: 132.9 kB / 1.297 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/3.47, allocations: 102.5 kB / 1.297 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/3.471, allocations: 453.6 kB / 1.298 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/3.471, allocations: 7.734 kB / 1.298 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.406e-06/3.471, allocations: 0 / 1.298 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006591/3.472, allocations: 416.1 kB / 1.298 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/3.475, allocations: 1.381 MB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.579e-06/3.475, allocations: 5 kB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/3.476, allocations: 84.14 kB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/3.476, allocations: 3.25 kB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/3.476, allocations: 7.875 kB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/3.476, allocations: 6.062 kB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.069e-06/3.476, allocations: 2.188 kB / 1.3 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/3.478, allocations: 0.7784 MB / 1.3 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009433/3.479, allocations: 239 kB / 1.301 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/3.479, allocations: 6.375 kB / 1.301 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/3.481, allocations: 66.08 kB / 1.301 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/3.481, allocations: 23.81 kB / 1.301 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/3.481, allocations: 9.625 kB / 1.301 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00204/3.483, allocations: 0.6483 MB / 1.301 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.405e-06/3.483, allocations: 0 / 1.301 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002723/3.486, allocations: 358.5 kB / 1.302 GB, free: 103.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001965/3.488, allocations: 0.5836 MB / 1.302 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00142/3.489, allocations: 332.6 kB / 1.303 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.499e-06/3.489, allocations: 4.75 kB / 1.303 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/3.49, allocations: 172.7 kB / 1.303 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/3.496, allocations: 0.6019 MB / 1.303 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/3.501, allocations: 1.215 MB / 1.305 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/3.502, allocations: 1.067 MB / 1.306 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001943/3.504, allocations: 198.5 kB / 1.306 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/3.505, allocations: 79.83 kB / 1.306 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of SimCode: time 3.443e-06/3.505, allocations: 1.312 kB / 1.306 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.06083/3.566, allocations: 22.57 MB / 1.328 GB, free: 101.4 MB / 0.6511 GB