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.001753/0.001753, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.00276/0.00276, allocations: 211.5 kB / 23.01 MB, free: 4.965 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.364/3.364, allocations: 0.49 GB / 0.7958 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.248e-05/2.248e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion): time 0.002199/0.002221, allocations: 1.009 MB / 1.156 GB, free: 24.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.005358, allocations: 1.796 MB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.005538, allocations: 7.906 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.006159, allocations: 232 kB / 1.158 GB, free: 23.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.006335, allocations: 124.8 kB / 1.158 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.007318, allocations: 342.9 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.007969, allocations: 0.5597 MB / 1.159 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.008262, allocations: 124.7 kB / 1.159 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.008536, allocations: 249.2 kB / 1.159 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.008845, allocations: 272.9 kB / 1.16 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.008938, allocations: 41.81 kB / 1.16 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.009156, allocations: 93.58 kB / 1.16 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004828/0.009639, allocations: 0.6312 MB / 1.16 GB, free: 22.17 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001775/0.009816, allocations: 323.2 kB / 1.161 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.009877, allocations: 19.62 kB / 1.161 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.126e-05/0.009939, allocations: 21.91 kB / 1.161 GB, free: 21.94 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.00209/0.01203, allocations: 1.85 MB / 1.162 GB, free: 20.75 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002311/0.01226, allocations: 198.7 kB / 1.163 GB, free: 20.64 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001486/0.01375, allocations: 1.44 MB / 1.164 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004148/0.01416, allocations: 292.4 kB / 1.164 GB, free: 19.69 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001933/0.01609, allocations: 1.385 MB / 1.166 GB, free: 18.79 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003405/0.01643, allocations: 270.8 kB / 1.166 GB, free: 18.62 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002038/0.01664, allocations: 174.4 kB / 1.166 GB, free: 18.5 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000687/0.01733, allocations: 0.495 MB / 1.167 GB, free: 18.17 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003503/0.01768, allocations: 254 kB / 1.167 GB, free: 18.02 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005847/0.01826, allocations: 485 kB / 1.167 GB, free: 17.79 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001624/0.01988, allocations: 1.092 MB / 1.168 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00129/0.02117, allocations: 1.328 MB / 1.17 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001165/0.02234, allocations: 0.6751 MB / 1.17 GB, free: 16.44 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001515/0.02385, allocations: 1.679 MB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.603e-05/0.02393, allocations: 38.66 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000233/0.02416, allocations: 256.3 kB / 1.172 GB, free: 15.37 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.910438732244074] Failed to read output from testmodel.py, exit status != 0: 0.032259606290608644 0.045298714000000004 0.032587402 Calling exit ...