Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001352/0.001352, 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.001651/0.001651, allocations: 218.7 kB / 23.07 MB, free: 4.84 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.456/1.456, allocations: 230.7 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.01/3.01, allocations: 0.4893 GB / 0.7952 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.059e-05, allocations: 4.109 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion): time 0.001994/0.002014, allocations: 1.007 MB / 1.155 GB, free: 24.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.004163, allocations: 1.805 MB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004279, allocations: 5.25 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.004783, allocations: 228.9 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.004933, allocations: 132.1 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.005779, allocations: 336 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.006327, allocations: 0.5612 MB / 1.158 GB, free: 23.15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.006575, allocations: 121.5 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.006848, allocations: 257.8 kB / 1.159 GB, free: 22.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.00715, allocations: 248.5 kB / 1.159 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.007241, allocations: 46.88 kB / 1.159 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.00744, allocations: 96.14 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004639/0.007904, allocations: 0.6305 MB / 1.16 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001635/0.008067, allocations: 322.6 kB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.008133, allocations: 20.03 kB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.464e-05/0.008187, allocations: 18.95 kB / 1.16 GB, free: 22.26 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.001938/0.01013, allocations: 1.857 MB / 1.162 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002262/0.01035, allocations: 213.5 kB / 1.162 GB, free: 20.95 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001398/0.01175, allocations: 1.437 MB / 1.163 GB, free: 20.17 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004309/0.01218, allocations: 278.9 kB / 1.164 GB, free: 20.02 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001866/0.01405, allocations: 1.406 MB / 1.165 GB, free: 19.13 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003328/0.01438, allocations: 263.9 kB / 1.165 GB, free: 18.97 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001804/0.01456, allocations: 173.4 kB / 1.166 GB, free: 18.85 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005701/0.01513, allocations: 0.4984 MB / 1.166 GB, free: 18.51 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003271/0.01546, allocations: 256.1 kB / 1.166 GB, free: 18.36 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005562/0.01601, allocations: 480.5 kB / 1.167 GB, free: 18.14 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001507/0.01752, allocations: 1.063 MB / 1.168 GB, free: 17.86 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001215/0.01874, allocations: 1.333 MB / 1.169 GB, free: 17.19 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001075/0.01981, allocations: 0.6648 MB / 1.17 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001392/0.0212, allocations: 1.677 MB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.002e-05/0.02128, allocations: 39.03 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002223/0.02151, allocations: 250.6 kB / 1.172 GB, free: 15.74 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_141) [----] 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_142) [----] end for; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.274809823953547] Failed to read output from testmodel.py, exit status != 0: 0.02978005597833544 0.04145337499999994 0.03075381099999994 Calling exit ...