Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow") Notification: Performance of loadModel(Buildings): time 3.51/3.51, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.339e-05, allocations: 4 kB / 0.499 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5542, allocations: 92.69 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.962/6.517, allocations: 2.467 GB / 3.057 GB, free: 103 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/6.517, allocations: 93.44 kB / 3.057 GB, free: 103 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 99.21/105.7, allocations: 20.2 GB / 23.25 GB, free: 40.92 MB / 0.9794 GB Notification: Performance of FrontEnd: time 4.719e-06/105.7, allocations: 3.688 kB / 23.25 GB, free: 40.92 MB / 0.9794 GB Notification: Performance of Transformations before backend: time 0.01619/105.7, allocations: 0.7834 MB / 23.26 GB, free: 40.82 MB / 0.9794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6861 * Number of variables: 6861 Notification: Performance of Generate backend data structure: time 0.2124/106, allocations: 34.93 MB / 23.29 GB, free: 30.99 MB / 0.9794 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/106, allocations: 7.5 kB / 23.29 GB, free: 30.99 MB / 0.9794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06833/106, allocations: 7.854 MB / 23.3 GB, free: 29.04 MB / 0.9794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.218/106.2, allocations: 74.2 MB / 23.37 GB, free: 24.12 MB / 0.9794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002715/106.2, allocations: 1.995 MB / 23.37 GB, free: 24.07 MB / 0.9794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0154/106.3, allocations: 2.707 MB / 23.37 GB, free: 24.04 MB / 0.9794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1674/106.4, allocations: 53.46 MB / 23.43 GB, free: 21.74 MB / 0.9794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001633/106.4, allocations: 74.06 kB / 23.43 GB, free: 21.73 MB / 0.9794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01343/106.4, allocations: 1.082 MB / 23.43 GB, free: 21.73 MB / 0.9794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001469/106.4, allocations: 1.18 MB / 23.43 GB, free: 21.67 MB / 0.9794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1421/106.6, allocations: 53.37 MB / 23.48 GB, free: 5.359 MB / 0.9794 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 1.381/108, allocations: 216.2 MB / 23.69 GB, free: 29.56 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06931/108, allocations: 35.97 MB / 23.73 GB, free: 39.2 MB / 1.058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04856/108.1, allocations: 23.28 MB / 23.75 GB, free: 38.95 MB / 1.058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002981/108.1, allocations: 0.8379 MB / 23.75 GB, free: 38.38 MB / 1.058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0504/108.1, allocations: 20.63 MB / 23.77 GB, free: 37.71 MB / 1.058 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08012/108.2, allocations: 33.57 MB / 23.8 GB, free: 37.41 MB / 1.058 GB Notification: Performance of pre-optimization done (n=1590): time 7.195e-05/108.2, allocations: 2.297 kB / 23.8 GB, free: 37.41 MB / 1.058 GB Notification: Performance of matching and sorting (n=1662): time 1.487/109.7, allocations: 156.4 MB / 23.96 GB, free: 155.6 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003971/109.7, allocations: 0.8887 MB / 23.96 GB, free: 154.7 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08196/109.8, allocations: 26.97 MB / 23.98 GB, free: 153.7 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.006027/109.8, allocations: 357.7 kB / 23.98 GB, free: 153.7 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.03293/109.8, allocations: 15.42 MB / 24 GB, free: 153.1 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.01257/109.8, allocations: 5.99 MB / 24 GB, free: 149.4 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005823/109.8, allocations: 329 kB / 24 GB, free: 149.4 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.003165/109.9, allocations: 1.113 MB / 24.01 GB, free: 149.1 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03658/109.9, allocations: 16.93 MB / 24.02 GB, free: 149 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04313/109.9, allocations: 21.2 MB / 24.04 GB, free: 144.6 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04526/110, allocations: 21.52 MB / 24.06 GB, free: 144.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/110, allocations: 24.44 kB / 24.06 GB, free: 144.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=2123) (initialization): time 0.1078/110.1, allocations: 42.33 MB / 24.11 GB, free: 142.4 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.01198/110.1, allocations: 65.08 MB / 24.17 GB, free: 76.19 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005317/110.1, allocations: 77.91 kB / 24.17 GB, free: 76.19 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/110.1, allocations: 1.14 MB / 24.17 GB, free: 76.16 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03285/110.1, allocations: 4.86 MB / 24.18 GB, free: 76.16 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/110.2, allocations: 13.68 MB / 24.19 GB, free: 72.77 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04105/110.2, allocations: 3.383 MB / 24.19 GB, free: 72.58 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008158/110.2, allocations: 0.7526 MB / 24.19 GB, free: 72.58 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/110.2, allocations: 7.5 kB / 24.19 GB, free: 72.58 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1311/110.3, allocations: 40.29 MB / 24.23 GB, free: 71.87 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006268/110.3, allocations: 75 kB / 24.23 GB, free: 71.87 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/110.3, allocations: 1.133 MB / 24.23 GB, free: 71.85 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03998/110.4, allocations: 4.777 MB / 24.24 GB, free: 71.85 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08806/110.5, allocations: 13.03 MB / 24.25 GB, free: 69.04 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04383/110.5, allocations: 3.331 MB / 24.25 GB, free: 68.87 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006673/110.5, allocations: 0.7554 MB / 24.25 GB, free: 68.87 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 351 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2039): * Single equations (assignments): 2034 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 48,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01241/110.5, allocations: 1.153 MB / 24.26 GB, free: 68.64 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01104/110.5, allocations: 2.322 MB / 24.26 GB, free: 67.45 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1128/110.7, allocations: 41.69 MB / 24.3 GB, free: 55.73 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001887/110.7, allocations: 180.4 kB / 24.3 GB, free: 55.57 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.119e-05/110.7, allocations: 18.94 kB / 24.3 GB, free: 55.55 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07485/110.7, allocations: 33.25 MB / 24.33 GB, free: 27.08 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.103/111.8, allocations: 94.72 MB / 24.42 GB, free: 146.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001825/111.8, allocations: 24.06 kB / 24.42 GB, free: 146.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03507/111.9, allocations: 4.77 MB / 24.43 GB, free: 146.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/111.9, allocations: 0.6803 MB / 24.43 GB, free: 146.6 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005084/111.9, allocations: 0.5239 MB / 24.43 GB, free: 146.6 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/111.9, allocations: 9.877 MB / 24.44 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.107e-05/111.9, allocations: 34.88 kB / 24.44 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1322/112, allocations: 75.09 MB / 24.51 GB, free: 126.7 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02914/112.1, allocations: 7.839 MB / 24.52 GB, free: 126.7 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01167/112.1, allocations: 490.9 kB / 24.52 GB, free: 126.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03501/112.1, allocations: 2.933 MB / 24.52 GB, free: 126.7 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005928/112.1, allocations: 1.017 MB / 24.52 GB, free: 126.6 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005579/112.1, allocations: 0.5669 MB / 24.53 GB, free: 126.6 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.06165/112.2, allocations: 22.11 MB / 24.55 GB, free: 125.9 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.564e-06/112.2, allocations: 1.75 kB / 24.55 GB, free: 125.9 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.1174/112.3, allocations: 15.62 MB / 24.56 GB, free: 125.9 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 112 * Number of states: 98 (hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].port_b1.h_outflow,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].port_b1.h_outflow,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[1].ele[1,4].vol2.dynBal.U,hex.hexReg[1].ele[1,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,4].mas.T,hex.hexReg[1].ele[2,1].vol2.dynBal.U,hex.hexReg[1].ele[2,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,1].mas.T,hex.hexReg[1].ele[2,2].port_b1.h_outflow,hex.hexReg[1].ele[2,2].vol2.dynBal.U,hex.hexReg[1].ele[2,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,2].mas.T,hex.hexReg[1].ele[2,3].port_b1.h_outflow,hex.hexReg[1].ele[2,3].vol2.dynBal.U,hex.hexReg[1].ele[2,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,3].mas.T,hex.hexReg[1].ele[2,4].vol2.dynBal.U,hex.hexReg[1].ele[2,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,4].mas.T,hex.hexReg[1].ele[3,1].vol2.dynBal.U,hex.hexReg[1].ele[3,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,1].mas.T,hex.hexReg[1].ele[3,2].port_b1.h_outflow,hex.hexReg[1].ele[3,2].vol2.dynBal.U,hex.hexReg[1].ele[3,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,2].mas.T,hex.hexReg[1].ele[3,3].port_b1.h_outflow,hex.hexReg[1].ele[3,3].vol2.dynBal.U,hex.hexReg[1].ele[3,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,3].mas.T,hex.hexReg[1].ele[3,4].vol2.dynBal.U,hex.hexReg[1].ele[3,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,4].mas.T,hex.hexReg[1].port_a1[1].h_outflow,hex.hexReg[1].port_a1[2].h_outflow,hex.hexReg[1].port_a1[3].h_outflow,hex.hexReg[1].port_b1[1].h_outflow,hex.hexReg[1].port_b1[2].h_outflow,hex.hexReg[1].port_b1[3].h_outflow,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].port_b1.h_outflow,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].port_b1.h_outflow,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[2].ele[1,4].vol2.dynBal.U,hex.hexReg[2].ele[1,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,4].mas.T,hex.hexReg[2].ele[2,1].vol2.dynBal.U,hex.hexReg[2].ele[2,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,1].mas.T,hex.hexReg[2].ele[2,2].port_b1.h_outflow,hex.hexReg[2].ele[2,2].vol2.dynBal.U,hex.hexReg[2].ele[2,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,2].mas.T,hex.hexReg[2].ele[2,3].port_b1.h_outflow,hex.hexReg[2].ele[2,3].vol2.dynBal.U,hex.hexReg[2].ele[2,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,3].mas.T,hex.hexReg[2].ele[2,4].vol2.dynBal.U,hex.hexReg[2].ele[2,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,4].mas.T,hex.hexReg[2].ele[3,1].vol2.dynBal.U,hex.hexReg[2].ele[3,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,1].mas.T,hex.hexReg[2].ele[3,2].port_b1.h_outflow,hex.hexReg[2].ele[3,2].vol2.dynBal.U,hex.hexReg[2].ele[3,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,2].mas.T,hex.hexReg[2].ele[3,3].port_b1.h_outflow,hex.hexReg[2].ele[3,3].vol2.dynBal.U,hex.hexReg[2].ele[3,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,3].mas.T,hex.hexReg[2].ele[3,4].vol2.dynBal.U,hex.hexReg[2].ele[3,4].vol2.dynBal.m,hex.hexReg[2].ele[3,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,4].mas.T,hex.hexReg[2].port_a1[1].h_outflow,hex.hexReg[2].port_a1[2].h_outflow,hex.hexReg[2].port_a1[3].h_outflow,hex.hexReg[2].port_b1[1].h_outflow,hex.hexReg[2].port_b1[2].h_outflow,hex.hexReg[2].port_b1[3].h_outflow,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1669): * Single equations (assignments): 1640 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 48} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0152/112.3, allocations: 5.433 MB / 24.57 GB, free: 123.8 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1254/112.4, allocations: 59.95 MB / 24.63 GB, free: 114.7 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.669e-05/112.4, allocations: 16.19 kB / 24.63 GB, free: 114.6 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0373/112.5, allocations: 18.16 MB / 24.64 GB, free: 104.5 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09224/112.6, allocations: 18.05 MB / 24.66 GB, free: 94.35 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2366/112.8, allocations: 94.05 MB / 24.75 GB, free: 12.88 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.02/113.8, allocations: 28.66 MB / 24.78 GB, free: 119.4 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.1862/114, allocations: 62.16 MB / 24.84 GB, free: 119.1 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0136/114, allocations: 1.526 MB / 24.84 GB, free: 119.1 MB / 1.104 GB Notification: Performance of SimCode: time 1.89e-06/114, allocations: 0 / 24.84 GB, free: 119.1 MB / 1.104 GB Notification: Performance of Templates: time 3.386/117.4, allocations: 0.7277 GB / 25.57 GB, free: 170.6 MB / 1.151 GB