Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 106.2 kB / 16.38 MB, free: 6.383 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.001276/0.001276, allocations: 192.1 kB / 17.31 MB, free: 5.766 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.752e-05, allocations: 10.02 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.0027/0.002739, allocations: 1.563 MB / 0.6744 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004182, allocations: 0.9705 MB / 0.6753 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.004268, allocations: 0 / 0.6753 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.004524, allocations: 63.66 kB / 0.6754 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.004927, allocations: 143.3 kB / 0.6755 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.032e-05/0.004974, allocations: 11.98 kB / 0.6755 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.005323, allocations: 255.3 kB / 0.6758 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.005371, allocations: 4 kB / 0.6758 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.005537, allocations: 115.6 kB / 0.6759 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.005675, allocations: 95.72 kB / 0.676 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.005696, allocations: 8 kB / 0.676 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.005794, allocations: 39.92 kB / 0.676 GB, free: 2.609 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002023/0.006002, allocations: 245.9 kB / 0.6763 GB, free: 2.367 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001152/0.006123, allocations: 162.3 kB / 0.6764 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.00615, allocations: 8 kB / 0.6764 GB, free: 2.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.06e-05/0.006165, allocations: 4 kB / 0.6764 GB, free: 2.195 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.0008567/0.007026, allocations: 0.9196 MB / 0.6773 GB, free: 1.168 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001167/0.007148, allocations: 67.72 kB / 0.6774 GB, free: 1.102 MB / 0.545 GB Notification: Performance of Early Inline: time 9.645e-05/0.007252, allocations: 100.4 kB / 0.6775 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simplify1: time 2.073e-06/0.007262, allocations: 7.875 kB / 0.6775 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of Alias: time 7.938e-05/0.007345, allocations: 85.66 kB / 0.6776 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simplify2: time 5.91e-07/0.007351, allocations: 0 / 0.6776 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of Events: time 1.666e-05/0.007371, allocations: 7.953 kB / 0.6776 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001915/0.007568, allocations: 35.36 kB / 0.6776 GB, free: 0.793 MB / 0.545 GB Notification: Performance of Partitioning: time 6.07e-05/0.007635, allocations: 28.11 kB / 0.6777 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002799/0.007923, allocations: 184 kB / 0.6778 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 9.457e-05/0.008026, allocations: 108.2 kB / 0.6779 GB, free: 448 kB / 0.545 GB Notification: Performance of Inline: time 0.0003893/0.008422, allocations: 393.1 kB / 0.6783 GB, free: 16 kB / 0.545 GB Notification: Performance of Partitioning: time 4.438e-05/0.008476, allocations: 20.17 kB / 0.6783 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Cleanup: time 1.01e-05/0.008492, allocations: 7.938 kB / 0.6783 GB, free: 15.98 MB / 0.5606 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!