Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001231/0.001231, allocations: 195.2 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.564e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002791/0.002831, allocations: 1.583 MB / 0.6744 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.004259, allocations: 0.9628 MB / 0.6753 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.004345, allocations: 0 / 0.6753 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.004597, allocations: 63.66 kB / 0.6754 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.005034, allocations: 147.3 kB / 0.6755 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.516e-05/0.005096, allocations: 15.97 kB / 0.6755 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.005468, allocations: 255.2 kB / 0.6758 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.005524, allocations: 4 kB / 0.6758 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.005698, allocations: 115.6 kB / 0.6759 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.005837, allocations: 99.7 kB / 0.676 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.00586, allocations: 4 kB / 0.676 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.005966, allocations: 35.98 kB / 0.676 GB, free: 2.652 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002829/0.006256, allocations: 241.9 kB / 0.6763 GB, free: 2.414 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001145/0.006377, allocations: 170.3 kB / 0.6764 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.006407, allocations: 7.938 kB / 0.6764 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.429e-05/0.006426, allocations: 4 kB / 0.6764 GB, free: 2.234 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (1) * Number of variables: 4 (1) Notification: Performance of Bindings: time 0.0009799/0.007411, allocations: 0.927 MB / 0.6773 GB, free: 1.203 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001127/0.00753, allocations: 59.78 kB / 0.6774 GB, free: 1.145 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001071/0.007645, allocations: 104.3 kB / 0.6775 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simplify1: time 2.024e-06/0.007654, allocations: 3.938 kB / 0.6775 GB, free: 1.012 MB / 0.545 GB Notification: Performance of Alias: time 8.307e-05/0.007742, allocations: 81.7 kB / 0.6776 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simplify2: time 6.51e-07/0.007748, allocations: 0 / 0.6776 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of Events: time 1.636e-05/0.007771, allocations: 11.95 kB / 0.6776 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of Detect States: time 6.593e-05/0.007843, allocations: 40.22 kB / 0.6776 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of Partitioning: time 6.207e-05/0.007911, allocations: 24.11 kB / 0.6777 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003064/0.008223, allocations: 188 kB / 0.6778 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 8.865e-05/0.008321, allocations: 104.3 kB / 0.6779 GB, free: 488 kB / 0.545 GB Notification: Performance of Inline: time 0.0004259/0.008754, allocations: 388.2 kB / 0.6783 GB, free: 64 kB / 0.545 GB Notification: Performance of Partitioning: time 2.931e-05/0.008794, allocations: 28.12 kB / 0.6783 GB, free: 28 kB / 0.545 GB Notification: Performance of Cleanup: time 8.446e-06/0.008808, allocations: 0 / 0.6783 GB, free: 28 kB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 4 for dependency TSoi.cliCon.TSurAmp could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [FOR-] (12) ($RES_BND_18) [----] for $i1 in 1:4 loop [----] [RECD] (3) TSoi[$i1].cliCon = cliCon ($RES_BND_19) [----] end for; Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (15/60) ************************** (1) [PRMT] (4) parameter Real[4] TSoi.dep = {dep[$TSoi1] for $TSoi1 in 1:4} (fixed = {true for $i1 in 1:4}) (2) [PRMT] (4) protected parameter Real[4] TSoi.corDep = {if TSoi[$TSoi1].useCon then TSoi[$TSoi1].soiDat.k / TSoi[$TSoi1].hSur + TSoi[$TSoi1].dep else TSoi[$TSoi1].dep for $TSoi1 in 1:4} (fixed = {true for $i1 in 1:4}) (3) [PRMT] (4) protected parameter Real[4] TSoi.soiDif = {TSoi[$TSoi1].soiDat.k / (TSoi[$TSoi1].soiDat.d * TSoi[$TSoi1].soiDat.c) for $TSoi1 in 1:4} (fixed = {true for $i1 in 1:4}) (4) [PRMT] (4) protected parameter Real[4] TSoi.timLag = {TSoi[$TSoi1].corCliCon.sinPha for $TSoi1 in 1:4} (fixed = {true for $i1 in 1:4}) (5) [PRMT] (4) protected parameter Real[4] TSoi.pha = {-(3.141592653589793 / (3.1556926079999994e7 * TSoi[$TSoi1].soiDif)) ^ 0.5 * TSoi[$TSoi1].corDep for $TSoi1 in 1:4} (fixed = {true for $i1 in 1:4}) (6) [PRMT] (4) parameter Real[4] TSoi.soiDat.k = {soiDat.k, soiDat.k, soiDat.k, soiDat.k} (fixed = {true for $i1 in 1:4}) (7) [PRMT] (4) parameter Real[4] TSoi.soiDat.c = {1150.0, 1150.0, 1150.0, 1150.0} (fixed = {true for $i1 in 1:4}) (8) [PRMT] (4) parameter Real[4] TSoi.soiDat.d = {1600.0, 1600.0, 1600.0, 1600.0} (fixed = {true for $i1 in 1:4}, min = {0.0 for $i1 in 1:4}) (9) [PRMT] (4) parameter Boolean[4] TSoi.soiDat.steadyState = {false, false, false, false} (fixed = {true for $i1 in 1:4}) (10) [PRMT] (4) parameter Real[4] TSoi.cliCon.TSurMea = {cliCon.TSurMea, cliCon.TSurMea, cliCon.TSurMea, cliCon.TSurMea} (fixed = {true for $i1 in 1:4}, start = {288.15 for $i1 in 1:4}, min = {0.0 for $i1 in 1:4}, nominal = {300.0 for $i1 in 1:4}) (11) [PRMT] (4) parameter Real[4] TSoi.cliCon.TSurAmp = {cliCon.TSurAmp, cliCon.TSurAmp, cliCon.TSurAmp, cliCon.TSurAmp} (fixed = {true for $i1 in 1:4}) (12) [PRMT] (4) parameter Real[4] TSoi.cliCon.sinPha = {cliCon.sinPha, cliCon.sinPha, cliCon.sinPha, cliCon.sinPha} (fixed = {true for $i1 in 1:4}) (13) [PRMT] (4) protected parameter Real[4] TSoi.corCliCon.TSurMea = {TSoi[4].cliCon.TSurMea, TSoi[4].cliCon.TSurMea, TSoi[4].cliCon.TSurMea, TSoi[4].cliCon.TSurMea} (fixed = {true for $i1 in 1:4}, start = {288.15 for $i1 in 1:4}, min = {0.0 for $i1 in 1:4}, nominal = {300.0 for $i1 in 1:4}) (14) [PRMT] (4) protected parameter Real[4] TSoi.corCliCon.TSurAmp = {TSoi[4].cliCon.TSurAmp, TSoi[4].cliCon.TSurAmp, TSoi[4].cliCon.TSurAmp, TSoi[4].cliCon.TSurAmp} (fixed = {true for $i1 in 1:4}) (15) [PRMT] (4) protected parameter Real[4] TSoi.corCliCon.sinPha = {TSoi[4].cliCon.sinPha, TSoi[4].cliCon.sinPha, TSoi[4].cliCon.sinPha, TSoi[4].cliCon.sinPha} (fixed = {true for $i1 in 1:4}) System Equations (8/60) ************************* (1) [FOR-] (4) ($RES_BND_14) (1) [----] for $i1 in 1:4 loop (1) [----] [SCAL] (1) TSoi[$i1].dep = dep[$i1] ($RES_BND_15) (1) [----] end for; (2) [FOR-] (4) ($RES_BND_12) (2) [----] for $i1 in 1:4 loop (2) [----] [SCAL] (1) TSoi[$i1].corDep = if TSoi[$i1].useCon then TSoi[$i1].soiDat.k / TSoi[$i1].hSur + TSoi[$i1].dep else TSoi[$i1].dep ($RES_BND_13) (2) [----] end for; (3) [FOR-] (4) ($RES_BND_10) (3) [----] for $i1 in 1:4 loop (3) [----] [SCAL] (1) TSoi[$i1].soiDif = TSoi[$i1].soiDat.k / (TSoi[$i1].soiDat.d * TSoi[$i1].soiDat.c) ($RES_BND_11) (3) [----] end for; (4) [FOR-] (4) ($RES_BND_8) (4) [----] for $i1 in 1:4 loop (4) [----] [SCAL] (1) TSoi[$i1].timLag = TSoi[$i1].corCliCon.sinPha ($RES_BND_9) (4) [----] end for; (5) [FOR-] (4) ($RES_BND_6) (5) [----] for $i1 in 1:4 loop (5) [----] [SCAL] (1) TSoi[$i1].pha = -(9.955318986473963e-8 / TSoi[$i1].soiDif) ^ 0.5 * TSoi[$i1].corDep ($RES_BND_7) (5) [----] end for; (6) [FOR-] (16) ($RES_BND_20) (6) [----] for $i1 in 1:4 loop (6) [----] [RECD] (4) TSoi[$i1].soiDat = soiDat ($RES_BND_21) (6) [----] end for; (7) [FOR-] (12) ($RES_BND_18) (7) [----] for $i1 in 1:4 loop (7) [----] [RECD] (3) TSoi[$i1].cliCon = cliCon ($RES_BND_19) (7) [----] end for; (8) [FOR-] (12) ($RES_BND_16) (8) [----] for $i1 in 1:4 loop (8) [----] [RECD] (3) TSoi[$i1].corCliCon = TSoi[$i1].cliCon ($RES_BND_17) (8) [----] end for; Error: Internal error NBInitialization.main failed to apply modules!