Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex.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.00163/0.00163, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001972/0.001972, allocations: 207.9 kB / 23 MB, free: 4.938 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.586/3.586, allocations: 0.49 GB / 0.7958 GB, free: 35.52 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.Utilities.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ena.y|u1UpHol.y|u1DowHol.y|u1AvaSta.1..y|u1AvaSta.2..y|u1AvaSta.3..y|u1AvaSta.4..y|idxSta.y|idxStaUna.y|idxStaRun.y|idxStaRunUna.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ena.y|u1UpHol.y|u1DowHol.y|u1AvaSta.1..y|u1AvaSta.2..y|u1AvaSta.3..y|u1AvaSta.4..y|idxSta.y|idxStaUna.y|idxStaRun.y|idxStaRunUna.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.485e-05, allocations: 2.281 kB / 1.155 GB, free: 25.15 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. [/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 idxStaUna.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/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 idxStaRun.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/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 idxStaRunUna.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.Utilities.Validation.StageIndex): time 0.00922/0.009245, allocations: 6.69 MB / 1.162 GB, free: 20.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008751/0.018, allocations: 4.154 MB / 1.166 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.02046, allocations: 133.1 kB / 1.166 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.02278, allocations: 0.7484 MB / 1.166 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.02567, allocations: 366.9 kB / 1.167 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007099/0.03277, allocations: 1.942 MB / 1.169 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02415/0.05693, allocations: 13.34 MB / 1.182 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01846/0.07539, allocations: 6.678 MB / 1.188 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.08571, allocations: 3.203 MB / 1.191 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008593/0.0943, allocations: 2.952 MB / 1.194 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004918/0.09922, allocations: 0.7854 MB / 1.195 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00564/0.1049, allocations: 0.8235 MB / 1.196 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.01644/0.1213, allocations: 8.466 MB / 1.204 GB, free: 13.93 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.005575/0.1269, allocations: 4.504 MB / 1.208 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.1295, allocations: 346.4 kB / 1.209 GB, free: 10.83 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.001603/0.1311, allocations: 390.8 kB / 1.209 GB, free: 10.6 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3402 (1503) * Number of variables: 3338 (901) Notification: Performance of [SIM] Bindings: time 0.0551/0.1862, allocations: 24.2 MB / 1.233 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of [SIM] FunctionAlias: time 0.01094/0.1972, allocations: 4.321 MB / 1.237 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of [SIM] Early Inline: time 0.05006/0.2472, allocations: 23.4 MB / 1.26 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.011/0.2582, allocations: 2.919 MB / 1.263 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.045/0.3032, allocations: 23.89 MB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 2: time 0.007572/0.3108, allocations: 2.401 MB / 1.288 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of [SIM] Remove Stream: time 0.005458/0.3163, allocations: 2.015 MB / 1.29 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of [SIM] Detect States: time 0.01299/0.3292, allocations: 5.047 MB / 1.295 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of [SIM] Events: time 0.007993/0.3372, allocations: 2.727 MB / 1.298 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of [SIM] Partitioning: time 0.02999/0.3672, allocations: 8.56 MB / 1.306 GB, free: 2.324 MB / 0.9981 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_82[$i1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_EVT_2159) [----] for $i1 in 2:3 loop [----] [SCAL] (1) $SEV_82[$i1] = idxStaRun.dowAndEna.u[$i1] and idxStaRun.dowAndEna.uTemp[(-1) + $i1] ($RES_EVT_2160) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.5721934591419995] Failed to read output from testmodel.py, exit status != 0: 0.39550019707530737 0.412629886 0.277704695 Calling exit ...