Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 107.7 kB / 16.37 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 192.1 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.632e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.6206/0.6207, allocations: 184.3 MB / 0.8529 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.6387, allocations: 13.37 MB / 0.8659 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.6413, allocations: 36.38 kB / 0.866 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.6426, allocations: 459.2 kB / 0.8664 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003979/0.6466, allocations: 1.316 MB / 0.8677 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005428/0.6521, allocations: 1.77 MB / 0.8694 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003691/0.6558, allocations: 2.399 MB / 0.8717 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.6573, allocations: 1.164 MB / 0.8729 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.6594, allocations: 1.162 MB / 0.874 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009627/0.6604, allocations: 0.8663 MB / 0.8749 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.6606, allocations: 124.9 kB / 0.875 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.6637, allocations: 1.477 MB / 0.8764 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001775/0.6655, allocations: 2.528 MB / 0.8789 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0008694/0.6664, allocations: 1.397 MB / 0.8803 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.6669, allocations: 198.9 kB / 0.8804 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0004785/0.6674, allocations: 50.12 kB / 0.8805 GB, free: 32.3 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 (154) * Number of variables: 174 (148) Notification: Performance of Bindings: time 0.00416/0.6716, allocations: 5.569 MB / 0.8859 GB, free: 28.22 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0005659/0.6721, allocations: 0.527 MB / 0.8864 GB, free: 27.85 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002765/0.6749, allocations: 3.572 MB / 0.8899 GB, free: 25.23 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002797/0.6752, allocations: 306 kB / 0.8902 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of Alias: time 0.003462/0.6787, allocations: 3.55 MB / 0.8937 GB, free: 22.37 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0002582/0.6789, allocations: 278.5 kB / 0.894 GB, free: 22.2 MB / 0.6544 GB Notification: Performance of Events: time 0.0006269/0.6796, allocations: 0.6847 MB / 0.8946 GB, free: 21.72 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0005401/0.6801, allocations: 0.7651 MB / 0.8954 GB, free: 21.09 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0009062/0.681, allocations: 1.159 MB / 0.8965 GB, free: 20.06 MB / 0.6544 GB Notification: Performance of Causalize: time 0.005016/0.6861, allocations: 5.959 MB / 0.9023 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.002089/0.6882, allocations: 2.731 MB / 0.905 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of Inline: time 0.005722/0.6939, allocations: 6.668 MB / 0.9115 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002064/0.6941, allocations: 202.6 kB / 0.9117 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0005054/0.6946, allocations: 0.6572 MB / 0.9123 GB, free: 9.305 MB / 0.6544 GB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (13) damPreInd.ySupSpl = damPreInd.ySupSpl_raw[damPreInd.idx_sorted] ($RES_SIM_19) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (95/131) *************************** (1) [DER-] (1) Real $DER.conPID.I.y (2) [DER-] (1) Real $DER.conPID.D.x (3) [PRMT] (1) Real damExp.rho = damExp.rho_default (fixed = true, start = damExp.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (4) [PRMT] (1) protected Real sou.T_in_internal = sou.T (fixed = true, start = sou.T) (5) [PRMT] (1) protected Real sin.p_in_internal = sin.p (fixed = true, start = sin.p) (6) [PRMT] (1) protected Real sin.T_in_internal = sin.T (fixed = true, start = sin.T) (7) [PRMT] (1) Real damPreInd.rho = damPreInd.rho_default (fixed = true, start = damPreInd.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (8) [PRMT] (1) Real damExpPI.rho = damExpPI.rho_default (fixed = true, start = damExpPI.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (9) [PRMT] (1) final parameter Real gain.k = 1.0 / m_flow_nominal (fixed = true, start = 1.0) (10) [PRMT] (1) protected final parameter Real conPID.limiter.uMin = 0.0 (fixed = true) (11) [PRMT] (1) protected final parameter Real conPID.limiter.uMax = 1.0 (fixed = true, start = 1.0) (12) [PRMT] (1) protected parameter Real conPID.gainTrack.k = 1.0 / (conPID.Ni * conPID.k) (fixed = true, start = 1.0) (13) [PRMT] (1) protected final parameter Real conPID.gainPID.k = conPID.k (fixed = true, start = 1.0) (14) [PRMT] (1) protected final parameter Real conPID.addI.k2 = -conPID.revAct (fixed = true) (15) [PRMT] (1) protected final parameter Real conPID.addI.k1 = conPID.revAct (fixed = true) (16) [PRMT] (1) protected final parameter Real conPID.revAct = if conPID.reverseActing then 1.0 else -1.0 (fixed = true) (17) [PRMT] (1) protected parameter Boolean conPID.D.zeroGain = false (fixed = true) (18) [PRMT] (1) final parameter Real conPID.D.x_start = conPID.xd_start (fixed = true) (19) [PRMT] (1) final parameter Real conPID.D.T = max({{conPID.Td / conPID.Nd, 1e-14}}) (fixed = true, min = 1e-60) (20) [PRMT] (1) final parameter Real conPID.D.k = conPID.Td (fixed = true) (21) [PRMT] (1) final parameter Real conPID.I.k = 1.0 / conPID.Ti (fixed = true) (22) [PRMT] (1) parameter Real conPID.addD.k2 = -conPID.revAct (fixed = true) (23) [PRMT] (1) parameter Real conPID.addD.k1 = conPID.revAct * conPID.wd (fixed = true) (24) [PRMT] (1) parameter Real conPID.addP.k2 = -conPID.revAct (fixed = true) (25) [PRMT] (1) parameter Real conPID.addP.k1 = conPID.revAct * conPID.wp (fixed = true) (26) [PRMT] (1) protected parameter Real damExpPI.kTotMin = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExpPI.kDamMin ^ 2.0 + 1.0 / damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMin (fixed = true) (27) [PRMT] (1) protected parameter Real damExpPI.kDamMin = damExpPI.l * damExpPI.kDamMax (fixed = true) (28) [PRMT] (1) protected parameter Real damExpPI.kTotMax = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExpPI.kDamMax ^ 2.0 + 1.0 / damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMax (fixed = true) (29) [PRMT] (1) protected parameter Real damExpPI.kDamMax = ((damExpPI.rho_default * 2.0) / damExpPI.k1) ^ 0.5 * damExpPI.A (fixed = true) (30) [PRMT] (3) protected parameter Real[3] damExpPI.cU = {(log(damExpPI.k1) - damExpPI.a) / ((damExpPI.yU ^ 2.0 + 1.0) - 2.0 * damExpPI.yU), ((-(damExpPI.b * 2.0 + damExpPI.a * 2.0)) * damExpPI.yU + damExpPI.yU ^ 2.0 * damExpPI.b + damExpPI.yU * 2.0 * log(damExpPI.k1) + damExpPI.b) / (-((1.0 + damExpPI.yU ^ 2.0) - damExpPI.yU * 2.0)), (damExpPI.b + damExpPI.b * damExpPI.yU ^ 2.0 + log(damExpPI.k1) * damExpPI.yU ^ 2.0 + damExpPI.yU * (-(2.0 * damExpPI.a + 2.0 * damExpPI.b)) + damExpPI.a) / ((damExpPI.yU ^ 2.0 + 1.0) - 2.0 * damExpPI.yU)} (fixed = {true for $i1 in 1:3}) (31) [PRMT] (3) protected parameter Real[3] damExpPI.cL = {(log(damExpPI.k0) - (damExpPI.a + damExpPI.b)) / damExpPI.yL ^ 2.0, ((2.0 * damExpPI.b + damExpPI.a * 2.0) - (damExpPI.yL * damExpPI.b + log(damExpPI.k0) * 2.0)) / damExpPI.yL, log(damExpPI.k0)} (fixed = {true for $i1 in 1:3}) (32) [PRMT] (1) protected parameter Real damExpPI.kU = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yU, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 (fixed = true) (33) [PRMT] (1) protected parameter Real damExpPI.kL = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yL, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 (fixed = true) (34) [PRMT] (1) protected parameter Real damExpPI.facRouDuc = if damExpPI.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (35) [PRMT] (1) protected parameter Real damExpPI.rho_default = Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExpPI.Medium.density(damExpPI.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (36) [PRMT] (1) final parameter Real damExpPI.kFixed = if damExpPI.dpFixed_nominal > 1e-15 then damExpPI.m_flow_nominal / sqrt(damExpPI.dpFixed_nominal) else 1e60 (fixed = true) (37) [PRMT] (1) final parameter Real damExpPI.k0 = damExpPI.rho_default * 2.0 * (damExpPI.A / damExpPI.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (38) [PRMT] (1) final parameter Real damExpPI.A = damExpPI.m_flow_nominal / (damExpPI.v_nominal * damExpPI.rho_default) (fixed = true) (39) [PRMT] (1) final parameter Real damExpPI.v_nominal = ((2.0 * damExpPI.dpDamper_nominal) / (damExpPI.rho_default * damExpPI.k1)) ^ 0.5 (fixed = true) (40) [PRMT] (1) final parameter Real damExpPI.dpDamper_nominal = dp_nominal (fixed = true) (41) [PRMT] (1) protected final parameter Real damExpPI.dp_nominal_pos = abs(damExpPI.dp_nominal) (fixed = true) (42) [PRMT] (1) protected final parameter Real damExpPI.m_flow_nominal_pos = abs(damExpPI.m_flow_nominal) (fixed = true) (43) [PRMT] (1) protected parameter Real damExpPI.eta_default = Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExpPI.Medium.dynamicViscosity(damExpPI.sta_default) (fixed = true, min = 0.0) (44) [PRMT] (1) final parameter Real damExpPI.m_flow_turbulent = if damExpPI.use_deltaM then damExpPI.m_flow_nominal * damExpPI.deltaM else damExpPI.facRouDuc * damExpPI.ReC * damExpPI.eta_default * sqrt(damExpPI.A) (fixed = true, min = 0.0) (45) [PRMT] (1) final parameter Real damExpPI.dp_nominal = damExpPI.dpDamper_nominal + damExpPI.dpFixed_nominal (fixed = true) (46) [PRMT] (1) final parameter Real damExpPI.m_flow_small = 1e-4 * abs(damExpPI.m_flow_nominal) (fixed = true, min = 0.0) (47) [PRMT] (1) final parameter Real damExpPI.m_flow_nominal = m_flow_nominal (fixed = true) (48) [PRMT] (1) protected parameter Real damPreInd.coeff2 = 1.0 / damPreInd.coeff1 (fixed = true) (49) [PRMT] (1) protected parameter Real damPreInd.coeff1 = (damPreInd.l2 * damPreInd.m_flow_nominal) / damPreInd.dpDamper_nominal (fixed = true) (50) [PRMT] (13) protected parameter Real[13] damPreInd.kSupSpl_raw = {Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.ySupSpl_raw[$i1], damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) for $i1 in 1:13} .^ 2.0 (fixed = {true for $i1 in 1:13}) (51) [PRMT] (13) protected parameter Real[13] damPreInd.ySupSpl_raw = {1.0, (damPreInd.yU - 1.0) / 4.0 + 1.0, (2.0 * (damPreInd.yU - 1.0)) / 4.0 + 1.0, (3.0 * (damPreInd.yU - 1.0)) / 4.0 + 1.0, (4.0 * (damPreInd.yU - 1.0)) / 4.0 + 1.0, damPreInd.yU - 0.3333333333333333 * (damPreInd.yU - damPreInd.yL), (damPreInd.yU + damPreInd.yL) / 2.0, damPreInd.yU - 0.6666666666666666 * (damPreInd.yU - damPreInd.yL), damPreInd.yL, damPreInd.yL / (-4.0) + damPreInd.yL, (2.0 * (-damPreInd.yL)) / 4.0 + damPreInd.yL, (3.0 * (-damPreInd.yL)) / 4.0 + damPreInd.yL, (4.0 * (-damPreInd.yL)) / 4.0 + damPreInd.yL} (fixed = {true for $i1 in 1:13}) (52) [PRMT] (1) protected parameter Real damPreInd.kTotMin = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damPreInd.kDamMin ^ 2.0 + 1.0 / damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMin (fixed = true) (53) [PRMT] (1) protected parameter Real damPreInd.kDamMin = damPreInd.l * damPreInd.kDamMax (fixed = true) (54) [PRMT] (1) protected parameter Real damPreInd.kTotMax = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damPreInd.kDamMax ^ 2.0 + 1.0 / damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMax (fixed = true) (55) [PRMT] (1) protected parameter Real damPreInd.kDamMax = ((damPreInd.rho_default * 2.0) / damPreInd.k1) ^ 0.5 * damPreInd.A (fixed = true) (56) [PRMT] (3) protected parameter Real[3] damPreInd.cU = {(log(damPreInd.k1) - damPreInd.a) / ((damPreInd.yU ^ 2.0 + 1.0) - 2.0 * damPreInd.yU), ((-(damPreInd.b * 2.0 + damPreInd.a * 2.0)) * damPreInd.yU + damPreInd.yU ^ 2.0 * damPreInd.b + damPreInd.yU * 2.0 * log(damPreInd.k1) + damPreInd.b) / (-((1.0 + damPreInd.yU ^ 2.0) - damPreInd.yU * 2.0)), (damPreInd.b + damPreInd.b * damPreInd.yU ^ 2.0 + log(damPreInd.k1) * damPreInd.yU ^ 2.0 + damPreInd.yU * (-(2.0 * damPreInd.a + 2.0 * damPreInd.b)) + damPreInd.a) / ((damPreInd.yU ^ 2.0 + 1.0) - 2.0 * damPreInd.yU)} (fixed = {true for $i1 in 1:3}) (57) [PRMT] (3) protected parameter Real[3] damPreInd.cL = {(log(damPreInd.k0) - (damPreInd.a + damPreInd.b)) / damPreInd.yL ^ 2.0, ((2.0 * damPreInd.b + damPreInd.a * 2.0) - (damPreInd.yL * damPreInd.b + log(damPreInd.k0) * 2.0)) / damPreInd.yL, log(damPreInd.k0)} (fixed = {true for $i1 in 1:3}) (58) [PRMT] (1) protected parameter Real damPreInd.kU = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yU, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 (fixed = true) (59) [PRMT] (1) protected parameter Real damPreInd.kL = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yL, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 (fixed = true) (60) [PRMT] (1) protected parameter Real damPreInd.facRouDuc = if damPreInd.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (61) [PRMT] (1) protected parameter Real damPreInd.rho_default = Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.damPreInd.Medium.density(damPreInd.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (62) [PRMT] (1) final parameter Real damPreInd.kFixed = if damPreInd.dpFixed_nominal > 1e-15 then damPreInd.m_flow_nominal / sqrt(damPreInd.dpFixed_nominal) else 1e60 (fixed = true) (63) [PRMT] (1) final parameter Real damPreInd.k0 = damPreInd.rho_default * 2.0 * (damPreInd.A / damPreInd.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (64) [PRMT] (1) final parameter Real damPreInd.A = damPreInd.m_flow_nominal / (damPreInd.v_nominal * damPreInd.rho_default) (fixed = true) (65) [PRMT] (1) final parameter Real damPreInd.v_nominal = ((2.0 * damPreInd.dpDamper_nominal) / (damPreInd.rho_default * damPreInd.k1)) ^ 0.5 (fixed = true) (66) [PRMT] (1) final parameter Real damPreInd.dpDamper_nominal = dp_nominal (fixed = true) (67) [PRMT] (1) protected final parameter Real damPreInd.dp_nominal_pos = abs(damPreInd.dp_nominal) (fixed = true) (68) [PRMT] (1) protected final parameter Real damPreInd.m_flow_nominal_pos = abs(damPreInd.m_flow_nominal) (fixed = true) (69) [PRMT] (1) protected parameter Real damPreInd.eta_default = Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.damPreInd.Medium.dynamicViscosity(damPreInd.sta_default) (fixed = true, min = 0.0) (70) [PRMT] (1) final parameter Real damPreInd.m_flow_turbulent = if damPreInd.use_deltaM then damPreInd.m_flow_nominal * damPreInd.deltaM else damPreInd.facRouDuc * damPreInd.ReC * damPreInd.eta_default * sqrt(damPreInd.A) (fixed = true, min = 0.0) (71) [PRMT] (1) final parameter Real damPreInd.dp_nominal = damPreInd.dpDamper_nominal + damPreInd.dpFixed_nominal (fixed = true) (72) [PRMT] (1) final parameter Real damPreInd.m_flow_small = 1e-4 * abs(damPreInd.m_flow_nominal) (fixed = true, min = 0.0) (73) [PRMT] (1) final parameter Real damPreInd.m_flow_nominal = m_flow_nominal (fixed = true) (74) [PRMT] (1) protected parameter Real damExp.kTotMin = if damExp.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExp.kDamMin ^ 2.0 + 1.0 / damExp.kFixed ^ 2.0)) else damExp.kDamMin (fixed = true) (75) [PRMT] (1) protected parameter Real damExp.kDamMin = damExp.l * damExp.kDamMax (fixed = true) (76) [PRMT] (1) protected parameter Real damExp.kTotMax = if damExp.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExp.kDamMax ^ 2.0 + 1.0 / damExp.kFixed ^ 2.0)) else damExp.kDamMax (fixed = true) (77) [PRMT] (1) protected parameter Real damExp.kDamMax = ((damExp.rho_default * 2.0) / damExp.k1) ^ 0.5 * damExp.A (fixed = true) (78) [PRMT] (3) protected parameter Real[3] damExp.cU = {(log(damExp.k1) - damExp.a) / ((damExp.yU ^ 2.0 + 1.0) - 2.0 * damExp.yU), ((-(damExp.b * 2.0 + damExp.a * 2.0)) * damExp.yU + damExp.yU ^ 2.0 * damExp.b + damExp.yU * 2.0 * log(damExp.k1) + damExp.b) / (-((1.0 + damExp.yU ^ 2.0) - damExp.yU * 2.0)), (damExp.b + damExp.b * damExp.yU ^ 2.0 + log(damExp.k1) * damExp.yU ^ 2.0 + damExp.yU * (-(2.0 * damExp.a + 2.0 * damExp.b)) + damExp.a) / ((damExp.yU ^ 2.0 + 1.0) - 2.0 * damExp.yU)} (fixed = {true for $i1 in 1:3}) (79) [PRMT] (3) protected parameter Real[3] damExp.cL = {(log(damExp.k0) - (damExp.a + damExp.b)) / damExp.yL ^ 2.0, ((2.0 * damExp.b + damExp.a * 2.0) - (damExp.yL * damExp.b + log(damExp.k0) * 2.0)) / damExp.yL, log(damExp.k0)} (fixed = {true for $i1 in 1:3}) (80) [PRMT] (1) protected parameter Real damExp.kU = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yU, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 (fixed = true) (81) [PRMT] (1) protected parameter Real damExp.kL = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yL, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 (fixed = true) (82) [PRMT] (1) protected parameter Real damExp.facRouDuc = if damExp.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (83) [PRMT] (1) protected parameter Real damExp.rho_default = Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExp.Medium.density(damExp.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (84) [PRMT] (1) final parameter Real damExp.kFixed = if damExp.dpFixed_nominal > 1e-15 then damExp.m_flow_nominal / sqrt(damExp.dpFixed_nominal) else 1e60 (fixed = true) (85) [PRMT] (1) final parameter Real damExp.k0 = damExp.rho_default * 2.0 * (damExp.A / damExp.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (86) [PRMT] (1) final parameter Real damExp.A = damExp.m_flow_nominal / (damExp.v_nominal * damExp.rho_default) (fixed = true) (87) [PRMT] (1) final parameter Real damExp.v_nominal = ((2.0 * damExp.dpDamper_nominal) / (damExp.rho_default * damExp.k1)) ^ 0.5 (fixed = true) (88) [PRMT] (1) final parameter Real damExp.dpDamper_nominal = dp_nominal (fixed = true) (89) [PRMT] (1) protected final parameter Real damExp.dp_nominal_pos = abs(damExp.dp_nominal) (fixed = true) (90) [PRMT] (1) protected final parameter Real damExp.m_flow_nominal_pos = abs(damExp.m_flow_nominal) (fixed = true) (91) [PRMT] (1) protected parameter Real damExp.eta_default = Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExp.Medium.dynamicViscosity(damExp.sta_default) (fixed = true, min = 0.0) (92) [PRMT] (1) final parameter Real damExp.m_flow_turbulent = if damExp.use_deltaM then damExp.m_flow_nominal * damExp.deltaM else damExp.facRouDuc * damExp.ReC * damExp.eta_default * sqrt(damExp.A) (fixed = true, min = 0.0) (93) [PRMT] (1) final parameter Real damExp.dp_nominal = damExp.dpDamper_nominal + damExp.dpFixed_nominal (fixed = true) (94) [PRMT] (1) final parameter Real damExp.m_flow_small = 1e-4 * abs(damExp.m_flow_nominal) (fixed = true, min = 0.0) (95) [PRMT] (1) final parameter Real damExp.m_flow_nominal = m_flow_nominal (fixed = true) System Equations (101/183) **************************** (1) [SCAL] (1) conPID.D.x = conPID.D.x_start ($RES_SIM_0) (2) [SCAL] (1) conPID.I.y = 0.0 ($RES_SIM_1) (3) [ARRY] (13) damPreInd.invSplDer = $FUN_15 ($RES_SIM_18) (4) [ARRY] (13) damPreInd.ySupSpl = damPreInd.ySupSpl_raw[damPreInd.idx_sorted] ($RES_SIM_19) (5) [ALGO] (0) ($RES_SIM_21) (5) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sin.X_in_internal, "Boundary_pT"); (6) [ALGO] (0) ($RES_SIM_23) (6) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sou.X_in_internal, "Boundary_pT"); (7) [ARRY] (13) damPreInd.idx_sorted = $FUN_13 ($RES_$AUX_209) (8) [ARRY] (13) damPreInd.kSupSpl = $FUN_12 ($RES_$AUX_208) (9) [SCAL] (1) damExp.rho = damExp.rho_default ($RES_BND_345) (10) [SCAL] (1) sou.T_in_internal = sou.T ($RES_BND_344) (11) [SCAL] (1) sin.p_in_internal = sin.p ($RES_BND_343) (12) [SCAL] (1) sin.T_in_internal = sin.T ($RES_BND_342) (13) [SCAL] (1) damPreInd.rho = damPreInd.rho_default ($RES_BND_341) (14) [SCAL] (1) damExpPI.rho = damExpPI.rho_default ($RES_BND_340) (15) [SCAL] (1) gain.k = 1/m_flow_nominal ($RES_BND_339) (16) [SCAL] (1) conPID.limiter.uMin = 0.0 ($RES_BND_338) (17) [SCAL] (1) conPID.limiter.uMax = 1.0 ($RES_BND_337) (18) [SCAL] (1) conPID.gainTrack.k = 1/(conPID.Ni * conPID.k) ($RES_BND_336) (19) [SCAL] (1) conPID.gainPID.k = conPID.k ($RES_BND_335) (20) [SCAL] (1) conPID.addI.k2 = -conPID.revAct ($RES_BND_334) (21) [SCAL] (1) conPID.addI.k1 = conPID.revAct ($RES_BND_333) (22) [SCAL] (1) conPID.revAct = if conPID.reverseActing then 1.0 else -1.0 ($RES_BND_332) (23) [SCAL] (1) conPID.D.zeroGain = false ($RES_BND_331) (24) [SCAL] (1) conPID.D.x_start = conPID.xd_start ($RES_BND_330) (25) [SCAL] (1) conPID.D.T = max({{conPID.Td / conPID.Nd, 1e-14}}) ($RES_BND_329) (26) [SCAL] (1) conPID.D.k = conPID.Td ($RES_BND_328) (27) [SCAL] (1) conPID.I.k = 1/conPID.Ti ($RES_BND_327) (28) [SCAL] (1) conPID.addD.k2 = -conPID.revAct ($RES_BND_326) (29) [SCAL] (1) conPID.addD.k1 = conPID.revAct * conPID.wd ($RES_BND_325) (30) [SCAL] (1) conPID.addP.k2 = -conPID.revAct ($RES_BND_324) (31) [SCAL] (1) conPID.addP.k1 = conPID.revAct * conPID.wp ($RES_BND_323) (32) [SCAL] (1) damExpPI.kTotMin = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExpPI.kDamMin ^ 2.0 + 1/damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMin ($RES_BND_322) (33) [SCAL] (1) damExpPI.kDamMin = damExpPI.l * damExpPI.kDamMax ($RES_BND_321) (34) [SCAL] (1) damExpPI.kTotMax = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExpPI.kDamMax ^ 2.0 + 1/damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMax ($RES_BND_320) (35) [SCAL] (1) damExpPI.kDamMax = ((2.0 * damExpPI.rho_default) / damExpPI.k1) ^ 0.5 * damExpPI.A ($RES_BND_319) (36) [ARRY] (3) damExpPI.cU = {(log(damExpPI.k1) - damExpPI.a) / ((1.0 + damExpPI.yU ^ 2.0) - 2.0 * damExpPI.yU), -((damExpPI.yU ^ 2.0 * damExpPI.b + 2.0 * damExpPI.yU * log(damExpPI.k1) + damExpPI.b) - (2.0 * damExpPI.b + 2.0 * damExpPI.a) * damExpPI.yU) / ((1.0 + damExpPI.yU ^ 2.0) - 2.0 * damExpPI.yU), ((damExpPI.b + damExpPI.b * damExpPI.yU ^ 2.0 + log(damExpPI.k1) * damExpPI.yU ^ 2.0 + damExpPI.a) - damExpPI.yU * (2.0 * damExpPI.a + 2.0 * damExpPI.b)) / ((1.0 + damExpPI.yU ^ 2.0) - 2.0 * damExpPI.yU)} ($RES_BND_318) (37) [ARRY] (3) damExpPI.cL = {(log(damExpPI.k0) - (damExpPI.a + damExpPI.b)) / damExpPI.yL ^ 2.0, ((2.0 * damExpPI.b + 2.0 * damExpPI.a) - (damExpPI.yL * damExpPI.b + 2.0 * log(damExpPI.k0))) / damExpPI.yL, log(damExpPI.k0)} ($RES_BND_317) (38) [SCAL] (1) damExpPI.kU = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yU, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 ($RES_BND_316) (39) [SCAL] (1) damExpPI.kL = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yL, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 ($RES_BND_315) (40) [SCAL] (1) damExpPI.facRouDuc = if damExpPI.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_314) (41) [SCAL] (1) damExpPI.rho_default = 1.1843079200592153e-5 * damExpPI.sta_default.p ($RES_BND_313) (42) [SCAL] (1) damExpPI.kFixed = if damExpPI.dpFixed_nominal > 1e-15 then damExpPI.m_flow_nominal / sqrt(damExpPI.dpFixed_nominal) else 1e60 ($RES_BND_312) (43) [SCAL] (1) damExpPI.k0 = 2.0 * damExpPI.rho_default * (damExpPI.A / damExpPI.kDamMin) ^ 2.0 ($RES_BND_311) (44) [SCAL] (1) damExpPI.A = damExpPI.m_flow_nominal / (damExpPI.v_nominal * damExpPI.rho_default) ($RES_BND_310) (45) [SCAL] (1) damExpPI.v_nominal = ((2.0 * damExpPI.dpDamper_nominal) / (damExpPI.rho_default * damExpPI.k1)) ^ 0.5 ($RES_BND_309) (46) [SCAL] (1) damExpPI.dpDamper_nominal = dp_nominal ($RES_BND_308) (47) [SCAL] (1) damExpPI.dp_nominal_pos = abs(damExpPI.dp_nominal) ($RES_BND_307) (48) [SCAL] (1) damExpPI.m_flow_nominal_pos = abs(damExpPI.m_flow_nominal) ($RES_BND_306) (49) [SCAL] (1) damExpPI.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damExpPI.sta_default.T ($RES_BND_305) (50) [SCAL] (1) damExpPI.m_flow_turbulent = if damExpPI.use_deltaM then damExpPI.m_flow_nominal * damExpPI.deltaM else damExpPI.facRouDuc * damExpPI.ReC * damExpPI.eta_default * sqrt(damExpPI.A) ($RES_BND_304) (51) [SCAL] (1) damExpPI.dp_nominal = damExpPI.dpDamper_nominal + damExpPI.dpFixed_nominal ($RES_BND_303) (52) [SCAL] (1) damExpPI.m_flow_small = 1e-4 * abs(damExpPI.m_flow_nominal) ($RES_BND_302) (53) [SCAL] (1) damExpPI.m_flow_nominal = m_flow_nominal ($RES_BND_301) (54) [SCAL] (1) damPreInd.coeff2 = 1/damPreInd.coeff1 ($RES_BND_300) (55) [SCAL] (1) damPreInd.coeff1 = (damPreInd.l2 * damPreInd.m_flow_nominal) / damPreInd.dpDamper_nominal ($RES_BND_299) (56) [FOR-] (13) ($RES_BND_297) (56) [----] for $i1 in 1:13 loop (56) [----] [SCAL] (1) damPreInd.kSupSpl_raw[$i1] = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.ySupSpl_raw[$i1], damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 ($RES_BND_298) (56) [----] end for; (57) [ARRY] (13) damPreInd.ySupSpl_raw = {1.0, 1.0 + 0.25 * ((-1.0) + damPreInd.yU), 1.0 + 0.5 * ((-1.0) + damPreInd.yU), 1.0 + 0.75 * ((-1.0) + damPreInd.yU), 1.0 + ((-1.0) + damPreInd.yU), damPreInd.yU - 0.3333333333333333 * (damPreInd.yU - damPreInd.yL), 0.5 * (damPreInd.yU + damPreInd.yL), damPreInd.yU - 0.6666666666666666 * (damPreInd.yU - damPreInd.yL), damPreInd.yL, damPreInd.yL - 0.25 * damPreInd.yL, damPreInd.yL - 0.5 * damPreInd.yL, damPreInd.yL - 0.75 * damPreInd.yL, damPreInd.yL - damPreInd.yL} ($RES_BND_296) (58) [SCAL] (1) damPreInd.kTotMin = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1/(1/damPreInd.kDamMin ^ 2.0 + 1/damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMin ($RES_BND_295) (59) [SCAL] (1) damPreInd.kDamMin = damPreInd.l * damPreInd.kDamMax ($RES_BND_294) (60) [SCAL] (1) damPreInd.kTotMax = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1/(1/damPreInd.kDamMax ^ 2.0 + 1/damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMax ($RES_BND_293) (61) [SCAL] (1) damPreInd.kDamMax = ((2.0 * damPreInd.rho_default) / damPreInd.k1) ^ 0.5 * damPreInd.A ($RES_BND_292) (62) [ARRY] (3) damPreInd.cU = {(log(damPreInd.k1) - damPreInd.a) / ((1.0 + damPreInd.yU ^ 2.0) - 2.0 * damPreInd.yU), -((damPreInd.yU ^ 2.0 * damPreInd.b + 2.0 * damPreInd.yU * log(damPreInd.k1) + damPreInd.b) - (2.0 * damPreInd.b + 2.0 * damPreInd.a) * damPreInd.yU) / ((1.0 + damPreInd.yU ^ 2.0) - 2.0 * damPreInd.yU), ((damPreInd.b + damPreInd.b * damPreInd.yU ^ 2.0 + log(damPreInd.k1) * damPreInd.yU ^ 2.0 + damPreInd.a) - damPreInd.yU * (2.0 * damPreInd.a + 2.0 * damPreInd.b)) / ((1.0 + damPreInd.yU ^ 2.0) - 2.0 * damPreInd.yU)} ($RES_BND_291) (63) [ARRY] (3) damPreInd.cL = {(log(damPreInd.k0) - (damPreInd.a + damPreInd.b)) / damPreInd.yL ^ 2.0, ((2.0 * damPreInd.b + 2.0 * damPreInd.a) - (damPreInd.yL * damPreInd.b + 2.0 * log(damPreInd.k0))) / damPreInd.yL, log(damPreInd.k0)} ($RES_BND_290) (64) [SCAL] (1) damPreInd.kU = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yU, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 ($RES_BND_289) (65) [SCAL] (1) damPreInd.kL = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yL, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 ($RES_BND_288) (66) [SCAL] (1) damPreInd.facRouDuc = if damPreInd.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_287) (67) [SCAL] (1) damPreInd.rho_default = 1.1843079200592153e-5 * damPreInd.sta_default.p ($RES_BND_286) (68) [SCAL] (1) damPreInd.kFixed = if damPreInd.dpFixed_nominal > 1e-15 then damPreInd.m_flow_nominal / sqrt(damPreInd.dpFixed_nominal) else 1e60 ($RES_BND_285) (69) [SCAL] (1) damPreInd.k0 = 2.0 * damPreInd.rho_default * (damPreInd.A / damPreInd.kDamMin) ^ 2.0 ($RES_BND_284) (70) [SCAL] (1) damPreInd.A = damPreInd.m_flow_nominal / (damPreInd.v_nominal * damPreInd.rho_default) ($RES_BND_283) (71) [SCAL] (1) damPreInd.v_nominal = ((2.0 * damPreInd.dpDamper_nominal) / (damPreInd.rho_default * damPreInd.k1)) ^ 0.5 ($RES_BND_282) (72) [SCAL] (1) damPreInd.dpDamper_nominal = dp_nominal ($RES_BND_281) (73) [SCAL] (1) damPreInd.dp_nominal_pos = abs(damPreInd.dp_nominal) ($RES_BND_280) (74) [SCAL] (1) damPreInd.m_flow_nominal_pos = abs(damPreInd.m_flow_nominal) ($RES_BND_279) (75) [SCAL] (1) damPreInd.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damPreInd.sta_default.T ($RES_BND_278) (76) [SCAL] (1) damPreInd.m_flow_turbulent = if damPreInd.use_deltaM then damPreInd.m_flow_nominal * damPreInd.deltaM else damPreInd.facRouDuc * damPreInd.ReC * damPreInd.eta_default * sqrt(damPreInd.A) ($RES_BND_277) (77) [SCAL] (1) damPreInd.dp_nominal = damPreInd.dpDamper_nominal + damPreInd.dpFixed_nominal ($RES_BND_276) (78) [SCAL] (1) damPreInd.m_flow_small = 1e-4 * abs(damPreInd.m_flow_nominal) ($RES_BND_275) (79) [SCAL] (1) damPreInd.m_flow_nominal = m_flow_nominal ($RES_BND_274) (80) [SCAL] (1) damExp.kTotMin = if damExp.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExp.kDamMin ^ 2.0 + 1/damExp.kFixed ^ 2.0)) else damExp.kDamMin ($RES_BND_273) (81) [SCAL] (1) damExp.kDamMin = damExp.l * damExp.kDamMax ($RES_BND_272) (82) [SCAL] (1) damExp.kTotMax = if damExp.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExp.kDamMax ^ 2.0 + 1/damExp.kFixed ^ 2.0)) else damExp.kDamMax ($RES_BND_271) (83) [SCAL] (1) damExp.kDamMax = ((2.0 * damExp.rho_default) / damExp.k1) ^ 0.5 * damExp.A ($RES_BND_270) (84) [ARRY] (3) damExp.cU = {(log(damExp.k1) - damExp.a) / ((1.0 + damExp.yU ^ 2.0) - 2.0 * damExp.yU), -((damExp.yU ^ 2.0 * damExp.b + 2.0 * damExp.yU * log(damExp.k1) + damExp.b) - (2.0 * damExp.b + 2.0 * damExp.a) * damExp.yU) / ((1.0 + damExp.yU ^ 2.0) - 2.0 * damExp.yU), ((damExp.b + damExp.b * damExp.yU ^ 2.0 + log(damExp.k1) * damExp.yU ^ 2.0 + damExp.a) - damExp.yU * (2.0 * damExp.a + 2.0 * damExp.b)) / ((1.0 + damExp.yU ^ 2.0) - 2.0 * damExp.yU)} ($RES_BND_269) (85) [ARRY] (3) damExp.cL = {(log(damExp.k0) - (damExp.a + damExp.b)) / damExp.yL ^ 2.0, ((2.0 * damExp.b + 2.0 * damExp.a) - (damExp.yL * damExp.b + 2.0 * log(damExp.k0))) / damExp.yL, log(damExp.k0)} ($RES_BND_268) (86) [SCAL] (1) damExp.kU = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yU, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 ($RES_BND_267) (87) [SCAL] (1) damExp.kL = Buildings.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yL, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 ($RES_BND_266) (88) [SCAL] (1) damExp.facRouDuc = if damExp.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_265) (89) [SCAL] (1) damExp.rho_default = 1.1843079200592153e-5 * damExp.sta_default.p ($RES_BND_264) (90) [SCAL] (1) damExp.kFixed = if damExp.dpFixed_nominal > 1e-15 then damExp.m_flow_nominal / sqrt(damExp.dpFixed_nominal) else 1e60 ($RES_BND_263) (91) [SCAL] (1) damExp.k0 = 2.0 * damExp.rho_default * (damExp.A / damExp.kDamMin) ^ 2.0 ($RES_BND_262) (92) [SCAL] (1) damExp.A = damExp.m_flow_nominal / (damExp.v_nominal * damExp.rho_default) ($RES_BND_261) (93) [SCAL] (1) damExp.v_nominal = ((2.0 * damExp.dpDamper_nominal) / (damExp.rho_default * damExp.k1)) ^ 0.5 ($RES_BND_260) (94) [SCAL] (1) damExp.dpDamper_nominal = dp_nominal ($RES_BND_259) (95) [SCAL] (1) damExp.dp_nominal_pos = abs(damExp.dp_nominal) ($RES_BND_258) (96) [SCAL] (1) damExp.m_flow_nominal_pos = abs(damExp.m_flow_nominal) ($RES_BND_257) (97) [SCAL] (1) damExp.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damExp.sta_default.T ($RES_BND_256) (98) [SCAL] (1) damExp.m_flow_turbulent = if damExp.use_deltaM then damExp.m_flow_nominal * damExp.deltaM else damExp.facRouDuc * damExp.ReC * damExp.eta_default * sqrt(damExp.A) ($RES_BND_255) (99) [SCAL] (1) damExp.dp_nominal = damExp.dpDamper_nominal + damExp.dpFixed_nominal ($RES_BND_254) (100) [SCAL] (1) damExp.m_flow_small = 1e-4 * abs(damExp.m_flow_nominal) ($RES_BND_253) (101) [SCAL] (1) damExp.m_flow_nominal = m_flow_nominal ($RES_BND_252) Error: Internal error NBInitialization.main failed to apply modules!