Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 109.8 kB / 16.38 MB, free: 6.43 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.001075/0.001075, allocations: 188.7 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 304.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8222/0.8222, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.388e-05, allocations: 9.594 kB / 0.5966 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.356/0.3561, allocations: 174.6 MB / 0.7671 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004989/0.3611, allocations: 3.304 MB / 0.7704 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.3619, allocations: 18.59 kB / 0.7704 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.3628, allocations: 343 kB / 0.7707 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.3652, allocations: 1.064 MB / 0.7717 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.3674, allocations: 0.9972 MB / 0.7727 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3692, allocations: 1.655 MB / 0.7743 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008183/0.3701, allocations: 0.6684 MB / 0.775 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.3711, allocations: 0.7727 MB / 0.7757 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.3718, allocations: 0.5702 MB / 0.7763 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3719, allocations: 67.84 kB / 0.7764 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.3733, allocations: 0.9203 MB / 0.7773 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001046/0.3743, allocations: 1.599 MB / 0.7788 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0004639/0.3748, allocations: 0.8928 MB / 0.7797 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3749, allocations: 119.6 kB / 0.7798 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.682e-05/0.375, allocations: 32.12 kB / 0.7798 GB, free: 5.586 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 (79) * Number of variables: 89 (75) Notification: Performance of Bindings: time 0.002634/0.3776, allocations: 3.587 MB / 0.7833 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0001882/0.3778, allocations: 173.7 kB / 0.7835 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.00109/0.3789, allocations: 1.28 MB / 0.7848 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simplify1: time 8.651e-05/0.379, allocations: 103.9 kB / 0.7849 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of Alias: time 0.001492/0.3805, allocations: 1.568 MB / 0.7864 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simplify2: time 6.979e-05/0.3806, allocations: 83.88 kB / 0.7865 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Events: time 0.0003622/0.381, allocations: 384.6 kB / 0.7868 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0003319/0.3813, allocations: 378.1 kB / 0.7872 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0005036/0.3818, allocations: 0.6147 MB / 0.7878 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of Causalize: time 0.002378/0.3842, allocations: 2.753 MB / 0.7905 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0009151/0.3851, allocations: 1.096 MB / 0.7915 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of Inline: time 0.00261/0.3877, allocations: 2.933 MB / 0.7944 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001304/0.3879, allocations: 123.7 kB / 0.7945 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0002345/0.3881, allocations: 307.4 kB / 0.7948 GB, free: 6.336 MB / 0.5137 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency vav.k0 could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) vav.cL = {(log(vav.k0) - (vav.a + vav.b)) / vav.yL ^ 2.0, ((2.0 * vav.b + 2.0 * vav.a) - (vav.yL * vav.b + 2.0 * log(vav.k0))) / vav.yL, log(vav.k0)} ($RES_BND_188) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (67/77) ************************** (1) [DER-] (2) Real[2] $DER.dam.filter.s (2) [DER-] (2) Real[2] $DER.vav.filter.s (3) [PRMT] (1) protected Real sin.p_in_internal = PAtm.k (fixed = true, start = PAtm.k) (4) [PRMT] (1) Real sin.p_in = PAtm.k (fixed = true, start = PAtm.k) (5) [PRMT] (1) Real PAtm.y = PAtm.k (fixed = true, start = PAtm.k) (6) [PRMT] (1) Real dam.rho = dam.rho_default (fixed = true, start = dam.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (7) [PRMT] (1) protected Real sou.T_in_internal = sou.T (fixed = true, start = sou.T) (8) [PRMT] (1) protected Real sin.T_in_internal = sin.T (fixed = true, start = sin.T) (9) [PRMT] (1) Real vav.rho = vav.rho_default (fixed = true, start = vav.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (10) [PRMT] (1) protected final parameter Real res.coeff = 0.0 (fixed = true) (11) [PRMT] (1) final parameter Real res.k = res.m_flow_nominal_pos / 2.23606797749979 (fixed = true) (12) [PRMT] (1) protected final parameter Real res.m_flow_nominal_pos = abs(res.m_flow_nominal) (fixed = true) (13) [PRMT] (1) protected parameter Real res.eta_default = BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.res.Medium.dynamicViscosity(res.sta_default) (fixed = true, min = 0.0) (14) [PRMT] (1) final parameter Real res.m_flow_turbulent = 0.3 * res.m_flow_nominal_pos (fixed = true, min = 0.0) (15) [PRMT] (1) final parameter Real res.m_flow_small = 1e-4 * abs(res.m_flow_nominal) (fixed = true, min = 0.0) (16) [PRMT] (1) protected parameter Real vav.kTotMin = if vav.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / vav.kDamMin ^ 2.0 + 1.0 / vav.kFixed ^ 2.0)) else vav.kDamMin (fixed = true) (17) [PRMT] (1) protected parameter Real vav.kDamMin = vav.l * vav.kDamMax (fixed = true) (18) [PRMT] (1) protected parameter Real vav.kTotMax = if vav.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / vav.kDamMax ^ 2.0 + 1.0 / vav.kFixed ^ 2.0)) else vav.kDamMax (fixed = true) (19) [PRMT] (1) protected parameter Real vav.kDamMax = ((vav.rho_default * 2.0) / vav.k1) ^ 0.5 * vav.A (fixed = true) (20) [PRMT] (3) protected parameter Real[3] vav.cU = {(log(vav.k1) - vav.a) / ((vav.yU ^ 2.0 + 1.0) - 2.0 * vav.yU), ((-(vav.b * 2.0 + vav.a * 2.0)) * vav.yU + vav.yU ^ 2.0 * vav.b + vav.yU * 2.0 * log(vav.k1) + vav.b) / (-((1.0 + vav.yU ^ 2.0) - vav.yU * 2.0)), (vav.b + vav.b * vav.yU ^ 2.0 + log(vav.k1) * vav.yU ^ 2.0 + vav.yU * (-(2.0 * vav.a + 2.0 * vav.b)) + vav.a) / ((vav.yU ^ 2.0 + 1.0) - 2.0 * vav.yU)} (fixed = {true for $i1 in 1:3}) (21) [PRMT] (3) protected parameter Real[3] vav.cL = {(log(vav.k0) - (vav.a + vav.b)) / vav.yL ^ 2.0, ((2.0 * vav.b + vav.a * 2.0) - (vav.yL * vav.b + log(vav.k0) * 2.0)) / vav.yL, log(vav.k0)} (fixed = {true for $i1 in 1:3}) (22) [PRMT] (1) protected parameter Real vav.kU = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(vav.yU, vav.a, vav.b, vav.cL, vav.cU, vav.yL, vav.yU) ^ 2.0 (fixed = true) (23) [PRMT] (1) protected parameter Real vav.kL = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(vav.yL, vav.a, vav.b, vav.cL, vav.cU, vav.yL, vav.yU) ^ 2.0 (fixed = true) (24) [PRMT] (1) protected parameter Real vav.facRouDuc = if vav.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (25) [PRMT] (1) protected parameter Real vav.rho_default = BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.vav.Medium.density(vav.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (26) [PRMT] (1) final parameter Real vav.kFixed = if vav.dpFixed_nominal > 1e-15 then vav.m_flow_nominal / sqrt(vav.dpFixed_nominal) else 1e60 (fixed = true) (27) [PRMT] (1) final parameter Real vav.k0 = vav.rho_default * 2.0 * (vav.A / vav.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (28) [PRMT] (1) final parameter Real vav.A = vav.m_flow_nominal / (vav.v_nominal * vav.rho_default) (fixed = true) (29) [PRMT] (1) final parameter Real vav.v_nominal = ((2.0 * vav.dpDamper_nominal) / (vav.rho_default * vav.k1)) ^ 0.5 (fixed = true) (30) [PRMT] (1) protected parameter Real vav.filter.w_u = (6.283185307179586 * vav.filter.f) / (vav.filter.u_nom * vav.filter.alpha) (fixed = true) (31) [PRMT] (1) protected parameter Real vav.filter.alpha = if vav.filter.normalized then 0.6435942529055827 else 1.0 (fixed = true) (32) [PRMT] (1) protected final parameter Real vav.filter.u_nom = if abs(vav.filter.u_nominal - 1.0) < 1e-12 then 0.999999999999 else vav.filter.u_nominal (fixed = true) (33) [PRMT] (1) protected final parameter Real vav.filter.y_start = vav.y_start (fixed = true) (34) [PRMT] (1) protected final parameter Real vav.filter.f = vav.fCut (fixed = true, start = 1.0) (35) [PRMT] (1) protected final parameter Real vav.fCut = 5.0 / (vav.riseTime * 6.283185307179586) (fixed = true) (36) [PRMT] (1) protected final parameter Real vav.dp_nominal_pos = abs(vav.dp_nominal) (fixed = true) (37) [PRMT] (1) protected final parameter Real vav.m_flow_nominal_pos = abs(vav.m_flow_nominal) (fixed = true) (38) [PRMT] (1) protected parameter Real vav.eta_default = BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.vav.Medium.dynamicViscosity(vav.sta_default) (fixed = true, min = 0.0) (39) [PRMT] (1) final parameter Real vav.m_flow_turbulent = if vav.use_deltaM then vav.m_flow_nominal * vav.deltaM else vav.facRouDuc * vav.ReC * vav.eta_default * sqrt(vav.A) (fixed = true, min = 0.0) (40) [PRMT] (1) final parameter Real vav.dp_nominal = vav.dpDamper_nominal + vav.dpFixed_nominal (fixed = true) (41) [PRMT] (1) final parameter Real vav.m_flow_small = 1e-4 * abs(vav.m_flow_nominal) (fixed = true, min = 0.0) (42) [PRMT] (1) protected parameter Real dam.kTotMin = if dam.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / dam.kDamMin ^ 2.0 + 1.0 / dam.kFixed ^ 2.0)) else dam.kDamMin (fixed = true) (43) [PRMT] (1) protected parameter Real dam.kDamMin = dam.l * dam.kDamMax (fixed = true) (44) [PRMT] (1) protected parameter Real dam.kTotMax = if dam.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / dam.kDamMax ^ 2.0 + 1.0 / dam.kFixed ^ 2.0)) else dam.kDamMax (fixed = true) (45) [PRMT] (1) protected parameter Real dam.kDamMax = ((dam.rho_default * 2.0) / dam.k1) ^ 0.5 * dam.A (fixed = true) (46) [PRMT] (3) protected parameter Real[3] dam.cU = {(log(dam.k1) - dam.a) / ((dam.yU ^ 2.0 + 1.0) - 2.0 * dam.yU), ((-(dam.b * 2.0 + dam.a * 2.0)) * dam.yU + dam.yU ^ 2.0 * dam.b + dam.yU * 2.0 * log(dam.k1) + dam.b) / (-((1.0 + dam.yU ^ 2.0) - dam.yU * 2.0)), (dam.b + dam.b * dam.yU ^ 2.0 + log(dam.k1) * dam.yU ^ 2.0 + dam.yU * (-(2.0 * dam.a + 2.0 * dam.b)) + dam.a) / ((dam.yU ^ 2.0 + 1.0) - 2.0 * dam.yU)} (fixed = {true for $i1 in 1:3}) (47) [PRMT] (3) protected parameter Real[3] dam.cL = {(log(dam.k0) - (dam.a + dam.b)) / dam.yL ^ 2.0, ((2.0 * dam.b + dam.a * 2.0) - (dam.yL * dam.b + log(dam.k0) * 2.0)) / dam.yL, log(dam.k0)} (fixed = {true for $i1 in 1:3}) (48) [PRMT] (1) protected parameter Real dam.kU = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(dam.yU, dam.a, dam.b, dam.cL, dam.cU, dam.yL, dam.yU) ^ 2.0 (fixed = true) (49) [PRMT] (1) protected parameter Real dam.kL = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(dam.yL, dam.a, dam.b, dam.cL, dam.cU, dam.yL, dam.yU) ^ 2.0 (fixed = true) (50) [PRMT] (1) protected parameter Real dam.facRouDuc = if dam.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (51) [PRMT] (1) protected parameter Real dam.rho_default = BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.dam.Medium.density(dam.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (52) [PRMT] (1) final parameter Real dam.kFixed = if dam.dpFixed_nominal > 1e-15 then dam.m_flow_nominal / sqrt(dam.dpFixed_nominal) else 1e60 (fixed = true) (53) [PRMT] (1) final parameter Real dam.k0 = dam.rho_default * 2.0 * (dam.A / dam.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (54) [PRMT] (1) final parameter Real dam.A = dam.m_flow_nominal / (dam.v_nominal * dam.rho_default) (fixed = true) (55) [PRMT] (1) final parameter Real dam.v_nominal = ((2.0 * dam.dpDamper_nominal) / (dam.rho_default * dam.k1)) ^ 0.5 (fixed = true) (56) [PRMT] (1) protected parameter Real dam.filter.w_u = (6.283185307179586 * dam.filter.f) / (dam.filter.u_nom * dam.filter.alpha) (fixed = true) (57) [PRMT] (1) protected parameter Real dam.filter.alpha = if dam.filter.normalized then 0.6435942529055827 else 1.0 (fixed = true) (58) [PRMT] (1) protected final parameter Real dam.filter.u_nom = if abs(dam.filter.u_nominal - 1.0) < 1e-12 then 0.999999999999 else dam.filter.u_nominal (fixed = true) (59) [PRMT] (1) protected final parameter Real dam.filter.y_start = dam.y_start (fixed = true) (60) [PRMT] (1) protected final parameter Real dam.filter.f = dam.fCut (fixed = true, start = 1.0) (61) [PRMT] (1) protected final parameter Real dam.fCut = 5.0 / (dam.riseTime * 6.283185307179586) (fixed = true) (62) [PRMT] (1) protected final parameter Real dam.dp_nominal_pos = abs(dam.dp_nominal) (fixed = true) (63) [PRMT] (1) protected final parameter Real dam.m_flow_nominal_pos = abs(dam.m_flow_nominal) (fixed = true) (64) [PRMT] (1) protected parameter Real dam.eta_default = BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.dam.Medium.dynamicViscosity(dam.sta_default) (fixed = true, min = 0.0) (65) [PRMT] (1) final parameter Real dam.m_flow_turbulent = if dam.use_deltaM then dam.m_flow_nominal * dam.deltaM else dam.facRouDuc * dam.ReC * dam.eta_default * sqrt(dam.A) (fixed = true, min = 0.0) (66) [PRMT] (1) final parameter Real dam.dp_nominal = dam.dpDamper_nominal + dam.dpFixed_nominal (fixed = true) (67) [PRMT] (1) final parameter Real dam.m_flow_small = 1e-4 * abs(dam.m_flow_nominal) (fixed = true, min = 0.0) System Equations (71/77) ************************** (1) [ARRY] (1) $DER.vav.filter.s[1:1] = fill(0.0, 1) ($RES_SIM_10) (2) [SCAL] (1) vav.y_filtered = vav.filter.y_start ($RES_SIM_11) (3) [ALGO] (0) ($RES_SIM_12) (3) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sin.X_in_internal, "Boundary_pT"); (4) [ALGO] (0) ($RES_SIM_13) (4) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sou.X_in_internal, "Boundary_pT"); (5) [ARRY] (1) $DER.dam.filter.s[1:1] = fill(0.0, 1) ($RES_SIM_22) (6) [SCAL] (1) dam.y_filtered = dam.filter.y_start ($RES_SIM_23) (7) [SCAL] (1) sin.p_in_internal = PAtm.k ($RES_BND_206) (8) [SCAL] (1) sin.p_in = PAtm.k ($RES_BND_205) (9) [SCAL] (1) PAtm.y = PAtm.k ($RES_BND_204) (10) [SCAL] (1) dam.rho = dam.rho_default ($RES_BND_203) (11) [SCAL] (1) sou.T_in_internal = sou.T ($RES_BND_202) (12) [SCAL] (1) sin.T_in_internal = sin.T ($RES_BND_201) (13) [SCAL] (1) vav.rho = vav.rho_default ($RES_BND_200) (14) [SCAL] (1) res.coeff = 0.0 ($RES_BND_199) (15) [SCAL] (1) res.k = 0.4472135954999579 * res.m_flow_nominal_pos ($RES_BND_198) (16) [SCAL] (1) res.m_flow_nominal_pos = abs(res.m_flow_nominal) ($RES_BND_197) (17) [SCAL] (1) res.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * res.sta_default.T ($RES_BND_196) (18) [SCAL] (1) res.m_flow_turbulent = 0.3 * res.m_flow_nominal_pos ($RES_BND_195) (19) [SCAL] (1) res.m_flow_small = 1e-4 * abs(res.m_flow_nominal) ($RES_BND_194) (20) [SCAL] (1) vav.kTotMin = if vav.dpFixed_nominal > 1e-15 then sqrt(1/(1/vav.kDamMin ^ 2.0 + 1/vav.kFixed ^ 2.0)) else vav.kDamMin ($RES_BND_193) (21) [SCAL] (1) vav.kDamMin = vav.l * vav.kDamMax ($RES_BND_192) (22) [SCAL] (1) vav.kTotMax = if vav.dpFixed_nominal > 1e-15 then sqrt(1/(1/vav.kDamMax ^ 2.0 + 1/vav.kFixed ^ 2.0)) else vav.kDamMax ($RES_BND_191) (23) [SCAL] (1) vav.kDamMax = ((2.0 * vav.rho_default) / vav.k1) ^ 0.5 * vav.A ($RES_BND_190) (24) [ARRY] (3) vav.cU = {(log(vav.k1) - vav.a) / ((1.0 + vav.yU ^ 2.0) - 2.0 * vav.yU), -((vav.yU ^ 2.0 * vav.b + 2.0 * vav.yU * log(vav.k1) + vav.b) - (2.0 * vav.b + 2.0 * vav.a) * vav.yU) / ((1.0 + vav.yU ^ 2.0) - 2.0 * vav.yU), ((vav.b + vav.b * vav.yU ^ 2.0 + log(vav.k1) * vav.yU ^ 2.0 + vav.a) - vav.yU * (2.0 * vav.a + 2.0 * vav.b)) / ((1.0 + vav.yU ^ 2.0) - 2.0 * vav.yU)} ($RES_BND_189) (25) [ARRY] (3) vav.cL = {(log(vav.k0) - (vav.a + vav.b)) / vav.yL ^ 2.0, ((2.0 * vav.b + 2.0 * vav.a) - (vav.yL * vav.b + 2.0 * log(vav.k0))) / vav.yL, log(vav.k0)} ($RES_BND_188) (26) [SCAL] (1) vav.kU = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(vav.yU, vav.a, vav.b, vav.cL, vav.cU, vav.yL, vav.yU) ^ 2.0 ($RES_BND_187) (27) [SCAL] (1) vav.kL = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(vav.yL, vav.a, vav.b, vav.cL, vav.cU, vav.yL, vav.yU) ^ 2.0 ($RES_BND_186) (28) [SCAL] (1) vav.facRouDuc = if vav.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_185) (29) [SCAL] (1) vav.rho_default = 1.1843079200592153e-5 * vav.sta_default.p ($RES_BND_184) (30) [SCAL] (1) vav.kFixed = if vav.dpFixed_nominal > 1e-15 then vav.m_flow_nominal / sqrt(vav.dpFixed_nominal) else 1e60 ($RES_BND_183) (31) [SCAL] (1) vav.k0 = 2.0 * vav.rho_default * (vav.A / vav.kDamMin) ^ 2.0 ($RES_BND_182) (32) [SCAL] (1) vav.A = vav.m_flow_nominal / (vav.v_nominal * vav.rho_default) ($RES_BND_181) (33) [SCAL] (1) vav.v_nominal = ((2.0 * vav.dpDamper_nominal) / (vav.rho_default * vav.k1)) ^ 0.5 ($RES_BND_180) (34) [SCAL] (1) vav.filter.w_u = (6.283185307179586 * vav.filter.f) / (vav.filter.u_nom * vav.filter.alpha) ($RES_BND_179) (35) [SCAL] (1) vav.filter.alpha = if vav.filter.normalized then 0.6435942529055827 else 1.0 ($RES_BND_178) (36) [SCAL] (1) vav.filter.u_nom = if abs((-1.0) + vav.filter.u_nominal) < 1e-12 then 0.999999999999 else vav.filter.u_nominal ($RES_BND_177) (37) [SCAL] (1) vav.filter.y_start = vav.y_start ($RES_BND_176) (38) [SCAL] (1) vav.filter.f = vav.fCut ($RES_BND_175) (39) [SCAL] (1) vav.fCut = 0.7957747154594768 / vav.riseTime ($RES_BND_174) (40) [SCAL] (1) vav.dp_nominal_pos = abs(vav.dp_nominal) ($RES_BND_173) (41) [SCAL] (1) vav.m_flow_nominal_pos = abs(vav.m_flow_nominal) ($RES_BND_172) (42) [SCAL] (1) vav.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * vav.sta_default.T ($RES_BND_171) (43) [SCAL] (1) vav.m_flow_turbulent = if vav.use_deltaM then vav.m_flow_nominal * vav.deltaM else vav.facRouDuc * vav.ReC * vav.eta_default * sqrt(vav.A) ($RES_BND_170) (44) [SCAL] (1) vav.dp_nominal = vav.dpDamper_nominal + vav.dpFixed_nominal ($RES_BND_169) (45) [SCAL] (1) vav.m_flow_small = 1e-4 * abs(vav.m_flow_nominal) ($RES_BND_168) (46) [SCAL] (1) dam.kTotMin = if dam.dpFixed_nominal > 1e-15 then sqrt(1/(1/dam.kDamMin ^ 2.0 + 1/dam.kFixed ^ 2.0)) else dam.kDamMin ($RES_BND_167) (47) [SCAL] (1) dam.kDamMin = dam.l * dam.kDamMax ($RES_BND_166) (48) [SCAL] (1) dam.kTotMax = if dam.dpFixed_nominal > 1e-15 then sqrt(1/(1/dam.kDamMax ^ 2.0 + 1/dam.kFixed ^ 2.0)) else dam.kDamMax ($RES_BND_165) (49) [SCAL] (1) dam.kDamMax = ((2.0 * dam.rho_default) / dam.k1) ^ 0.5 * dam.A ($RES_BND_164) (50) [ARRY] (3) dam.cU = {(log(dam.k1) - dam.a) / ((1.0 + dam.yU ^ 2.0) - 2.0 * dam.yU), -((dam.yU ^ 2.0 * dam.b + 2.0 * dam.yU * log(dam.k1) + dam.b) - (2.0 * dam.b + 2.0 * dam.a) * dam.yU) / ((1.0 + dam.yU ^ 2.0) - 2.0 * dam.yU), ((dam.b + dam.b * dam.yU ^ 2.0 + log(dam.k1) * dam.yU ^ 2.0 + dam.a) - dam.yU * (2.0 * dam.a + 2.0 * dam.b)) / ((1.0 + dam.yU ^ 2.0) - 2.0 * dam.yU)} ($RES_BND_163) (51) [ARRY] (3) dam.cL = {(log(dam.k0) - (dam.a + dam.b)) / dam.yL ^ 2.0, ((2.0 * dam.b + 2.0 * dam.a) - (dam.yL * dam.b + 2.0 * log(dam.k0))) / dam.yL, log(dam.k0)} ($RES_BND_162) (52) [SCAL] (1) dam.kU = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(dam.yU, dam.a, dam.b, dam.cL, dam.cU, dam.yL, dam.yU) ^ 2.0 ($RES_BND_161) (53) [SCAL] (1) dam.kL = BuildingSystems.Fluid.Actuators.BaseClasses.exponentialDamper(dam.yL, dam.a, dam.b, dam.cL, dam.cU, dam.yL, dam.yU) ^ 2.0 ($RES_BND_160) (54) [SCAL] (1) dam.facRouDuc = if dam.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_159) (55) [SCAL] (1) dam.rho_default = 1.1843079200592153e-5 * dam.sta_default.p ($RES_BND_158) (56) [SCAL] (1) dam.kFixed = if dam.dpFixed_nominal > 1e-15 then dam.m_flow_nominal / sqrt(dam.dpFixed_nominal) else 1e60 ($RES_BND_157) (57) [SCAL] (1) dam.k0 = 2.0 * dam.rho_default * (dam.A / dam.kDamMin) ^ 2.0 ($RES_BND_156) (58) [SCAL] (1) dam.A = dam.m_flow_nominal / (dam.v_nominal * dam.rho_default) ($RES_BND_155) (59) [SCAL] (1) dam.v_nominal = ((2.0 * dam.dpDamper_nominal) / (dam.rho_default * dam.k1)) ^ 0.5 ($RES_BND_154) (60) [SCAL] (1) dam.filter.w_u = (6.283185307179586 * dam.filter.f) / (dam.filter.u_nom * dam.filter.alpha) ($RES_BND_153) (61) [SCAL] (1) dam.filter.alpha = if dam.filter.normalized then 0.6435942529055827 else 1.0 ($RES_BND_152) (62) [SCAL] (1) dam.filter.u_nom = if abs((-1.0) + dam.filter.u_nominal) < 1e-12 then 0.999999999999 else dam.filter.u_nominal ($RES_BND_151) (63) [SCAL] (1) dam.filter.y_start = dam.y_start ($RES_BND_150) (64) [SCAL] (1) dam.filter.f = dam.fCut ($RES_BND_149) (65) [SCAL] (1) dam.fCut = 0.7957747154594768 / dam.riseTime ($RES_BND_148) (66) [SCAL] (1) dam.dp_nominal_pos = abs(dam.dp_nominal) ($RES_BND_147) (67) [SCAL] (1) dam.m_flow_nominal_pos = abs(dam.m_flow_nominal) ($RES_BND_146) (68) [SCAL] (1) dam.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * dam.sta_default.T ($RES_BND_145) (69) [SCAL] (1) dam.m_flow_turbulent = if dam.use_deltaM then dam.m_flow_nominal * dam.deltaM else dam.facRouDuc * dam.ReC * dam.eta_default * sqrt(dam.A) ($RES_BND_144) (70) [SCAL] (1) dam.dp_nominal = dam.dpDamper_nominal + dam.dpFixed_nominal ($RES_BND_143) (71) [SCAL] (1) dam.m_flow_small = 1e-4 * abs(dam.m_flow_nominal) ($RES_BND_142) Error: Internal error NBInitialization.main failed to apply modules!