Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 216.5 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.241/3.241, allocations: 0.5108 GB / 0.8167 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|comSta.uSta|comSta.u1.1.|comSta.u1.2.|comSta.u1_actual.1.|comSta.u1_actual.2.|y1ComSta.y|comSta.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|comSta.uSta|comSta.u1.1.|comSta.u1.2.|comSta.u1_actual.1.|comSta.u1_actual.2.|y1ComSta.y|comSta.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.104e-05, allocations: 2.281 kB / 1.187 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion): time 0.002158/0.002179, allocations: 1.011 MB / 1.188 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.004542, allocations: 1.8 MB / 1.19 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.004673, allocations: 8.125 kB / 1.19 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.005217, allocations: 231.2 kB / 1.19 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.005393, allocations: 124.8 kB / 1.19 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009565/0.00635, allocations: 333.9 kB / 1.191 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000651/0.007001, allocations: 0.5631 MB / 1.191 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.007278, allocations: 118.6 kB / 1.191 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.007576, allocations: 250.2 kB / 1.191 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.007918, allocations: 255 kB / 1.192 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.008011, allocations: 46.16 kB / 1.192 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.008234, allocations: 99.16 kB / 1.192 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005049/0.008739, allocations: 0.6258 MB / 1.192 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001561/0.008895, allocations: 325.2 kB / 1.193 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.008954, allocations: 19.66 kB / 1.193 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.336e-05/0.009018, allocations: 18.73 kB / 1.193 GB, free: 10.12 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 (62) * Number of variables: 82 (53) Notification: Performance of [SIM] Bindings: time 0.001956/0.01097, allocations: 1.861 MB / 1.195 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002431/0.01122, allocations: 215.1 kB / 1.195 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001485/0.0127, allocations: 1.411 MB / 1.196 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004211/0.01312, allocations: 286.9 kB / 1.196 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001865/0.01499, allocations: 1.403 MB / 1.198 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003477/0.01534, allocations: 263.9 kB / 1.198 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001883/0.01552, allocations: 172.4 kB / 1.198 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000625/0.01615, allocations: 488.8 kB / 1.199 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003421/0.01649, allocations: 263.1 kB / 1.199 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005598/0.01705, allocations: 474.3 kB / 1.199 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00155/0.0186, allocations: 1.063 MB / 1.2 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001571/0.02017, allocations: 1.312 MB / 1.202 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001337/0.02151, allocations: 0.6517 MB / 1.202 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0017/0.02321, allocations: 1.648 MB / 1.204 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.233e-05/0.02328, allocations: 44.31 kB / 1.204 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002483/0.02353, allocations: 243.2 kB / 1.204 GB, free: 3.629 MB / 0.9044 GB Error: Internal error NBSlice.locationToIndex failed because value of 2 is too large for size 1. Error: Internal error NBSlice.resolveDependency failed for: idxSta.val[$i1, $i2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_BND_145) [----] for {$i1 in 1:1, $i2 in 1:3} loop [----] [SCAL] (1) idxSta.val[$i1, $i2] = integer((idxSta.table[:, 2:2] + 1e-37 * {1.0 for $f1 in 1:1, $f2 in 1:3})[$i2, $i1]) ($RES_BND_146) [----] end for; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.716523478971794] Failed to read output from testmodel.py, exit status != 0: 0.031803492980543524 0.04618574 0.034062125 Calling exit ...