Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001192/0.001193, allocations: 108.5 kB / 16.42 MB, free: 6.52 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.001117/0.001117, allocations: 187.2 kB / 17.35 MB, free: 5.73 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.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 251.7 MB / 0.51 GB, free: 376 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.361e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.5324/0.5324, allocations: 184.5 MB / 0.9066 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.5508, allocations: 13.45 MB / 0.9197 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.5528, allocations: 35.75 kB / 0.9197 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.5541, allocations: 448.7 kB / 0.9202 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.5577, allocations: 1.318 MB / 0.9214 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.5621, allocations: 1.771 MB / 0.9232 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.5653, allocations: 2.386 MB / 0.9255 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.5668, allocations: 1.17 MB / 0.9266 GB, free: 420 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.5691, allocations: 1.164 MB / 0.9278 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.5703, allocations: 0.8599 MB / 0.9286 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.5707, allocations: 116 kB / 0.9287 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.5732, allocations: 1.477 MB / 0.9302 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of combineBinaries: time 0.001885/0.5751, allocations: 2.531 MB / 0.9326 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of replaceArrayConstructors: time 0.000871/0.576, allocations: 1.394 MB / 0.934 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.5763, allocations: 199.2 kB / 0.9342 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.0002673/0.5766, allocations: 55.73 kB / 0.9343 GB, free: 8.57 MB / 0.7169 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.004697/0.5813, allocations: 5.557 MB / 0.9397 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.000574/0.5819, allocations: 0.5512 MB / 0.9402 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.003212/0.5851, allocations: 3.572 MB / 0.9437 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simplify1: time 0.0003159/0.5855, allocations: 311.6 kB / 0.944 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of Alias: time 0.004061/0.5895, allocations: 3.535 MB / 0.9475 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simplify2: time 0.0003388/0.5899, allocations: 275.6 kB / 0.9477 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of Events: time 0.0007406/0.5906, allocations: 0.6924 MB / 0.9484 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0007081/0.5913, allocations: 0.755 MB / 0.9491 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.001158/0.5925, allocations: 1.162 MB / 0.9503 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of Causalize: time 0.00603/0.5986, allocations: 6 MB / 0.9561 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.002707/0.6013, allocations: 2.725 MB / 0.9588 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of Inline: time 0.007717/0.609, allocations: 7.174 MB / 0.9658 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002663/0.6093, allocations: 191.6 kB / 0.966 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of Cleanup: time 0.0006726/0.61, allocations: 0.6668 MB / 0.9666 GB, free: 6.254 MB / 0.7481 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 (92/128) *************************** (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 parameter Real conPID.gainTrack.k = 1.0 / (conPID.Ni * conPID.k) (fixed = true, start = 1.0) (11) [PRMT] (1) protected final parameter Real conPID.gainPID.k = conPID.k (fixed = true, start = 1.0) (12) [PRMT] (1) protected final parameter Real conPID.addI.k2 = -conPID.revAct (fixed = true) (13) [PRMT] (1) protected final parameter Real conPID.addI.k1 = conPID.revAct (fixed = true) (14) [PRMT] (1) protected final parameter Real conPID.revAct = if conPID.reverseAction then -1.0 else 1.0 (fixed = true) (15) [PRMT] (1) final parameter Real conPID.D.x_start = conPID.xd_start (fixed = true) (16) [PRMT] (1) final parameter Real conPID.D.T = max({{conPID.Td / conPID.Nd, 1e-14}}) (fixed = true, min = 1e-60) (17) [PRMT] (1) final parameter Real conPID.D.k = conPID.Td (fixed = true) (18) [PRMT] (1) final parameter Real conPID.I.k = 1.0 / conPID.Ti (fixed = true) (19) [PRMT] (1) parameter Real conPID.addD.k2 = -conPID.revAct (fixed = true) (20) [PRMT] (1) parameter Real conPID.addD.k1 = conPID.revAct * conPID.wd (fixed = true) (21) [PRMT] (1) parameter Real conPID.addP.k2 = -conPID.revAct (fixed = true) (22) [PRMT] (1) parameter Real conPID.addP.k1 = conPID.revAct * conPID.wp (fixed = true) (23) [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) (24) [PRMT] (1) protected parameter Real damExpPI.kDamMin = damExpPI.l * damExpPI.kDamMax (fixed = true) (25) [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) (26) [PRMT] (1) protected parameter Real damExpPI.kDamMax = ((damExpPI.rho_default * 2.0) / damExpPI.k1) ^ 0.5 * damExpPI.A (fixed = true) (27) [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}) (28) [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}) (29) [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) (30) [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) (31) [PRMT] (1) protected parameter Real damExpPI.facRouDuc = if damExpPI.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (32) [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) (33) [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) (34) [PRMT] (1) final parameter Real damExpPI.k0 = damExpPI.rho_default * 2.0 * (damExpPI.A / damExpPI.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (35) [PRMT] (1) final parameter Real damExpPI.A = damExpPI.m_flow_nominal / (damExpPI.v_nominal * damExpPI.rho_default) (fixed = true) (36) [PRMT] (1) final parameter Real damExpPI.v_nominal = ((2.0 * damExpPI.dpDamper_nominal) / (damExpPI.rho_default * damExpPI.k1)) ^ 0.5 (fixed = true) (37) [PRMT] (1) final parameter Real damExpPI.dpDamper_nominal = dp_nominal (fixed = true) (38) [PRMT] (1) protected final parameter Real damExpPI.dp_nominal_pos = abs(damExpPI.dp_nominal) (fixed = true) (39) [PRMT] (1) protected final parameter Real damExpPI.m_flow_nominal_pos = abs(damExpPI.m_flow_nominal) (fixed = true) (40) [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) (41) [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) (42) [PRMT] (1) final parameter Real damExpPI.dp_nominal = damExpPI.dpDamper_nominal + damExpPI.dpFixed_nominal (fixed = true) (43) [PRMT] (1) final parameter Real damExpPI.m_flow_small = 1e-4 * abs(damExpPI.m_flow_nominal) (fixed = true, min = 0.0) (44) [PRMT] (1) final parameter Real damExpPI.m_flow_nominal = m_flow_nominal (fixed = true) (45) [PRMT] (1) protected parameter Real damPreInd.coeff2 = 1.0 / damPreInd.coeff1 (fixed = true) (46) [PRMT] (1) protected parameter Real damPreInd.coeff1 = (damPreInd.l2 * damPreInd.m_flow_nominal) / damPreInd.dpDamper_nominal (fixed = true) (47) [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}) (48) [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}) (49) [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) (50) [PRMT] (1) protected parameter Real damPreInd.kDamMin = damPreInd.l * damPreInd.kDamMax (fixed = true) (51) [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) (52) [PRMT] (1) protected parameter Real damPreInd.kDamMax = ((damPreInd.rho_default * 2.0) / damPreInd.k1) ^ 0.5 * damPreInd.A (fixed = true) (53) [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}) (54) [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}) (55) [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) (56) [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) (57) [PRMT] (1) protected parameter Real damPreInd.facRouDuc = if damPreInd.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (58) [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) (59) [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) (60) [PRMT] (1) final parameter Real damPreInd.k0 = damPreInd.rho_default * 2.0 * (damPreInd.A / damPreInd.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (61) [PRMT] (1) final parameter Real damPreInd.A = damPreInd.m_flow_nominal / (damPreInd.v_nominal * damPreInd.rho_default) (fixed = true) (62) [PRMT] (1) final parameter Real damPreInd.v_nominal = ((2.0 * damPreInd.dpDamper_nominal) / (damPreInd.rho_default * damPreInd.k1)) ^ 0.5 (fixed = true) (63) [PRMT] (1) final parameter Real damPreInd.dpDamper_nominal = dp_nominal (fixed = true) (64) [PRMT] (1) protected final parameter Real damPreInd.dp_nominal_pos = abs(damPreInd.dp_nominal) (fixed = true) (65) [PRMT] (1) protected final parameter Real damPreInd.m_flow_nominal_pos = abs(damPreInd.m_flow_nominal) (fixed = true) (66) [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) (67) [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) (68) [PRMT] (1) final parameter Real damPreInd.dp_nominal = damPreInd.dpDamper_nominal + damPreInd.dpFixed_nominal (fixed = true) (69) [PRMT] (1) final parameter Real damPreInd.m_flow_small = 1e-4 * abs(damPreInd.m_flow_nominal) (fixed = true, min = 0.0) (70) [PRMT] (1) final parameter Real damPreInd.m_flow_nominal = m_flow_nominal (fixed = true) (71) [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) (72) [PRMT] (1) protected parameter Real damExp.kDamMin = damExp.l * damExp.kDamMax (fixed = true) (73) [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) (74) [PRMT] (1) protected parameter Real damExp.kDamMax = ((damExp.rho_default * 2.0) / damExp.k1) ^ 0.5 * damExp.A (fixed = true) (75) [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}) (76) [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}) (77) [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) (78) [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) (79) [PRMT] (1) protected parameter Real damExp.facRouDuc = if damExp.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (80) [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) (81) [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) (82) [PRMT] (1) final parameter Real damExp.k0 = damExp.rho_default * 2.0 * (damExp.A / damExp.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (83) [PRMT] (1) final parameter Real damExp.A = damExp.m_flow_nominal / (damExp.v_nominal * damExp.rho_default) (fixed = true) (84) [PRMT] (1) final parameter Real damExp.v_nominal = ((2.0 * damExp.dpDamper_nominal) / (damExp.rho_default * damExp.k1)) ^ 0.5 (fixed = true) (85) [PRMT] (1) final parameter Real damExp.dpDamper_nominal = dp_nominal (fixed = true) (86) [PRMT] (1) protected final parameter Real damExp.dp_nominal_pos = abs(damExp.dp_nominal) (fixed = true) (87) [PRMT] (1) protected final parameter Real damExp.m_flow_nominal_pos = abs(damExp.m_flow_nominal) (fixed = true) (88) [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) (89) [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) (90) [PRMT] (1) final parameter Real damExp.dp_nominal = damExp.dpDamper_nominal + damExp.dpFixed_nominal (fixed = true) (91) [PRMT] (1) final parameter Real damExp.m_flow_small = 1e-4 * abs(damExp.m_flow_nominal) (fixed = true, min = 0.0) (92) [PRMT] (1) final parameter Real damExp.m_flow_nominal = m_flow_nominal (fixed = true) System Equations (98/180) *************************** (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_342) (10) [SCAL] (1) sou.T_in_internal = sou.T ($RES_BND_341) (11) [SCAL] (1) sin.p_in_internal = sin.p ($RES_BND_340) (12) [SCAL] (1) sin.T_in_internal = sin.T ($RES_BND_339) (13) [SCAL] (1) damPreInd.rho = damPreInd.rho_default ($RES_BND_338) (14) [SCAL] (1) damExpPI.rho = damExpPI.rho_default ($RES_BND_337) (15) [SCAL] (1) gain.k = 1/m_flow_nominal ($RES_BND_336) (16) [SCAL] (1) conPID.gainTrack.k = 1/(conPID.Ni * conPID.k) ($RES_BND_335) (17) [SCAL] (1) conPID.gainPID.k = conPID.k ($RES_BND_334) (18) [SCAL] (1) conPID.addI.k2 = -conPID.revAct ($RES_BND_333) (19) [SCAL] (1) conPID.addI.k1 = conPID.revAct ($RES_BND_332) (20) [SCAL] (1) conPID.revAct = if conPID.reverseAction then -1.0 else 1.0 ($RES_BND_331) (21) [SCAL] (1) conPID.D.x_start = conPID.xd_start ($RES_BND_330) (22) [SCAL] (1) conPID.D.T = max({{conPID.Td / conPID.Nd, 1e-14}}) ($RES_BND_329) (23) [SCAL] (1) conPID.D.k = conPID.Td ($RES_BND_328) (24) [SCAL] (1) conPID.I.k = 1/conPID.Ti ($RES_BND_327) (25) [SCAL] (1) conPID.addD.k2 = -conPID.revAct ($RES_BND_326) (26) [SCAL] (1) conPID.addD.k1 = conPID.revAct * conPID.wd ($RES_BND_325) (27) [SCAL] (1) conPID.addP.k2 = -conPID.revAct ($RES_BND_324) (28) [SCAL] (1) conPID.addP.k1 = conPID.revAct * conPID.wp ($RES_BND_323) (29) [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) (30) [SCAL] (1) damExpPI.kDamMin = damExpPI.l * damExpPI.kDamMax ($RES_BND_321) (31) [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) (32) [SCAL] (1) damExpPI.kDamMax = ((2.0 * damExpPI.rho_default) / damExpPI.k1) ^ 0.5 * damExpPI.A ($RES_BND_319) (33) [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) (34) [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) (35) [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) (36) [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) (37) [SCAL] (1) damExpPI.facRouDuc = if damExpPI.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_314) (38) [SCAL] (1) damExpPI.rho_default = 1.1843079200592153e-5 * damExpPI.sta_default.p ($RES_BND_313) (39) [SCAL] (1) damExpPI.kFixed = if damExpPI.dpFixed_nominal > 1e-15 then damExpPI.m_flow_nominal / sqrt(damExpPI.dpFixed_nominal) else 1e60 ($RES_BND_312) (40) [SCAL] (1) damExpPI.k0 = 2.0 * damExpPI.rho_default * (damExpPI.A / damExpPI.kDamMin) ^ 2.0 ($RES_BND_311) (41) [SCAL] (1) damExpPI.A = damExpPI.m_flow_nominal / (damExpPI.v_nominal * damExpPI.rho_default) ($RES_BND_310) (42) [SCAL] (1) damExpPI.v_nominal = ((2.0 * damExpPI.dpDamper_nominal) / (damExpPI.rho_default * damExpPI.k1)) ^ 0.5 ($RES_BND_309) (43) [SCAL] (1) damExpPI.dpDamper_nominal = dp_nominal ($RES_BND_308) (44) [SCAL] (1) damExpPI.dp_nominal_pos = abs(damExpPI.dp_nominal) ($RES_BND_307) (45) [SCAL] (1) damExpPI.m_flow_nominal_pos = abs(damExpPI.m_flow_nominal) ($RES_BND_306) (46) [SCAL] (1) damExpPI.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damExpPI.sta_default.T ($RES_BND_305) (47) [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) (48) [SCAL] (1) damExpPI.dp_nominal = damExpPI.dpDamper_nominal + damExpPI.dpFixed_nominal ($RES_BND_303) (49) [SCAL] (1) damExpPI.m_flow_small = 1e-4 * abs(damExpPI.m_flow_nominal) ($RES_BND_302) (50) [SCAL] (1) damExpPI.m_flow_nominal = m_flow_nominal ($RES_BND_301) (51) [SCAL] (1) damPreInd.coeff2 = 1/damPreInd.coeff1 ($RES_BND_300) (52) [SCAL] (1) damPreInd.coeff1 = (damPreInd.l2 * damPreInd.m_flow_nominal) / damPreInd.dpDamper_nominal ($RES_BND_299) (53) [FOR-] (13) ($RES_BND_297) (53) [----] for $i1 in 1:13 loop (53) [----] [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) (53) [----] end for; (54) [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) (55) [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) (56) [SCAL] (1) damPreInd.kDamMin = damPreInd.l * damPreInd.kDamMax ($RES_BND_294) (57) [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) (58) [SCAL] (1) damPreInd.kDamMax = ((2.0 * damPreInd.rho_default) / damPreInd.k1) ^ 0.5 * damPreInd.A ($RES_BND_292) (59) [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) (60) [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) (61) [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) (62) [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) (63) [SCAL] (1) damPreInd.facRouDuc = if damPreInd.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_287) (64) [SCAL] (1) damPreInd.rho_default = 1.1843079200592153e-5 * damPreInd.sta_default.p ($RES_BND_286) (65) [SCAL] (1) damPreInd.kFixed = if damPreInd.dpFixed_nominal > 1e-15 then damPreInd.m_flow_nominal / sqrt(damPreInd.dpFixed_nominal) else 1e60 ($RES_BND_285) (66) [SCAL] (1) damPreInd.k0 = 2.0 * damPreInd.rho_default * (damPreInd.A / damPreInd.kDamMin) ^ 2.0 ($RES_BND_284) (67) [SCAL] (1) damPreInd.A = damPreInd.m_flow_nominal / (damPreInd.v_nominal * damPreInd.rho_default) ($RES_BND_283) (68) [SCAL] (1) damPreInd.v_nominal = ((2.0 * damPreInd.dpDamper_nominal) / (damPreInd.rho_default * damPreInd.k1)) ^ 0.5 ($RES_BND_282) (69) [SCAL] (1) damPreInd.dpDamper_nominal = dp_nominal ($RES_BND_281) (70) [SCAL] (1) damPreInd.dp_nominal_pos = abs(damPreInd.dp_nominal) ($RES_BND_280) (71) [SCAL] (1) damPreInd.m_flow_nominal_pos = abs(damPreInd.m_flow_nominal) ($RES_BND_279) (72) [SCAL] (1) damPreInd.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damPreInd.sta_default.T ($RES_BND_278) (73) [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) (74) [SCAL] (1) damPreInd.dp_nominal = damPreInd.dpDamper_nominal + damPreInd.dpFixed_nominal ($RES_BND_276) (75) [SCAL] (1) damPreInd.m_flow_small = 1e-4 * abs(damPreInd.m_flow_nominal) ($RES_BND_275) (76) [SCAL] (1) damPreInd.m_flow_nominal = m_flow_nominal ($RES_BND_274) (77) [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) (78) [SCAL] (1) damExp.kDamMin = damExp.l * damExp.kDamMax ($RES_BND_272) (79) [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) (80) [SCAL] (1) damExp.kDamMax = ((2.0 * damExp.rho_default) / damExp.k1) ^ 0.5 * damExp.A ($RES_BND_270) (81) [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) (82) [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) (83) [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) (84) [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) (85) [SCAL] (1) damExp.facRouDuc = if damExp.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_265) (86) [SCAL] (1) damExp.rho_default = 1.1843079200592153e-5 * damExp.sta_default.p ($RES_BND_264) (87) [SCAL] (1) damExp.kFixed = if damExp.dpFixed_nominal > 1e-15 then damExp.m_flow_nominal / sqrt(damExp.dpFixed_nominal) else 1e60 ($RES_BND_263) (88) [SCAL] (1) damExp.k0 = 2.0 * damExp.rho_default * (damExp.A / damExp.kDamMin) ^ 2.0 ($RES_BND_262) (89) [SCAL] (1) damExp.A = damExp.m_flow_nominal / (damExp.v_nominal * damExp.rho_default) ($RES_BND_261) (90) [SCAL] (1) damExp.v_nominal = ((2.0 * damExp.dpDamper_nominal) / (damExp.rho_default * damExp.k1)) ^ 0.5 ($RES_BND_260) (91) [SCAL] (1) damExp.dpDamper_nominal = dp_nominal ($RES_BND_259) (92) [SCAL] (1) damExp.dp_nominal_pos = abs(damExp.dp_nominal) ($RES_BND_258) (93) [SCAL] (1) damExp.m_flow_nominal_pos = abs(damExp.m_flow_nominal) ($RES_BND_257) (94) [SCAL] (1) damExp.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damExp.sta_default.T ($RES_BND_256) (95) [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) (96) [SCAL] (1) damExp.dp_nominal = damExp.dpDamper_nominal + damExp.dpFixed_nominal ($RES_BND_254) (97) [SCAL] (1) damExp.m_flow_small = 1e-4 * abs(damExp.m_flow_nominal) ($RES_BND_253) (98) [SCAL] (1) damExp.m_flow_nominal = m_flow_nominal ($RES_BND_252) Error: Internal error NBInitialization.main failed to apply modules!