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.001519/0.001519, 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.001633/0.001633, allocations: 216.9 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.41/1.41, allocations: 230.7 MB / 256.9 MB, free: 7.766 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.029/3.029, allocations: 0.4893 GB / 0.7952 GB, free: 35.54 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.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 1.664e-05/1.664e-05, allocations: 2.281 kB / 1.154 GB, free: 25.61 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.008/0.008017, allocations: 6.354 MB / 1.161 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006536/0.01455, allocations: 3.731 MB / 1.164 GB, free: 18.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.01625, allocations: 108.4 kB / 1.164 GB, free: 18.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.01793, allocations: 0.813 MB / 1.165 GB, free: 18.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.01923, allocations: 403.2 kB / 1.166 GB, free: 18.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.02157, allocations: 1.295 MB / 1.167 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007448/0.02902, allocations: 7.929 MB / 1.175 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005822/0.03484, allocations: 4.179 MB / 1.179 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.0377, allocations: 2.112 MB / 1.181 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.04049, allocations: 1.975 MB / 1.183 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.04156, allocations: 0.5018 MB / 1.183 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.04261, allocations: 0.5614 MB / 1.184 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.004526/0.04714, allocations: 5.926 MB / 1.189 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.001946/0.04908, allocations: 3.216 MB / 1.193 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008226/0.0499, allocations: 225.5 kB / 1.193 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0007324/0.05064, allocations: 230 kB / 1.193 GB, free: 3.32 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.02169/0.07232, allocations: 16.38 MB / 1.209 GB, free: 8.992 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.00603/0.07835, allocations: 2.697 MB / 1.212 GB, free: 7.363 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.02302/0.1014, allocations: 14.68 MB / 1.226 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 0.004849/0.1062, allocations: 1.824 MB / 1.228 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of [SIM] Alias: time 0.0235/0.1297, allocations: 15.77 MB / 1.243 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.003496/0.1332, allocations: 1.545 MB / 1.245 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.002104/0.1353, allocations: 1.246 MB / 1.246 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.004728/0.14, allocations: 3.309 MB / 1.249 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 0.002967/0.143, allocations: 1.665 MB / 1.251 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.009563/0.1526, allocations: 5.284 MB / 1.256 GB, free: 7.434 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: 6.234402633039281] Failed to read output from testmodel.py, exit status != 0: 0.1682800370035693 0.182205048 0.128582113 Calling exit ...