Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.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.001217/0.001217, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001313/0.001313, allocations: 213.9 kB / 23.06 MB, free: 4.984 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.304/1.304, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.476/2.476, allocations: 476 MB / 0.7708 GB, free: 4.656 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.StageAvailability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1AvaEqu.y.1.|u1AvaEqu.y.2.|u1AvaEqu.y.3.|avaStaEqu.y1.1.|avaStaEqu.y1.2.|avaStaEqu.y1.3.|avaStaOneTwo.y1.1.|avaStaOneTwo.y1.2.|avaStaOneTwo.y1.3.|avaStaOneTwo.y1.4.|avaStaOneTwo.y1.5.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1AvaEqu.y.1.|u1AvaEqu.y.2.|u1AvaEqu.y.3.|avaStaEqu.y1.1.|avaStaEqu.y1.2.|avaStaEqu.y1.3.|avaStaOneTwo.y1.1.|avaStaOneTwo.y1.2.|avaStaOneTwo.y1.3.|avaStaOneTwo.y1.4.|avaStaOneTwo.y1.5.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.814e-05, allocations: 3.156 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability): time 0.0024/0.002419, allocations: 1.596 MB / 1.119 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.004272, allocations: 1.643 MB / 1.121 GB, free: 40.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.004441, allocations: 25.59 kB / 1.121 GB, free: 40.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.004996, allocations: 370.6 kB / 1.121 GB, free: 40.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.00519, allocations: 176.5 kB / 1.122 GB, free: 40.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.005784, allocations: 301 kB / 1.122 GB, free: 40.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.007625, allocations: 3.108 MB / 1.125 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.008901, allocations: 1.262 MB / 1.126 GB, free: 39.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.009456, allocations: 0.6987 MB / 1.127 GB, free: 38.88 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.01008, allocations: 0.804 MB / 1.128 GB, free: 38.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.01031, allocations: 170.4 kB / 1.128 GB, free: 38.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.01059, allocations: 202.3 kB / 1.128 GB, free: 38.59 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0008191/0.01141, allocations: 1.56 MB / 1.13 GB, free: 37.65 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.000275/0.01168, allocations: 0.6925 MB / 1.13 GB, free: 37.24 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.01178, allocations: 71.16 kB / 1.13 GB, free: 37.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.782e-05/0.01187, allocations: 27.28 kB / 1.13 GB, free: 37.23 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: 817 (361) * Number of variables: 817 (91) Notification: Performance of [SIM] Bindings: time 0.004511/0.01638, allocations: 5.586 MB / 1.136 GB, free: 34.16 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.001142/0.01752, allocations: 0.958 MB / 1.137 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.004751/0.02228, allocations: 5.254 MB / 1.142 GB, free: 30.88 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.00111/0.02338, allocations: 0.6784 MB / 1.142 GB, free: 30.52 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.004494/0.02788, allocations: 4.591 MB / 1.147 GB, free: 28 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0008415/0.02872, allocations: 0.6263 MB / 1.148 GB, free: 27.66 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0005104/0.02923, allocations: 0.4951 MB / 1.148 GB, free: 27.32 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0008734/0.0301, allocations: 1.074 MB / 1.149 GB, free: 26.56 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0005321/0.03064, allocations: 487.3 kB / 1.15 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.001966/0.0326, allocations: 2.034 MB / 1.152 GB, free: 25.42 MB / 0.9044 GB Error: Internal error NBSlice.locationToIndex failed because value of 3 is too large for size 2. Error: Internal error NBSlice.resolveDependency failed for: $SEV_19[$i1, $i2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (10) ($RES_SIM_23) [----] for {$i1 in 1:5, $i2 in 2:3} loop [----] [SCAL] (1) avaStaOneTwo.all[$i1].uTemp[$i2] = $SEV_19[$i1, $i2] ($RES_SIM_24) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.583955597016029] Failed to read output from testmodel.py, exit status != 0: 0.4652548269950785 0.053281806 0.038978484 Calling exit ...