Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 106.2 kB / 16.38 MB, free: 6.48 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.0009836/0.0009835, allocations: 192.7 kB / 17.32 MB, free: 5.797 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7415/0.7415, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.447e-05, allocations: 2.281 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.009588/0.009627, allocations: 8.651 MB / 0.5116 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3831/0.3928, allocations: 156.3 MB / 0.6642 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.395, allocations: 55.75 kB / 0.6643 GB, free: 6.125 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000983/0.3959, allocations: 348.5 kB / 0.6646 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.3994, allocations: 1.09 MB / 0.6657 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.4025, allocations: 1.402 MB / 0.667 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005636/0.4082, allocations: 5.126 MB / 0.672 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.4118, allocations: 2.898 MB / 0.6749 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.415, allocations: 1.617 MB / 0.6764 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.4172, allocations: 1.452 MB / 0.6779 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.4177, allocations: 380 kB / 0.6782 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.4198, allocations: 0.9797 MB / 0.6792 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.003175/0.4229, allocations: 4.18 MB / 0.6833 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001811/0.4248, allocations: 2.428 MB / 0.6856 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008584/0.4256, allocations: 450.8 kB / 0.6861 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0007278/0.4264, allocations: 107.2 kB / 0.6862 GB, free: 15.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 (686) * Number of variables: 838 (455) Notification: Performance of Bindings: time 0.01348/0.4399, allocations: 13.41 MB / 0.6993 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.002089/0.442, allocations: 1.808 MB / 0.701 GB, free: 320 kB / 0.5137 GB Notification: Performance of Early Inline: time 0.01064/0.4526, allocations: 10.36 MB / 0.7111 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simplify1: time 0.001054/0.4537, allocations: 0.6133 MB / 0.7117 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of Alias: time 0.0136/0.4673, allocations: 11.74 MB / 0.7232 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simplify2: time 0.0008995/0.4683, allocations: 487.4 kB / 0.7237 GB, free: 8.406 MB / 0.545 GB Notification: Performance of Events: time 0.00174/0.47, allocations: 1.655 MB / 0.7253 GB, free: 6.723 MB / 0.545 GB Notification: Performance of Detect States: time 0.001489/0.4715, allocations: 1.699 MB / 0.727 GB, free: 4.996 MB / 0.545 GB Notification: Performance of Partitioning: time 0.003097/0.4746, allocations: 2.817 MB / 0.7297 GB, free: 2.016 MB / 0.545 GB Notification: Performance of Causalize: time 0.2763/0.7509, allocations: 27.86 MB / 0.7569 GB, free: 45.7 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.007227/0.7582, allocations: 6.925 MB / 0.7637 GB, free: 45.27 MB / 0.545 GB Notification: Performance of Inline: time 0.01321/0.7714, allocations: 14.01 MB / 0.7774 GB, free: 41.99 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0006992/0.7721, allocations: 450.8 kB / 0.7778 GB, free: 41.72 MB / 0.545 GB Notification: Performance of Cleanup: time 0.001046/0.7732, allocations: 0.5688 MB / 0.7783 GB, free: 41.38 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency sim.weaDat.filNam could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) sim.weaDat.timeSpan = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(sim.weaDat.filNam, "tab1") ($RES_BND_960) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (130/226) **************************** (1) [PRMT] (1) protected Real sim.weaDat.add30Min.u1 = sim.weaDat.con30Min.k (fixed = true, start = sim.weaDat.con30Min.k) (2) [PRMT] (1) protected Real sim.weaDat.con30Min.y = sim.weaDat.con30Min.k (fixed = true, start = sim.weaDat.con30Min.k) (3) [PRMT] (1) protected Real sim.weaDat.tWetBul_TDryBulXi.p = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p, min = 0.0) (4) [PRMT] (1) Real sim.weaDatBus.pAtm = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (5) [PRMT] (1) Real sim.weaDat.weaBus.pAtm = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (6) [PRMT] (1) protected Real sim.weaDat.chePre.pAtm = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (7) [PRMT] (1) protected Real sim.weaDat.chePre.PIn = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (8) [PRMT] (1) protected Real sim.weaDat.pAtmSel.y = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (9) [PRMT] (1) protected Real sim.weaDat.zenAng.lat = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (10) [PRMT] (1) Real sim.weaDatBus.lat = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (11) [PRMT] (1) Real sim.weaDat.weaBus.lat = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (12) [PRMT] (1) protected Real sim.weaDat.latitude.y = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (13) [PRMT] (1) Real sim.weaBus.Tdes = sim.Tdes (fixed = true, start = sim.Tdes, min = 0.0, nominal = 300.0) (14) [PRMT] (1) Real sim.TdesExpr.y = sim.Tdes (fixed = true, start = sim.Tdes) (15) [PRMT] (1) Real sim.weaBus.TGroundDes = sim.TdesGround (fixed = true, start = sim.TdesGround, min = 0.0, nominal = 300.0) (16) [PRMT] (1) protected Real sim.TGround.y = sim.TdesGround (fixed = true, start = sim.TdesGround) (17) [PRMT] (1) Real sim.Qgai.T = sim.fixedTemperature.T (fixed = true, start = sim.fixedTemperature.T, min = 0.0, nominal = 300.0) (18) [PRMT] (1) Real sim.fixedTemperature.port.T = sim.fixedTemperature.T (fixed = true, start = sim.fixedTemperature.T, min = 0.0, nominal = 300.0) (19) [PRMT] (1) protected Real sim.relativeAirMass.alt = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (20) [PRMT] (1) Real sim.alt.y = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (21) [PRMT] (1) Real sim.weaDatBus.alt = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (22) [PRMT] (1) Real sim.alt.u = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (23) [PRMT] (1) Real sim.weaDat.weaBus.alt = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (24) [PRMT] (1) protected Real sim.weaDat.altitude.y = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (25) [PRMT] (1) Real monLayAirHor.port_b.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (26) [PRMT] (1) Real intConFlo.port_b.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (27) [PRMT] (1) Real intConVerLin.port_b.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (28) [PRMT] (1) Real monLayAirWal.port_b.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (29) [PRMT] (1) Real intConVer.port_b.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (30) [PRMT] (1) Real monLayAirHorLin.port_b.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (31) [PRMT] (1) Real fixTem.port.T = fixTem.T (fixed = true, start = fixTem.T, min = 0.0, nominal = 300.0) (32) [PRMT] (1) Real sim.weaDatBus.lon = sim.weaDat.longitude.longitude (fixed = true, start = sim.weaDat.longitude.longitude) (33) [PRMT] (1) Real sim.weaDat.weaBus.lon = sim.weaDat.longitude.longitude (fixed = true, start = sim.weaDat.longitude.longitude) (34) [PRMT] (1) protected Real sim.weaDat.longitude.y = sim.weaDat.longitude.longitude (fixed = true, start = sim.weaDat.longitude.longitude) (35) [PRMT] (1) Real sim.weaDatBus.CEnv = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (36) [PRMT] (1) Real sim.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (37) [PRMT] (1) Real sim.weaDat.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (38) [PRMT] (1) Real sim.CEnv.y = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (39) [PRMT] (1) protected Real sim.XiEnv.p_in_internal = sim.XiEnv.p (fixed = true, start = sim.XiEnv.p) (40) [PRMT] (1) protected Real extConLin.hConExt = extConLin.hConExtLin (fixed = true, start = extConLin.hConExtLin) (41) [PRMT] (1) Real sim.Tground = sim.TdesGround (fixed = true, start = sim.TdesGround, min = 0.0, nominal = 300.0) (42) [PRMT] (1) protected final parameter Real monLayAirHorLin.coeffRa = (monLayAirHorLin.beta * 9.80665 * monLayAirHorLin.d ^ 3.0) / (monLayAirHorLin.alpha * monLayAirHorLin.nu) (fixed = true) (43) [PRMT] (1) protected final parameter Real intConFlo.coeffCeiling = (0.704 * intConFlo.A) / intConFlo.DhFloor ^ 0.601 (fixed = true) (44) [PRMT] (1) protected final parameter Real intConFlo.coeffFloor = (2.175 * intConFlo.A) / intConFlo.DhFloor ^ 0.076 (fixed = true) (45) [PRMT] (1) protected final parameter Real intConFlo.coeffWall = (1.823 * intConFlo.A) / intConFlo.DhWall ^ 0.121 (fixed = true) (46) [PRMT] (1) parameter Real intConFlo.DhFloor = sqrt(intConFlo.A) (fixed = true) (47) [PRMT] (1) parameter Real intConFlo.DhWall = (intConFlo.A * 4.0) / (2.0 * intConFlo.hZone + (intConFlo.A * 2.0) / intConFlo.hZone) (fixed = true) (48) [PRMT] (1) protected final parameter Real intConVerLin.coeffCeiling = (0.704 * intConVerLin.A) / intConVerLin.DhFloor ^ 0.601 (fixed = true) (49) [PRMT] (1) protected final parameter Real intConVerLin.coeffFloor = (2.175 * intConVerLin.A) / intConVerLin.DhFloor ^ 0.076 (fixed = true) (50) [PRMT] (1) protected final parameter Real intConVerLin.coeffWall = (1.823 * intConVerLin.A) / intConVerLin.DhWall ^ 0.121 (fixed = true) (51) [PRMT] (1) parameter Real intConVerLin.DhFloor = sqrt(intConVerLin.A) (fixed = true) (52) [PRMT] (1) parameter Real intConVerLin.DhWall = (intConVerLin.A * 4.0) / (2.0 * intConVerLin.hZone + (intConVerLin.A * 2.0) / intConVerLin.hZone) (fixed = true) (53) [PRMT] (1) protected final parameter Real monLayAirHor.coeffRa = (monLayAirHor.beta * 9.80665 * monLayAirHor.d ^ 3.0) / (monLayAirHor.alpha * monLayAirHor.nu) (fixed = true) (54) [PRMT] (1) protected final parameter Real sim.weaDat.altitude.Altitude = sim.weaDat.alt (fixed = true) (55) [PRMT] (1) protected final parameter Real sim.weaDat.longitude.longitude = sim.weaDat.lon (fixed = true) (56) [PRMT] (1) protected final parameter Real sim.weaDat.latitude.latitude = sim.weaDat.lat (fixed = true) (57) [PRMT] (1) protected parameter Boolean sim.weaDat.conTim.canRepeatWeatherFile = abs(mod(sim.weaDat.conTim.lenWea, 3.1536e7)) < 0.01 (fixed = true) (58) [PRMT] (1) protected parameter Real sim.weaDat.conTim.lenWea = sim.weaDat.conTim.weaDatEndTim - sim.weaDat.conTim.weaDatStaTim (fixed = true) (59) [PRMT] (1) protected final parameter Real sim.weaDat.conTim.weaDatEndTim = sim.weaDat.timeSpan[2] (fixed = true) (60) [PRMT] (1) protected final parameter Real sim.weaDat.conTim.weaDatStaTim = sim.weaDat.timeSpan[1] (fixed = true) (61) [PRMT] (1) protected parameter Boolean sim.weaDat.conTimMin.canRepeatWeatherFile = abs(mod(sim.weaDat.conTimMin.lenWea, 3.1536e7)) < 0.01 (fixed = true) (62) [PRMT] (1) protected parameter Real sim.weaDat.conTimMin.lenWea = sim.weaDat.conTimMin.weaDatEndTim - sim.weaDat.conTimMin.weaDatStaTim (fixed = true) (63) [PRMT] (1) protected final parameter Real sim.weaDat.conTimMin.weaDatEndTim = sim.weaDat.timeSpan[2] (fixed = true) (64) [PRMT] (1) protected final parameter Real sim.weaDat.conTimMin.weaDatStaTim = sim.weaDat.timeSpan[1] (fixed = true) (65) [PRMT] (1) protected final parameter Real sim.weaDat.datRea30Min.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea30Min.tableID) (fixed = true) (66) [PRMT] (1) protected final parameter Real sim.weaDat.datRea30Min.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea30Min.tableID) (fixed = true) (67) [PRMT] (1) protected final parameter String sim.weaDat.datRea30Min.fileName = sim.weaDat.filNam (fixed = true) (68) [PRMT] (1) protected final parameter Real sim.weaDat.locTim.diff = (sim.weaDat.locTim.lon * 43200.0) / 3.141592653589793 - sim.weaDat.locTim.timZon (fixed = true) (69) [PRMT] (1) protected final parameter Real sim.weaDat.locTim.lon = sim.weaDat.lon (fixed = true) (70) [PRMT] (1) protected final parameter Real sim.weaDat.locTim.timZon = sim.weaDat.timZon (fixed = true) (71) [PRMT] (1) protected final parameter Real sim.weaDat.horInfRadSel.p = sim.weaDat.HInfHor (fixed = true) (72) [PRMT] (1) protected final parameter Real sim.weaDat.winDirSel.p = sim.weaDat.winDir (fixed = true) (73) [PRMT] (1) protected final parameter Real sim.weaDat.winSpeSel.p = sim.weaDat.winSpe (fixed = true) (74) [PRMT] (1) protected final parameter Real sim.weaDat.totSkyCovSel.p = sim.weaDat.totSkyCov (fixed = true) (75) [PRMT] (1) protected final parameter Real sim.weaDat.ceiHeiSel.p = sim.weaDat.ceiHei (fixed = true) (76) [PRMT] (1) protected final parameter Real sim.weaDat.opaSkyCovSel.p = sim.weaDat.opaSkyCov (fixed = true) (77) [PRMT] (1) protected final parameter Real sim.weaDat.relHumSel.p = sim.weaDat.relHum (fixed = true) (78) [PRMT] (1) protected final parameter Real sim.weaDat.TBlaSkySel.p = sim.weaDat.TBlaSky (fixed = true) (79) [PRMT] (1) protected final parameter Real sim.weaDat.TDryBulSel.p = sim.weaDat.TDryBul (fixed = true) (80) [PRMT] (1) protected final parameter Real sim.weaDat.TDewPoiSel.p = sim.weaDat.TDewPoi (fixed = true) (81) [PRMT] (1) protected final parameter Real sim.weaDat.pAtmSel.p = sim.weaDat.pAtm (fixed = true) (82) [PRMT] (1) protected final parameter Real sim.weaDat.datRea.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea.tableID) (fixed = true) (83) [PRMT] (1) protected final parameter Real sim.weaDat.datRea.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea.tableID) (fixed = true) (84) [PRMT] (1) protected final parameter String sim.weaDat.datRea.fileName = sim.weaDat.filNam (fixed = true) (85) [PRMT] (2) protected final parameter Real[2] sim.weaDat.timeSpan = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(sim.weaDat.filNam, "tab1") (fixed = {true for $i1 in 1:2}) (86) [PRMT] (1) protected final parameter Real sim.weaDat.alt = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getAltitudeLocationTMY3(sim.weaDat.filNam) (fixed = true) (87) [PRMT] (1) protected final parameter Real sim.weaDat.timZon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3(sim.weaDat.filNam) (fixed = true) (88) [PRMT] (1) protected final parameter Real sim.weaDat.lat = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3(sim.weaDat.filNam) (fixed = true) (89) [PRMT] (1) protected final parameter Real sim.weaDat.lon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3(sim.weaDat.filNam) (fixed = true) (90) [PRMT] (1) protected parameter String sim.weaDat.filNam = sim.filNam (fixed = true) (91) [PRMT] (1) final parameter Real sim.q50_av = if sim.A_tot < 1e-60 then 0.0 else sim.V50 / sim.A_tot (fixed = true) (92) [PRMT] (1) final parameter Real sim.q50_def = if sim.A_def < 1e-60 then sim.q50_av else sim.V50_def / sim.A_def (fixed = true) (93) [PRMT] (1) final parameter Real sim.V50 = sim.V_tot * sim.n50 (fixed = true) (94) [PRMT] (1) final parameter Real sim.V50_def = sim.V50 - sim.V50_custom (fixed = true) (95) [PRMT] (6) parameter Real[6] sim.radSol.inc = {sim.incAndAziInBus[$radSol1, 1] for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (96) [PRMT] (6) parameter Real[6] sim.radSol.azi = {sim.incAndAziInBus[$radSol1, 2] for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (97) [PRMT] (6) parameter Real[6] sim.radSol.lat = {sim.lat for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (98) [PRMT] (6) parameter Real[6] sim.radSol.incAng.azi = {sim.radSol[$radSol1].azi for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (99) [PRMT] (6) parameter Real[6] sim.radSol.incAng.til = {sim.radSol[$radSol1].inc for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (100) [PRMT] (6) parameter Real[6] sim.radSol.HDifTil.rho = {sim.radSol[$radSol1].rho for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (101) [PRMT] (6) parameter Real[6] sim.radSol.HDifTil.til = {sim.radSol[$radSol1].inc for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (102) [PRMT] (6) protected final parameter Real[6] sim.radSol.extConvCoeff.inc = {sim.radSol[$radSol1].inc for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (103) [PRMT] (6) protected final parameter Real[6] sim.radSol.extConvCoeff.azi = {sim.radSol[$radSol1].azi for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (104) [PRMT] (6) protected final parameter Boolean[6] sim.radSol.extConvCoeff.isCeiling = {true, false, false, false, false, false} (fixed = {true for $i1 in 1:6}) (105) [PRMT] (6) protected final parameter Boolean[6] sim.radSol.extConvCoeff.isFloor = {false, false, false, false, false, true} (fixed = {true for $i1 in 1:6}) (106) [PRMT] (6) parameter Real[6] sim.radSol.surfAzi.k = {sim.radSol[$radSol1].azi for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}, start = {1.0 for $i1 in 1:6}) (107) [PRMT] (6) protected final parameter Real[6] sim.radSol.Fssky = {(cos(sim.radSol[$radSol1].inc) + 1.0) / 2.0 for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (108) [PRMT] (6) protected final parameter Real[6] sim.radSol.beta = {cos(sim.radSol[$radSol1].inc / 2.0) for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (109) [PRMT] (6) protected final parameter Real[6] sim.radSol.coeffSky = {sim.radSol[$radSol1].Fssky * sim.radSol[$radSol1].beta for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (110) [PRMT] (6) protected final parameter Real[6] sim.radSol.coeffEnv = {1.0 - sim.radSol[$radSol1].beta * sim.radSol[$radSol1].Fssky for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (111) [PRMT] (1) protected parameter Boolean sim.XiEnv.found = true (fixed = true) (112) [PRMT] (1) protected parameter Integer sim.XiEnv.i_nw = 2 (fixed = true) (113) [PRMT] (1) final parameter Boolean sim.linearise = false (fixed = true) (114) [PRMT] (1) parameter Real sim.Cs = sim.A0 * sim.A0 * (sim.H / sim.Hwin) ^ (2.0 * sim.a) (fixed = true) (115) [PRMT] (5) final parameter Real[5] sim.aziOpts = {sim.incS, sim.incW, sim.incN, sim.incE, sim.incS} (fixed = {true for $i1 in 1:5}) (116) [PRMT] (12) parameter Real[6, 2] sim.incAndAziInBus = {{0.0, 0.0}, {1.5707963267948966, sim.incS}, {1.5707963267948966, sim.incW}, {1.5707963267948966, sim.incN}, {1.5707963267948966, sim.incE}, {3.141592653589793, 0.0}} (fixed = {true for $i1 in 1:6, $i2 in 1:2}) (117) [PRMT] (1) parameter Real sim.incE = sim.incS + 4.71238898038469 (fixed = true) (118) [PRMT] (1) parameter Real sim.incN = sim.incS + 3.141592653589793 (fixed = true) (119) [PRMT] (1) parameter Real sim.incW = sim.incS + 1.5707963267948966 (fixed = true) (120) [PRMT] (1) parameter Real sim.timZon = sim.weaDat.timZon (fixed = true) (121) [PRMT] (1) parameter Real sim.lon = sim.weaDat.lon (fixed = true) (122) [PRMT] (1) parameter Real sim.lat = sim.weaDat.lat (fixed = true) (123) [PRMT] (1) protected final parameter Real intConVer.coeffCeiling = (0.704 * intConVer.A) / intConVer.DhFloor ^ 0.601 (fixed = true) (124) [PRMT] (1) protected final parameter Real intConVer.coeffFloor = (2.175 * intConVer.A) / intConVer.DhFloor ^ 0.076 (fixed = true) (125) [PRMT] (1) protected final parameter Real intConVer.coeffWall = (1.823 * intConVer.A) / intConVer.DhWall ^ 0.121 (fixed = true) (126) [PRMT] (1) parameter Real intConVer.DhFloor = sqrt(intConVer.A) (fixed = true) (127) [PRMT] (1) parameter Real intConVer.DhWall = (intConVer.A * 4.0) / (2.0 * intConVer.hZone + (intConVer.A * 2.0) / intConVer.hZone) (fixed = true) (128) [PRMT] (1) protected final parameter Real monLayAirWal.coeffRa = (monLayAirWal.beta * 9.80665 * monLayAirWal.d ^ 3.0) / (monLayAirWal.alpha * monLayAirWal.nu) (fixed = true) (129) [EXTO] (1) protected parameter Modelica.Blocks.Types.ExternalCombiTable1D sim.weaDat.datRea30Min.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea30Min.tableName, if sim.weaDat.datRea30Min.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea30Min.fileName) then sim.weaDat.datRea30Min.fileName else "NoName", {}, sim.weaDat.datRea30Min.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea30Min.verboseRead) (fixed = true) (130) [EXTO] (1) protected parameter Modelica.Blocks.Types.ExternalCombiTable1D sim.weaDat.datRea.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea.tableName, if sim.weaDat.datRea.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea.fileName) then sim.weaDat.datRea.fileName else "NoName", {}, sim.weaDat.datRea.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea.verboseRead) (fixed = true) System Equations (138/234) **************************** (1) [SCAL] (1) sim.A_def = 0.001 ($RES_SIM_0) (2) [SCAL] (1) sim.V50_custom = 0.0 ($RES_SIM_1) (3) [SCAL] (1) sim.A_tot = 1e-60 ($RES_SIM_2) (4) [SCAL] (1) sim.V_tot = 0.0 ($RES_SIM_3) (5) [ALGO] (1) ($RES_SIM_113) (5) [----] sim.weaDat.conTim.tNext := if sim.weaDat.conTim.canRepeatWeatherFile then integer(time / sim.weaDat.conTim.lenWea) * sim.weaDat.conTim.lenWea + sim.weaDat.conTim.lenWea else time; (6) [ALGO] (1) ($RES_SIM_117) (6) [----] sim.weaDat.conTimMin.tNext := if sim.weaDat.conTimMin.canRepeatWeatherFile then integer(sim.weaDat.add30Min.y / sim.weaDat.conTimMin.lenWea) * sim.weaDat.conTimMin.lenWea + sim.weaDat.conTimMin.lenWea else time; (7) [SCAL] (1) $PRE.sim.weaDat.conTimMin.tNext = $START.sim.weaDat.conTimMin.tNext ($RES_SRT_902) (8) [SCAL] (1) $PRE.sim.weaDat.conTim.tNext = $START.sim.weaDat.conTim.tNext ($RES_SRT_901) (9) [SCAL] (1) sim.weaDat.add30Min.u1 = sim.weaDat.con30Min.k ($RES_BND_1044) (10) [SCAL] (1) sim.weaDat.con30Min.y = sim.weaDat.con30Min.k ($RES_BND_1043) (11) [SCAL] (1) sim.weaDat.tWetBul_TDryBulXi.p = sim.weaDat.pAtmSel.p ($RES_BND_1042) (12) [SCAL] (1) sim.weaDatBus.pAtm = sim.weaDat.pAtmSel.p ($RES_BND_1041) (13) [SCAL] (1) sim.weaDat.weaBus.pAtm = sim.weaDat.pAtmSel.p ($RES_BND_1040) (14) [SCAL] (1) sim.weaDat.chePre.pAtm = sim.weaDat.pAtmSel.p ($RES_BND_1039) (15) [SCAL] (1) sim.weaDat.chePre.PIn = sim.weaDat.pAtmSel.p ($RES_BND_1038) (16) [SCAL] (1) sim.weaDat.pAtmSel.y = sim.weaDat.pAtmSel.p ($RES_BND_1037) (17) [SCAL] (1) sim.weaDat.zenAng.lat = sim.weaDat.latitude.latitude ($RES_BND_1036) (18) [SCAL] (1) sim.weaDatBus.lat = sim.weaDat.latitude.latitude ($RES_BND_1035) (19) [SCAL] (1) sim.weaDat.weaBus.lat = sim.weaDat.latitude.latitude ($RES_BND_1034) (20) [SCAL] (1) sim.weaDat.latitude.y = sim.weaDat.latitude.latitude ($RES_BND_1033) (21) [SCAL] (1) sim.weaBus.Tdes = sim.Tdes ($RES_BND_1032) (22) [SCAL] (1) sim.TdesExpr.y = sim.Tdes ($RES_BND_1031) (23) [SCAL] (1) sim.weaBus.TGroundDes = sim.TdesGround ($RES_BND_1030) (24) [SCAL] (1) sim.TGround.y = sim.TdesGround ($RES_BND_1029) (25) [SCAL] (1) sim.Qgai.T = sim.fixedTemperature.T ($RES_BND_1028) (26) [SCAL] (1) sim.fixedTemperature.port.T = sim.fixedTemperature.T ($RES_BND_1027) (27) [SCAL] (1) sim.relativeAirMass.alt = sim.weaDat.altitude.Altitude ($RES_BND_1026) (28) [SCAL] (1) sim.alt.y = sim.weaDat.altitude.Altitude ($RES_BND_1025) (29) [SCAL] (1) sim.weaDatBus.alt = sim.weaDat.altitude.Altitude ($RES_BND_1024) (30) [SCAL] (1) sim.alt.u = sim.weaDat.altitude.Altitude ($RES_BND_1023) (31) [SCAL] (1) sim.weaDat.weaBus.alt = sim.weaDat.altitude.Altitude ($RES_BND_1022) (32) [SCAL] (1) sim.weaDat.altitude.y = sim.weaDat.altitude.Altitude ($RES_BND_1021) (33) [SCAL] (1) monLayAirHor.port_b.T = fixTem.T ($RES_BND_1020) (34) [SCAL] (1) intConFlo.port_b.T = fixTem.T ($RES_BND_1019) (35) [SCAL] (1) intConVerLin.port_b.T = fixTem.T ($RES_BND_1018) (36) [SCAL] (1) monLayAirWal.port_b.T = fixTem.T ($RES_BND_1017) (37) [SCAL] (1) intConVer.port_b.T = fixTem.T ($RES_BND_1016) (38) [SCAL] (1) monLayAirHorLin.port_b.T = fixTem.T ($RES_BND_1015) (39) [SCAL] (1) fixTem.port.T = fixTem.T ($RES_BND_1014) (40) [SCAL] (1) sim.weaDatBus.lon = sim.weaDat.longitude.longitude ($RES_BND_1013) (41) [SCAL] (1) sim.weaDat.weaBus.lon = sim.weaDat.longitude.longitude ($RES_BND_1012) (42) [SCAL] (1) sim.weaDat.longitude.y = sim.weaDat.longitude.longitude ($RES_BND_1011) (43) [SCAL] (1) sim.weaDatBus.CEnv = 1.528635e-6 * sim.ppmCO2 ($RES_BND_1010) (44) [SCAL] (1) sim.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 ($RES_BND_1009) (45) [SCAL] (1) sim.weaDat.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 ($RES_BND_1008) (46) [SCAL] (1) sim.CEnv.y = 1.528635e-6 * sim.ppmCO2 ($RES_BND_1007) (47) [SCAL] (1) sim.XiEnv.p_in_internal = sim.XiEnv.p ($RES_BND_1006) (48) [SCAL] (1) extConLin.hConExt = extConLin.hConExtLin ($RES_BND_1005) (49) [SCAL] (1) sim.Tground = sim.TdesGround ($RES_BND_1004) (50) [SCAL] (1) monLayAirHorLin.coeffRa = (9.80665 * monLayAirHorLin.beta * monLayAirHorLin.d ^ 3.0) / (monLayAirHorLin.alpha * monLayAirHorLin.nu) ($RES_BND_1003) (51) [SCAL] (1) intConFlo.coeffCeiling = (0.704 * intConFlo.A) / intConFlo.DhFloor ^ 0.601 ($RES_BND_1002) (52) [SCAL] (1) intConFlo.coeffFloor = (2.175 * intConFlo.A) / intConFlo.DhFloor ^ 0.076 ($RES_BND_1001) (53) [SCAL] (1) intConFlo.coeffWall = (1.823 * intConFlo.A) / intConFlo.DhWall ^ 0.121 ($RES_BND_1000) (54) [SCAL] (1) intConFlo.DhFloor = sqrt(intConFlo.A) ($RES_BND_999) (55) [SCAL] (1) intConFlo.DhWall = (4.0 * intConFlo.A) / (2.0 * intConFlo.hZone + (2.0 * intConFlo.A) / intConFlo.hZone) ($RES_BND_998) (56) [SCAL] (1) intConVerLin.coeffCeiling = (0.704 * intConVerLin.A) / intConVerLin.DhFloor ^ 0.601 ($RES_BND_997) (57) [SCAL] (1) intConVerLin.coeffFloor = (2.175 * intConVerLin.A) / intConVerLin.DhFloor ^ 0.076 ($RES_BND_996) (58) [SCAL] (1) intConVerLin.coeffWall = (1.823 * intConVerLin.A) / intConVerLin.DhWall ^ 0.121 ($RES_BND_995) (59) [SCAL] (1) intConVerLin.DhFloor = sqrt(intConVerLin.A) ($RES_BND_994) (60) [SCAL] (1) intConVerLin.DhWall = (4.0 * intConVerLin.A) / (2.0 * intConVerLin.hZone + (2.0 * intConVerLin.A) / intConVerLin.hZone) ($RES_BND_993) (61) [SCAL] (1) monLayAirHor.coeffRa = (9.80665 * monLayAirHor.beta * monLayAirHor.d ^ 3.0) / (monLayAirHor.alpha * monLayAirHor.nu) ($RES_BND_992) (62) [SCAL] (1) sim.weaDat.altitude.Altitude = sim.weaDat.alt ($RES_BND_991) (63) [SCAL] (1) sim.weaDat.longitude.longitude = sim.weaDat.lon ($RES_BND_990) (64) [SCAL] (1) sim.weaDat.latitude.latitude = sim.weaDat.lat ($RES_BND_989) (65) [SCAL] (1) sim.weaDat.conTim.canRepeatWeatherFile = abs(mod(sim.weaDat.conTim.lenWea, 3.1536e7)) < 0.01 ($RES_BND_988) (66) [SCAL] (1) sim.weaDat.conTim.lenWea = sim.weaDat.conTim.weaDatEndTim - sim.weaDat.conTim.weaDatStaTim ($RES_BND_987) (67) [SCAL] (1) sim.weaDat.conTim.weaDatEndTim = sim.weaDat.timeSpan[2] ($RES_BND_986) (68) [SCAL] (1) sim.weaDat.conTim.weaDatStaTim = sim.weaDat.timeSpan[1] ($RES_BND_985) (69) [SCAL] (1) sim.weaDat.conTimMin.canRepeatWeatherFile = abs(mod(sim.weaDat.conTimMin.lenWea, 3.1536e7)) < 0.01 ($RES_BND_984) (70) [SCAL] (1) sim.weaDat.conTimMin.lenWea = sim.weaDat.conTimMin.weaDatEndTim - sim.weaDat.conTimMin.weaDatStaTim ($RES_BND_983) (71) [SCAL] (1) sim.weaDat.conTimMin.weaDatEndTim = sim.weaDat.timeSpan[2] ($RES_BND_982) (72) [SCAL] (1) sim.weaDat.conTimMin.weaDatStaTim = sim.weaDat.timeSpan[1] ($RES_BND_981) (73) [SCAL] (1) sim.weaDat.datRea30Min.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea30Min.tableID) ($RES_BND_980) (74) [SCAL] (1) sim.weaDat.datRea30Min.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea30Min.tableID) ($RES_BND_979) (75) [SCAL] (1) sim.weaDat.datRea30Min.fileName = sim.weaDat.filNam ($RES_BND_978) (76) [SCAL] (1) sim.weaDat.locTim.diff = 13750.987083139758 * sim.weaDat.locTim.lon - sim.weaDat.locTim.timZon ($RES_BND_977) (77) [SCAL] (1) sim.weaDat.locTim.lon = sim.weaDat.lon ($RES_BND_976) (78) [SCAL] (1) sim.weaDat.locTim.timZon = sim.weaDat.timZon ($RES_BND_975) (79) [SCAL] (1) sim.weaDat.horInfRadSel.p = sim.weaDat.HInfHor ($RES_BND_974) (80) [SCAL] (1) sim.weaDat.winDirSel.p = sim.weaDat.winDir ($RES_BND_973) (81) [SCAL] (1) sim.weaDat.winSpeSel.p = sim.weaDat.winSpe ($RES_BND_972) (82) [SCAL] (1) sim.weaDat.totSkyCovSel.p = sim.weaDat.totSkyCov ($RES_BND_971) (83) [SCAL] (1) sim.weaDat.ceiHeiSel.p = sim.weaDat.ceiHei ($RES_BND_970) (84) [SCAL] (1) sim.weaDat.opaSkyCovSel.p = sim.weaDat.opaSkyCov ($RES_BND_969) (85) [SCAL] (1) sim.weaDat.relHumSel.p = sim.weaDat.relHum ($RES_BND_968) (86) [SCAL] (1) sim.weaDat.TBlaSkySel.p = sim.weaDat.TBlaSky ($RES_BND_967) (87) [SCAL] (1) sim.weaDat.TDryBulSel.p = sim.weaDat.TDryBul ($RES_BND_966) (88) [SCAL] (1) sim.weaDat.TDewPoiSel.p = sim.weaDat.TDewPoi ($RES_BND_965) (89) [SCAL] (1) sim.weaDat.pAtmSel.p = sim.weaDat.pAtm ($RES_BND_964) (90) [SCAL] (1) sim.weaDat.datRea.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea.tableID) ($RES_BND_963) (91) [SCAL] (1) sim.weaDat.datRea.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea.tableID) ($RES_BND_962) (92) [SCAL] (1) sim.weaDat.datRea.fileName = sim.weaDat.filNam ($RES_BND_961) (93) [ARRY] (2) sim.weaDat.timeSpan = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(sim.weaDat.filNam, "tab1") ($RES_BND_960) (94) [SCAL] (1) sim.weaDat.alt = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getAltitudeLocationTMY3(sim.weaDat.filNam) ($RES_BND_959) (95) [SCAL] (1) sim.weaDat.timZon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3(sim.weaDat.filNam) ($RES_BND_958) (96) [SCAL] (1) sim.weaDat.lat = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3(sim.weaDat.filNam) ($RES_BND_957) (97) [SCAL] (1) sim.weaDat.lon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3(sim.weaDat.filNam) ($RES_BND_956) (98) [SCAL] (1) sim.weaDat.filNam = sim.filNam ($RES_BND_955) (99) [SCAL] (1) sim.q50_av = if sim.A_tot < 1e-60 then 0.0 else sim.V50 / sim.A_tot ($RES_BND_954) (100) [SCAL] (1) sim.q50_def = if sim.A_def < 1e-60 then sim.q50_av else sim.V50_def / sim.A_def ($RES_BND_953) (101) [SCAL] (1) sim.V50 = sim.V_tot * sim.n50 ($RES_BND_952) (102) [SCAL] (1) sim.V50_def = sim.V50 - sim.V50_custom ($RES_BND_951) (103) [FOR-] (6) ($RES_BND_949) (103) [----] for $i1 in 1:6 loop (103) [----] [SCAL] (1) sim.radSol[$i1].inc = sim.incAndAziInBus[$i1, 1] ($RES_BND_950) (103) [----] end for; (104) [FOR-] (6) ($RES_BND_947) (104) [----] for $i1 in 1:6 loop (104) [----] [SCAL] (1) sim.radSol[$i1].azi = sim.incAndAziInBus[$i1, 2] ($RES_BND_948) (104) [----] end for; (105) [FOR-] (6) ($RES_BND_945) (105) [----] for $i1 in 1:6 loop (105) [----] [SCAL] (1) sim.radSol[$i1].lat = sim.lat ($RES_BND_946) (105) [----] end for; (106) [FOR-] (6) ($RES_BND_943) (106) [----] for $i1 in 1:6 loop (106) [----] [SCAL] (1) sim.radSol[$i1].incAng.azi = sim.radSol[$i1].azi ($RES_BND_944) (106) [----] end for; (107) [FOR-] (6) ($RES_BND_941) (107) [----] for $i1 in 1:6 loop (107) [----] [SCAL] (1) sim.radSol[$i1].incAng.til = sim.radSol[$i1].inc ($RES_BND_942) (107) [----] end for; (108) [FOR-] (6) ($RES_BND_939) (108) [----] for $i1 in 1:6 loop (108) [----] [SCAL] (1) sim.radSol[$i1].HDifTil.rho = sim.radSol[$i1].rho ($RES_BND_940) (108) [----] end for; (109) [FOR-] (6) ($RES_BND_937) (109) [----] for $i1 in 1:6 loop (109) [----] [SCAL] (1) sim.radSol[$i1].HDifTil.til = sim.radSol[$i1].inc ($RES_BND_938) (109) [----] end for; (110) [FOR-] (6) ($RES_BND_935) (110) [----] for $i1 in 1:6 loop (110) [----] [SCAL] (1) sim.radSol[$i1].extConvCoeff.inc = sim.radSol[$i1].inc ($RES_BND_936) (110) [----] end for; (111) [FOR-] (6) ($RES_BND_933) (111) [----] for $i1 in 1:6 loop (111) [----] [SCAL] (1) sim.radSol[$i1].extConvCoeff.azi = sim.radSol[$i1].azi ($RES_BND_934) (111) [----] end for; (112) [ARRY] (6) sim.radSol.extConvCoeff.isCeiling = {true, false, false, false, false, false} ($RES_BND_932) (113) [ARRY] (6) sim.radSol.extConvCoeff.isFloor = {false, false, false, false, false, true} ($RES_BND_931) (114) [FOR-] (6) ($RES_BND_929) (114) [----] for $i1 in 1:6 loop (114) [----] [SCAL] (1) sim.radSol[$i1].surfAzi.k = sim.radSol[$i1].azi ($RES_BND_930) (114) [----] end for; (115) [FOR-] (6) ($RES_BND_927) (115) [----] for $i1 in 1:6 loop (115) [----] [SCAL] (1) sim.radSol[$i1].Fssky = 0.5 * (1.0 + cos(sim.radSol[$i1].inc)) ($RES_BND_928) (115) [----] end for; (116) [FOR-] (6) ($RES_BND_925) (116) [----] for $i1 in 1:6 loop (116) [----] [SCAL] (1) sim.radSol[$i1].beta = cos(0.5 * sim.radSol[$i1].inc) ($RES_BND_926) (116) [----] end for; (117) [FOR-] (6) ($RES_BND_923) (117) [----] for $i1 in 1:6 loop (117) [----] [SCAL] (1) sim.radSol[$i1].coeffSky = sim.radSol[$i1].Fssky * sim.radSol[$i1].beta ($RES_BND_924) (117) [----] end for; (118) [FOR-] (6) ($RES_BND_921) (118) [----] for $i1 in 1:6 loop (118) [----] [SCAL] (1) sim.radSol[$i1].coeffEnv = 1.0 - sim.radSol[$i1].beta * sim.radSol[$i1].Fssky ($RES_BND_922) (118) [----] end for; (119) [SCAL] (1) sim.XiEnv.found = true ($RES_BND_920) (120) [SCAL] (1) sim.XiEnv.i_nw = 2 ($RES_BND_919) (121) [SCAL] (1) sim.linearise = false ($RES_BND_918) (122) [SCAL] (1) sim.Cs = sim.A0 * sim.A0 * (sim.H / sim.Hwin) ^ (2.0 * sim.a) ($RES_BND_917) (123) [ARRY] (5) sim.aziOpts = {sim.incS, sim.incW, sim.incN, sim.incE, sim.incS} ($RES_BND_916) (124) [ARRY] (12) sim.incAndAziInBus = {{0.0, 0.0}, {1.5707963267948966, sim.incS}, {1.5707963267948966, sim.incW}, {1.5707963267948966, sim.incN}, {1.5707963267948966, sim.incE}, {3.141592653589793, 0.0}} ($RES_BND_915) (125) [SCAL] (1) sim.incE = 4.71238898038469 + sim.incS ($RES_BND_914) (126) [SCAL] (1) sim.incN = 3.141592653589793 + sim.incS ($RES_BND_913) (127) [SCAL] (1) sim.incW = 1.5707963267948966 + sim.incS ($RES_BND_912) (128) [SCAL] (1) sim.timZon = sim.weaDat.timZon ($RES_BND_911) (129) [SCAL] (1) sim.lon = sim.weaDat.lon ($RES_BND_910) (130) [SCAL] (1) sim.lat = sim.weaDat.lat ($RES_BND_909) (131) [SCAL] (1) intConVer.coeffCeiling = (0.704 * intConVer.A) / intConVer.DhFloor ^ 0.601 ($RES_BND_908) (132) [SCAL] (1) intConVer.coeffFloor = (2.175 * intConVer.A) / intConVer.DhFloor ^ 0.076 ($RES_BND_907) (133) [SCAL] (1) intConVer.coeffWall = (1.823 * intConVer.A) / intConVer.DhWall ^ 0.121 ($RES_BND_906) (134) [SCAL] (1) intConVer.DhFloor = sqrt(intConVer.A) ($RES_BND_905) (135) [SCAL] (1) intConVer.DhWall = (4.0 * intConVer.A) / (2.0 * intConVer.hZone + (2.0 * intConVer.A) / intConVer.hZone) ($RES_BND_904) (136) [SCAL] (1) monLayAirWal.coeffRa = (9.80665 * monLayAirWal.beta * monLayAirWal.d ^ 3.0) / (monLayAirWal.alpha * monLayAirWal.nu) ($RES_BND_903) (137) [RECD] (1) sim.weaDat.datRea30Min.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea30Min.tableName, if sim.weaDat.datRea30Min.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea30Min.fileName) then sim.weaDat.datRea30Min.fileName else "NoName", {}, sim.weaDat.datRea30Min.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea30Min.verboseRead) ($RES_BND_1046) (138) [RECD] (1) sim.weaDat.datRea.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea.tableName, if sim.weaDat.datRea.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea.fileName) then sim.weaDat.datRea.fileName else "NoName", {}, sim.weaDat.datRea.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea.verboseRead) ($RES_BND_1045) Error: Internal error NBInitialization.main failed to apply modules!