Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 105.3 kB / 16.37 MB, free: 6.352 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.001107/0.001107, allocations: 190.1 kB / 17.3 MB, free: 5.906 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.173/1.173, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.023e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004529/0.004562, allocations: 4.351 MB / 0.6771 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00376/0.008334, allocations: 2.98 MB / 0.68 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.008586, allocations: 23.88 kB / 0.68 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007239/0.009319, allocations: 365.7 kB / 0.6804 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.01026, allocations: 0.6454 MB / 0.681 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.01134, allocations: 0.6353 MB / 0.6816 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.01274, allocations: 1.799 MB / 0.6834 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.01295, allocations: 149.5 kB / 0.6835 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005511/0.0135, allocations: 0.5839 MB / 0.6841 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.01402, allocations: 0.5446 MB / 0.6846 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.01411, allocations: 56 kB / 0.6847 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007743/0.01489, allocations: 0.6551 MB / 0.6853 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001088/0.01599, allocations: 1.702 MB / 0.687 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005518/0.01655, allocations: 1.049 MB / 0.688 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.01666, allocations: 119.7 kB / 0.6881 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.114e-05/0.01671, allocations: 19.94 kB / 0.6881 GB, free: 6.188 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 (84) * Number of variables: 104 (76) Notification: Performance of Bindings: time 0.003499/0.02022, allocations: 4.908 MB / 0.6929 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002902/0.02051, allocations: 310.1 kB / 0.6932 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0009745/0.0215, allocations: 1.155 MB / 0.6943 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simplify1: time 7.499e-05/0.02158, allocations: 75.92 kB / 0.6944 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of Alias: time 0.001699/0.02329, allocations: 1.753 MB / 0.6961 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simplify2: time 4.19e-05/0.02334, allocations: 47.92 kB / 0.6962 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of Events: time 0.0001041/0.02345, allocations: 93.02 kB / 0.6963 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0003722/0.02383, allocations: 292 kB / 0.6965 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002554/0.02409, allocations: 279.2 kB / 0.6968 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001648/0.02575, allocations: 1.863 MB / 0.6986 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0006623/0.02642, allocations: 0.7991 MB / 0.6994 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of Inline: time 0.00204/0.02847, allocations: 2.2 MB / 0.7015 GB, free: 8 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001504/0.02863, allocations: 163.6 kB / 0.7017 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of Cleanup: time 4.242e-05/0.02868, allocations: 51.88 kB / 0.7018 GB, free: 7.77 MB / 0.5762 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency conPCM2.material.c could not be devided by the body size 4 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) conPCM2.C = conPCM2.m .* conPCM2.material.c ($RES_BND_196) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (122/174) **************************** (1) [DER-] (4) Real[4] $DER.conPCM.u (2) [DER-] (2) Real[2] $DER.con1.T (3) [DER-] (2) Real[2] $DER.con2.T (4) [DER-] (4) Real[4] $DER.conPCM2.u (5) [PRMT] (1) final parameter Real matPCM2.R = matPCM2.x / matPCM2.k (fixed = true, start = matPCM2.x / matPCM2.k) (6) [PRMT] (1) parameter Real matPCM2.piMat = matPCM2.x * sqrt(1.8816e6 / matPCM2.k) (fixed = true, start = matPCM2.x * sqrt(1.8816e6 / matPCM2.k)) (7) [PRMT] (1) parameter Real matPCM2.nStaReal = (matPCM2.piMat * matPCM2.nStaRef) / matPCM2.piRef (fixed = true, start = (matPCM2.piMat * matPCM2.nStaRef) / matPCM2.piRef, min = 0.0) (8) [PRMT] (4) protected final parameter Real[4] conPCM2.CInv = {1.0 / conPCM2.C[i] for i in 1:4} (fixed = {true for $i1 in 1:4}) (9) [PRMT] (4) protected final parameter Real[4] conPCM2.C = conPCM2.m .* conPCM2.material.c (fixed = {true for $i1 in 1:4}) (10) [PRMT] (4) protected final parameter Real[4] conPCM2.mInv = {1.0 / conPCM2.m[i] for i in 1:4} (fixed = {true for $i1 in 1:4}) (11) [PRMT] (4) protected parameter Real[4] conPCM2.m = conPCM2.material.d * conPCM2.A * conPCM2.material.x * {1.0 / (if i == 1 or i == 2 then 6.0 else 3.0) for i in 1:4} (fixed = {true for $i1 in 1:4}, min = {0.0 for $i1 in 1:4}) (12) [PRMT] (5) protected parameter Real[5] conPCM2.RNod = {if i == 1 then 0.0 else if i == 2 or i == 5 then conPCM2.R / 6.0 else conPCM2.R / 3.0 for i in 1:5} (fixed = {true for $i1 in 1:5}) (13) [PRMT] (1) final parameter Real conPCM2.R = if conPCM2.material.R < 1e-15 then conPCM2.material.x / (conPCM2.material.k * conPCM2.A) else conPCM2.material.R / conPCM2.A (fixed = true) (14) [PRMT] (1) final parameter Real conPCM2.UA = 1.0 / conPCM2.R (fixed = true) (15) [PRMT] (1) final parameter Real conPCM2.U = conPCM2.UA / conPCM2.A (fixed = true) (16) [PRMT] (1) protected final parameter Boolean conv3.isFloor = false (fixed = true) (17) [PRMT] (1) protected final parameter Boolean conv3.isCeiling = false (fixed = true) (18) [PRMT] (1) protected final parameter Real conv3.sinTil = sin(conv3.til) (fixed = true) (19) [PRMT] (1) protected final parameter Real conv3.cosTil = cos(conv3.til) (fixed = true) (20) [PRMT] (1) final parameter Real matPCM.R = matPCM.x / matPCM.k (fixed = true, start = matPCM.x / matPCM.k) (21) [PRMT] (1) parameter Real matPCM.piMat = matPCM.x * sqrt(1.8816e6 / matPCM.k) (fixed = true, start = matPCM.x * sqrt(1.8816e6 / matPCM.k)) (22) [PRMT] (1) parameter Real matPCM.nStaReal = (matPCM.piMat * matPCM.nStaRef) / matPCM.piRef (fixed = true, start = (matPCM.piMat * matPCM.nStaRef) / matPCM.piRef, min = 0.0) (23) [PRMT] (2) protected final parameter Real[2] con2.CInv = {1.0 / con2.C[i] for i in 1:2} (fixed = {true for $i1 in 1:2}) (24) [PRMT] (2) protected final parameter Real[2] con2.C = con2.m .* con2.material.c (fixed = {true for $i1 in 1:2}) (25) [PRMT] (2) protected final parameter Real[2] con2.mInv = {1.0 / con2.m[i] for i in 1:2} (fixed = {true for $i1 in 1:2}) (26) [PRMT] (2) protected parameter Real[2] con2.m = con2.material.d * con2.A * con2.material.x * {1.0 / (if i == 2 or i == 1 then 2.0 else 1.0) for i in 1:2} (fixed = {true for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}) (27) [PRMT] (3) protected parameter Real[3] con2.RNod = {if i == 3 then 0.0 else if i == 1 or i == 2 then con2.R / 2.0 else con2.R for i in 1:3} (fixed = {true for $i1 in 1:3}) (28) [PRMT] (1) final parameter Real con2.R = if con2.material.R < 1e-15 then con2.material.x / (con2.material.k * con2.A) else con2.material.R / con2.A (fixed = true) (29) [PRMT] (1) final parameter Real con2.UA = 1.0 / con2.R (fixed = true) (30) [PRMT] (1) final parameter Real con2.U = con2.UA / con2.A (fixed = true) (31) [PRMT] (2) protected final parameter Real[2] con1.CInv = {1.0 / con1.C[i] for i in 1:2} (fixed = {true for $i1 in 1:2}) (32) [PRMT] (2) protected final parameter Real[2] con1.C = con1.m .* con1.material.c (fixed = {true for $i1 in 1:2}) (33) [PRMT] (2) protected final parameter Real[2] con1.mInv = {1.0 / con1.m[i] for i in 1:2} (fixed = {true for $i1 in 1:2}) (34) [PRMT] (2) protected parameter Real[2] con1.m = con1.material.d * con1.A * con1.material.x * {1.0 / (if i == 1 or i == 2 then 2.0 else 1.0) for i in 1:2} (fixed = {true for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}) (35) [PRMT] (3) protected parameter Real[3] con1.RNod = {if i == 1 then 0.0 else if i == 2 or i == 3 then con1.R / 2.0 else con1.R for i in 1:3} (fixed = {true for $i1 in 1:3}) (36) [PRMT] (1) final parameter Real con1.R = if con1.material.R < 1e-15 then con1.material.x / (con1.material.k * con1.A) else con1.material.R / con1.A (fixed = true) (37) [PRMT] (1) final parameter Real con1.UA = 1.0 / con1.R (fixed = true) (38) [PRMT] (1) final parameter Real con1.U = con1.UA / con1.A (fixed = true) (39) [PRMT] (4) protected final parameter Real[4] conPCM.CInv = {1.0 / conPCM.C[i] for i in 1:4} (fixed = {true for $i1 in 1:4}) (40) [PRMT] (4) protected final parameter Real[4] conPCM.C = conPCM.m .* conPCM.material.c (fixed = {true for $i1 in 1:4}) (41) [PRMT] (4) protected final parameter Real[4] conPCM.mInv = {1.0 / conPCM.m[i] for i in 1:4} (fixed = {true for $i1 in 1:4}) (42) [PRMT] (4) protected parameter Real[4] conPCM.m = conPCM.material.d * conPCM.A * conPCM.material.x * {1.0 / (if ((i == 1 or i == 4) or i == 2) or i == 3 then 4.0 else 2.0) for i in 1:4} (fixed = {true for $i1 in 1:4}, min = {0.0 for $i1 in 1:4}) (43) [PRMT] (5) protected parameter Real[5] conPCM.RNod = {if i == 1 or i == 5 then 0.0 else if i == 2 or i == 4 then conPCM.R / 4.0 else conPCM.R / 2.0 for i in 1:5} (fixed = {true for $i1 in 1:5}) (44) [PRMT] (1) final parameter Real conPCM.R = if conPCM.material.R < 1e-15 then conPCM.material.x / (conPCM.material.k * conPCM.A) else conPCM.material.R / conPCM.A (fixed = true) (45) [PRMT] (1) final parameter Real conPCM.UA = 1.0 / conPCM.R (fixed = true) (46) [PRMT] (1) final parameter Real conPCM.U = conPCM.UA / conPCM.A (fixed = true) (47) [PRMT] (1) protected final parameter Boolean conv2.isFloor = false (fixed = true) (48) [PRMT] (1) protected final parameter Boolean conv2.isCeiling = false (fixed = true) (49) [PRMT] (1) protected final parameter Real conv2.sinTil = sin(conv2.til) (fixed = true) (50) [PRMT] (1) protected final parameter Real conv2.cosTil = cos(conv2.til) (fixed = true) (51) [PRMT] (1) protected final parameter Boolean conv1.isFloor = false (fixed = true) (52) [PRMT] (1) protected final parameter Boolean conv1.isCeiling = false (fixed = true) (53) [PRMT] (1) protected final parameter Real conv1.sinTil = sin(conv1.til) (fixed = true) (54) [PRMT] (1) protected final parameter Real conv1.cosTil = cos(conv1.til) (fixed = true) (55) [PRMT] (1) final parameter Real concrete100.R = concrete100.x / concrete100.k (fixed = true, start = concrete100.x / concrete100.k) (56) [PRMT] (1) parameter Integer concrete100.nSta = 2 (fixed = true, start = 2, min = 1) (57) [PRMT] (1) parameter Real concrete100.piMat = 115.93101396951552 (fixed = true, start = 115.93101396951552) (58) [PRMT] (1) parameter Real concrete100.nStaReal = 1.3992880382560715 (fixed = true, start = 1.3992880382560715, min = 0.0) (59) [PRMT] (1) parameter Real conPCM2.material.x = matPCM2.x (fixed = true) (60) [PRMT] (1) parameter Real conPCM2.material.k = matPCM2.k (fixed = true) (61) [PRMT] (1) parameter Real conPCM2.material.c = 840.0 (fixed = true) (62) [PRMT] (1) parameter Real conPCM2.material.d = 2240.0 (fixed = true, min = 0.0) (63) [PRMT] (1) parameter Real conPCM2.material.R = matPCM2.R (fixed = true) (64) [PRMT] (1) parameter Integer conPCM2.material.nStaRef = matPCM2.nStaRef (fixed = true, min = 0) (65) [PRMT] (1) parameter Integer conPCM2.material.nSta = 4 (fixed = true, min = 1) (66) [PRMT] (1) parameter Boolean conPCM2.material.steadyState = false (fixed = true) (67) [PRMT] (1) parameter Real conPCM2.material.piRef = matPCM2.piRef (fixed = true) (68) [PRMT] (1) parameter Real conPCM2.material.piMat = matPCM2.piMat (fixed = true) (69) [PRMT] (1) parameter Real conPCM2.material.nStaReal = matPCM2.nStaReal (fixed = true, min = 0.0) (70) [PRMT] (1) parameter Real conPCM2.material.TSol = matPCM2.TSol (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (71) [PRMT] (1) parameter Real conPCM2.material.TLiq = matPCM2.TLiq (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (72) [PRMT] (1) parameter Real conPCM2.material.LHea = matPCM2.LHea (fixed = true) (73) [CNST] (1) constant Boolean conPCM2.material.ensureMonotonicity = false (74) [CNST] (1) constant Boolean conPCM2.material.phasechange = true (75) [PRMT] (1) parameter Real con2.material.x = concrete100.x (fixed = true) (76) [PRMT] (1) parameter Real con2.material.k = concrete100.k (fixed = true) (77) [PRMT] (1) parameter Real con2.material.c = 840.0 (fixed = true) (78) [PRMT] (1) parameter Real con2.material.d = 2240.0 (fixed = true, min = 0.0) (79) [PRMT] (1) parameter Real con2.material.R = concrete100.R (fixed = true) (80) [PRMT] (1) parameter Integer con2.material.nStaRef = concrete100.nStaRef (fixed = true, min = 0) (81) [PRMT] (1) parameter Integer con2.material.nSta = 2 (fixed = true, min = 1) (82) [PRMT] (1) parameter Boolean con2.material.steadyState = false (fixed = true) (83) [PRMT] (1) parameter Real con2.material.piRef = concrete100.piRef (fixed = true) (84) [PRMT] (1) parameter Real con2.material.piMat = concrete100.piMat (fixed = true) (85) [PRMT] (1) parameter Real con2.material.nStaReal = concrete100.nStaReal (fixed = true, min = 0.0) (86) [PRMT] (1) parameter Real con2.material.TSol = concrete100.TSol (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (87) [PRMT] (1) parameter Real con2.material.TLiq = concrete100.TLiq (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (88) [PRMT] (1) parameter Real con2.material.LHea = concrete100.LHea (fixed = true) (89) [CNST] (1) constant Boolean con2.material.ensureMonotonicity = false (90) [CNST] (1) constant Boolean con2.material.phasechange = false (91) [PRMT] (1) parameter Real con1.material.x = concrete100.x (fixed = true) (92) [PRMT] (1) parameter Real con1.material.k = concrete100.k (fixed = true) (93) [PRMT] (1) parameter Real con1.material.c = 840.0 (fixed = true) (94) [PRMT] (1) parameter Real con1.material.d = 2240.0 (fixed = true, min = 0.0) (95) [PRMT] (1) parameter Real con1.material.R = concrete100.R (fixed = true) (96) [PRMT] (1) parameter Integer con1.material.nStaRef = concrete100.nStaRef (fixed = true, min = 0) (97) [PRMT] (1) parameter Integer con1.material.nSta = 2 (fixed = true, min = 1) (98) [PRMT] (1) parameter Boolean con1.material.steadyState = false (fixed = true) (99) [PRMT] (1) parameter Real con1.material.piRef = concrete100.piRef (fixed = true) (100) [PRMT] (1) parameter Real con1.material.piMat = concrete100.piMat (fixed = true) (101) [PRMT] (1) parameter Real con1.material.nStaReal = concrete100.nStaReal (fixed = true, min = 0.0) (102) [PRMT] (1) parameter Real con1.material.TSol = concrete100.TSol (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (103) [PRMT] (1) parameter Real con1.material.TLiq = concrete100.TLiq (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (104) [PRMT] (1) parameter Real con1.material.LHea = concrete100.LHea (fixed = true) (105) [CNST] (1) constant Boolean con1.material.ensureMonotonicity = false (106) [CNST] (1) constant Boolean con1.material.phasechange = false (107) [PRMT] (1) parameter Real conPCM.material.x = matPCM.x (fixed = true) (108) [PRMT] (1) parameter Real conPCM.material.k = matPCM.k (fixed = true) (109) [PRMT] (1) parameter Real conPCM.material.c = 840.0 (fixed = true) (110) [PRMT] (1) parameter Real conPCM.material.d = 2240.0 (fixed = true, min = 0.0) (111) [PRMT] (1) parameter Real conPCM.material.R = matPCM.R (fixed = true) (112) [PRMT] (1) parameter Integer conPCM.material.nStaRef = matPCM.nStaRef (fixed = true, min = 0) (113) [PRMT] (1) parameter Integer conPCM.material.nSta = 4 (fixed = true, min = 1) (114) [PRMT] (1) parameter Boolean conPCM.material.steadyState = false (fixed = true) (115) [PRMT] (1) parameter Real conPCM.material.piRef = matPCM.piRef (fixed = true) (116) [PRMT] (1) parameter Real conPCM.material.piMat = matPCM.piMat (fixed = true) (117) [PRMT] (1) parameter Real conPCM.material.nStaReal = matPCM.nStaReal (fixed = true, min = 0.0) (118) [PRMT] (1) parameter Real conPCM.material.TSol = matPCM.TSol (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (119) [PRMT] (1) parameter Real conPCM.material.TLiq = matPCM.TLiq (fixed = true, start = 288.15, min = 0.0, nominal = 300.0) (120) [PRMT] (1) parameter Real conPCM.material.LHea = matPCM.LHea (fixed = true) (121) [CNST] (1) constant Boolean conPCM.material.ensureMonotonicity = false (122) [CNST] (1) constant Boolean conPCM.material.phasechange = true System Equations (77/246) *************************** (1) [FOR-] (3) ($RES_SIM_1) (1) [----] for $i1 in 2:4 loop (1) [----] [SCAL] (1) conPCM2.T[$i1] = conPCM2.T_a_start + conPCM2.UA * (conPCM2.T_b_start - conPCM2.T_a_start) * $FUN_9[integer(1.0 + ((-2.0) + $i1))] ($RES_SIM_2) (1) [----] end for; (2) [SCAL] (1) conPCM2.T[1] = conPCM2.T_a_start ($RES_SIM_3) (3) [ARRY] (6) con2.dT_du = fill(0.0, 6) ($RES_SIM_4) (4) [ARRY] (6) con2.Td = fill(0.0, 6) ($RES_SIM_5) (5) [ARRY] (6) con2.ud = fill(0.0, 6) ($RES_SIM_6) (6) [FOR-] (2) ($RES_SIM_7) (6) [----] for $i1 in 1:2 loop (6) [----] [SCAL] (1) con2.T[$i1] = con2.T_a_start + con2.UA * (con2.T_b_start - con2.T_a_start) * $FUN_8[$i1] ($RES_SIM_8) (6) [----] end for; (7) [ARRY] (6) con1.dT_du = fill(0.0, 6) ($RES_SIM_9) (8) [ARRY] (6) con1.Td = fill(0.0, 6) ($RES_SIM_10) (9) [ARRY] (6) con1.ud = fill(0.0, 6) ($RES_SIM_11) (10) [SCAL] (1) con1.T[2] = con1.T_a_start + con1.UA * (con1.T_b_start - con1.T_a_start) * $FUN_7 ($RES_SIM_12) (11) [SCAL] (1) con1.T[1] = con1.T_a_start ($RES_SIM_13) (12) [FOR-] (3) ($RES_SIM_15) (12) [----] for $i1 in 2:4 loop (12) [----] [SCAL] (1) conPCM.T[$i1] = conPCM.T_a_start + conPCM.UA * (conPCM.T_b_start - conPCM.T_a_start) * $FUN_3[integer(1.0 + ((-2.0) + $i1))] ($RES_SIM_16) (12) [----] end for; (13) [SCAL] (1) conPCM.T[1] = conPCM.T_a_start ($RES_SIM_17) (14) [ARRY] (6) conPCM2.dT_du = $FUN_12 ($RES_$AUX_130) (15) [ARRY] (6) conPCM2.Td = $FUN_11 ($RES_$AUX_129) (16) [ARRY] (6) conPCM2.ud = $FUN_10 ($RES_$AUX_128) (17) [ARRY] (6) conPCM.dT_du = $FUN_6 ($RES_$AUX_127) (18) [ARRY] (6) conPCM.Td = $FUN_5 ($RES_$AUX_126) (19) [ARRY] (6) conPCM.ud = $FUN_4 ($RES_$AUX_125) (20) [SCAL] (1) matPCM2.R = matPCM2.x / matPCM2.k ($RES_BND_201) (21) [SCAL] (1) matPCM2.piMat = matPCM2.x * sqrt(1.8816e6 / matPCM2.k) ($RES_BND_200) (22) [SCAL] (1) matPCM2.nStaReal = (matPCM2.piMat * matPCM2.nStaRef) / matPCM2.piRef ($RES_BND_199) (23) [FOR-] (4) ($RES_BND_197) (23) [----] for $i1 in 1:4 loop (23) [----] [SCAL] (1) conPCM2.CInv[$i1] = 1/conPCM2.C[$i1] ($RES_BND_198) (23) [----] end for; (24) [ARRY] (4) conPCM2.C = conPCM2.m .* conPCM2.material.c ($RES_BND_196) (25) [FOR-] (4) ($RES_BND_194) (25) [----] for $i1 in 1:4 loop (25) [----] [SCAL] (1) conPCM2.mInv[$i1] = 1/conPCM2.m[$i1] ($RES_BND_195) (25) [----] end for; (26) [FOR-] (4) ($RES_BND_192) (26) [----] for $i1 in 1:4 loop (26) [----] [SCAL] (1) conPCM2.m[$i1] = (conPCM2.material.d * conPCM2.A * conPCM2.material.x) * (1/(if $i1 == 1 or $i1 == 2 then 6.0 else 3.0)) ($RES_BND_193) (26) [----] end for; (27) [FOR-] (5) ($RES_BND_190) (27) [----] for $i1 in 1:5 loop (27) [----] [SCAL] (1) conPCM2.RNod[$i1] = if $i1 == 1 then 0.0 else if $i1 == 2 or $i1 == 5 then 0.16666666666666666 * conPCM2.R else 0.3333333333333333 * conPCM2.R ($RES_BND_191) (27) [----] end for; (28) [SCAL] (1) conPCM2.R = if conPCM2.material.R < 1e-15 then conPCM2.material.x / (conPCM2.material.k * conPCM2.A) else conPCM2.material.R / conPCM2.A ($RES_BND_189) (29) [SCAL] (1) conPCM2.UA = 1/conPCM2.R ($RES_BND_188) (30) [SCAL] (1) conPCM2.U = conPCM2.UA / conPCM2.A ($RES_BND_187) (31) [SCAL] (1) conv3.isFloor = false ($RES_BND_186) (32) [SCAL] (1) conv3.isCeiling = false ($RES_BND_185) (33) [SCAL] (1) conv3.sinTil = sin(conv3.til) ($RES_BND_184) (34) [SCAL] (1) conv3.cosTil = cos(conv3.til) ($RES_BND_183) (35) [SCAL] (1) matPCM.R = matPCM.x / matPCM.k ($RES_BND_182) (36) [SCAL] (1) matPCM.piMat = matPCM.x * sqrt(1.8816e6 / matPCM.k) ($RES_BND_181) (37) [SCAL] (1) matPCM.nStaReal = (matPCM.piMat * matPCM.nStaRef) / matPCM.piRef ($RES_BND_180) (38) [FOR-] (2) ($RES_BND_178) (38) [----] for $i1 in 1:2 loop (38) [----] [SCAL] (1) con2.CInv[$i1] = 1/con2.C[$i1] ($RES_BND_179) (38) [----] end for; (39) [ARRY] (2) con2.C = con2.m .* con2.material.c ($RES_BND_177) (40) [FOR-] (2) ($RES_BND_175) (40) [----] for $i1 in 1:2 loop (40) [----] [SCAL] (1) con2.mInv[$i1] = 1/con2.m[$i1] ($RES_BND_176) (40) [----] end for; (41) [FOR-] (2) ($RES_BND_173) (41) [----] for $i1 in 1:2 loop (41) [----] [SCAL] (1) con2.m[$i1] = (con2.material.d * con2.A * con2.material.x) * (1/(if $i1 == 2 or $i1 == 1 then 2.0 else 1.0)) ($RES_BND_174) (41) [----] end for; (42) [FOR-] (3) ($RES_BND_171) (42) [----] for $i1 in 1:3 loop (42) [----] [SCAL] (1) con2.RNod[$i1] = if $i1 == 3 then 0.0 else if $i1 == 1 or $i1 == 2 then 0.5 * con2.R else con2.R ($RES_BND_172) (42) [----] end for; (43) [SCAL] (1) con2.R = if con2.material.R < 1e-15 then con2.material.x / (con2.material.k * con2.A) else con2.material.R / con2.A ($RES_BND_170) (44) [SCAL] (1) con2.UA = 1/con2.R ($RES_BND_169) (45) [SCAL] (1) con2.U = con2.UA / con2.A ($RES_BND_168) (46) [FOR-] (2) ($RES_BND_166) (46) [----] for $i1 in 1:2 loop (46) [----] [SCAL] (1) con1.CInv[$i1] = 1/con1.C[$i1] ($RES_BND_167) (46) [----] end for; (47) [ARRY] (2) con1.C = con1.m .* con1.material.c ($RES_BND_165) (48) [FOR-] (2) ($RES_BND_163) (48) [----] for $i1 in 1:2 loop (48) [----] [SCAL] (1) con1.mInv[$i1] = 1/con1.m[$i1] ($RES_BND_164) (48) [----] end for; (49) [FOR-] (2) ($RES_BND_161) (49) [----] for $i1 in 1:2 loop (49) [----] [SCAL] (1) con1.m[$i1] = (con1.material.d * con1.A * con1.material.x) * (1/(if $i1 == 1 or $i1 == 2 then 2.0 else 1.0)) ($RES_BND_162) (49) [----] end for; (50) [FOR-] (3) ($RES_BND_159) (50) [----] for $i1 in 1:3 loop (50) [----] [SCAL] (1) con1.RNod[$i1] = if $i1 == 1 then 0.0 else if $i1 == 2 or $i1 == 3 then 0.5 * con1.R else con1.R ($RES_BND_160) (50) [----] end for; (51) [SCAL] (1) con1.R = if con1.material.R < 1e-15 then con1.material.x / (con1.material.k * con1.A) else con1.material.R / con1.A ($RES_BND_158) (52) [SCAL] (1) con1.UA = 1/con1.R ($RES_BND_157) (53) [SCAL] (1) con1.U = con1.UA / con1.A ($RES_BND_156) (54) [FOR-] (4) ($RES_BND_154) (54) [----] for $i1 in 1:4 loop (54) [----] [SCAL] (1) conPCM.CInv[$i1] = 1/conPCM.C[$i1] ($RES_BND_155) (54) [----] end for; (55) [ARRY] (4) conPCM.C = conPCM.m .* conPCM.material.c ($RES_BND_153) (56) [FOR-] (4) ($RES_BND_151) (56) [----] for $i1 in 1:4 loop (56) [----] [SCAL] (1) conPCM.mInv[$i1] = 1/conPCM.m[$i1] ($RES_BND_152) (56) [----] end for; (57) [FOR-] (4) ($RES_BND_149) (57) [----] for $i1 in 1:4 loop (57) [----] [SCAL] (1) conPCM.m[$i1] = (conPCM.material.d * conPCM.A * conPCM.material.x) * (1/(if (($i1 == 1 or $i1 == 4) or $i1 == 2) or $i1 == 3 then 4.0 else 2.0)) ($RES_BND_150) (57) [----] end for; (58) [FOR-] (5) ($RES_BND_147) (58) [----] for $i1 in 1:5 loop (58) [----] [SCAL] (1) conPCM.RNod[$i1] = if $i1 == 1 or $i1 == 5 then 0.0 else if $i1 == 2 or $i1 == 4 then 0.25 * conPCM.R else 0.5 * conPCM.R ($RES_BND_148) (58) [----] end for; (59) [SCAL] (1) conPCM.R = if conPCM.material.R < 1e-15 then conPCM.material.x / (conPCM.material.k * conPCM.A) else conPCM.material.R / conPCM.A ($RES_BND_146) (60) [SCAL] (1) conPCM.UA = 1/conPCM.R ($RES_BND_145) (61) [SCAL] (1) conPCM.U = conPCM.UA / conPCM.A ($RES_BND_144) (62) [SCAL] (1) conv2.isFloor = false ($RES_BND_143) (63) [SCAL] (1) conv2.isCeiling = false ($RES_BND_142) (64) [SCAL] (1) conv2.sinTil = sin(conv2.til) ($RES_BND_141) (65) [SCAL] (1) conv2.cosTil = cos(conv2.til) ($RES_BND_140) (66) [SCAL] (1) conv1.isFloor = false ($RES_BND_139) (67) [SCAL] (1) conv1.isCeiling = false ($RES_BND_138) (68) [SCAL] (1) conv1.sinTil = sin(conv1.til) ($RES_BND_137) (69) [SCAL] (1) conv1.cosTil = cos(conv1.til) ($RES_BND_136) (70) [SCAL] (1) concrete100.R = concrete100.x / concrete100.k ($RES_BND_135) (71) [SCAL] (1) concrete100.nSta = 2 ($RES_BND_134) (72) [SCAL] (1) concrete100.piMat = 115.93101396951552 ($RES_BND_133) (73) [SCAL] (1) concrete100.nStaReal = 1.3992880382560715 ($RES_BND_132) (74) [RECD] (16) conPCM2.material = matPCM2 ($RES_BND_205) (75) [RECD] (16) con2.material = concrete100 ($RES_BND_204) (76) [RECD] (16) con1.material = concrete100 ($RES_BND_203) (77) [RECD] (16) conPCM.material = matPCM ($RES_BND_202) Error: Internal error NBInitialization.main failed to apply modules!