Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand.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.001388/0.001388, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.001541/0.001541, allocations: 213.5 kB / 23.01 MB, free: 4.961 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.374/3.374, allocations: 0.49 GB / 0.7958 GB, free: 35.57 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.StageChangeCommand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chaSta.capReq.QReq_flow|chaSta.capSta.y|chaSta.capStaLow.y|capHea_nominal|y1UpHol.y|y1DowHol.y|idxSta.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chaSta.capReq.QReq_flow|chaSta.capSta.y|chaSta.capStaLow.y|capHea_nominal|y1UpHol.y|y1DowHol.y|idxSta.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.745e-05, allocations: 2.281 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter idxSta.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand): time 0.009786/0.009813, allocations: 6.338 MB / 1.161 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007679/0.01749, allocations: 3.745 MB / 1.165 GB, free: 18.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.02009, allocations: 103 kB / 1.165 GB, free: 18.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.02264, allocations: 0.8177 MB / 1.166 GB, free: 17.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.02505, allocations: 405.7 kB / 1.166 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.02845, allocations: 1.295 MB / 1.167 GB, free: 16.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009374/0.03782, allocations: 7.934 MB / 1.175 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007762/0.04558, allocations: 4.212 MB / 1.179 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.05121, allocations: 2.111 MB / 1.181 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.05572, allocations: 1.959 MB / 1.183 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002503/0.05822, allocations: 0.5024 MB / 1.184 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.06004, allocations: 0.5638 MB / 1.184 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.006505/0.06654, allocations: 5.924 MB / 1.19 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.002433/0.06898, allocations: 3.212 MB / 1.193 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.07024, allocations: 225.3 kB / 1.193 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0008925/0.07113, allocations: 234.3 kB / 1.194 GB, free: 2.703 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: 1944 (946) * Number of variables: 1924 (597) Notification: Performance of [SIM] Bindings: time 0.02353/0.09466, allocations: 16.25 MB / 1.21 GB, free: 8.445 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.005856/0.1005, allocations: 2.698 MB / 1.212 GB, free: 6.816 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.02715/0.1277, allocations: 14.68 MB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 0.006695/0.1344, allocations: 1.814 MB / 1.228 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of [SIM] Alias: time 0.03352/0.1679, allocations: 15.41 MB / 1.243 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.003901/0.1718, allocations: 1.505 MB / 1.245 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.002336/0.1741, allocations: 1.241 MB / 1.246 GB, free: 76 kB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.005513/0.1796, allocations: 3.339 MB / 1.249 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 0.003194/0.1828, allocations: 1.662 MB / 1.251 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.008731/0.1916, allocations: 5.298 MB / 1.256 GB, free: 7.02 MB / 0.9512 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_89[$i1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_EVT_1394) [----] for $i1 in 2:3 loop [----] [SCAL] (1) $SEV_89[$i1] = comSta.cha[$i1].y or comSta.anyCha.uTemp[(-1) + $i1] ($RES_EVT_1395) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.198817241936922] Failed to read output from testmodel.py, exit status != 0: 0.20687890006229281 0.221994573 0.147369723 Calling exit ...