Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.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.001466/0.001466, allocations: 104.3 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.00171/0.00171, allocations: 214.6 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.489/1.489, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1047/0.1047, allocations: 24.03 MB / 337.3 MB, free: 11.29 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.577e-05, allocations: 6.219 kB / 474.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.005533/0.005558, allocations: 3.939 MB / 478.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.00828, allocations: 1.267 MB / 479.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.008808, allocations: 23.75 kB / 479.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.009287, allocations: 174.6 kB / 479.8 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000988/0.01027, allocations: 449.5 kB / 480.2 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009026/0.01118, allocations: 319.5 kB / 480.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.01286, allocations: 1.535 MB / 482.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.01363, allocations: 0.5979 MB / 482.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007654/0.01439, allocations: 0.6504 MB / 483.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.01505, allocations: 0.5874 MB / 483.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.0152, allocations: 112 kB / 484 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.0154, allocations: 120 kB / 484.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001696/0.01709, allocations: 2.064 MB / 486.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008506/0.01794, allocations: 1.208 MB / 487.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.01806, allocations: 76 kB / 487.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.647e-05/0.01814, allocations: 27.92 kB / 487.5 MB, free: 8.652 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 (144) * Number of variables: 300 (136) Notification: Performance of [SIM] Bindings: time 0.004831/0.02297, allocations: 5.008 MB / 492.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005797/0.02355, allocations: 0.5539 MB / 493.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.002356/0.02591, allocations: 2.502 MB / 495.6 MB, free: 336 kB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008519/0.02676, allocations: 0.5205 MB / 496.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0053/0.03206, allocations: 3.682 MB / 499.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006101/0.03267, allocations: 433 kB / 0.4885 GB, free: 11.31 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000243/0.03291, allocations: 220 kB / 0.4887 GB, free: 11.07 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0006432/0.03356, allocations: 0.5419 MB / 0.4892 GB, free: 10.48 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001997/0.03375, allocations: 95.88 kB / 0.4893 GB, free: 10.38 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009043/0.03466, allocations: 0.7984 MB / 0.4901 GB, free: 9.578 MB / 366.1 MB Error: Internal error NBSlice.locationToIndex failed because value of 4 is too large for size 3. Error: Internal error NBSlice.resolveDependency failed for: $SEV_1[$i1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_EVT_184) [----] for $i1 in 2:4 loop [----] [SCAL] (1) $SEV_1[$i1] = P.w > 0.0 ($RES_EVT_185) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5806611590087414] Failed to read output from testmodel.py, exit status != 0: 0.043354265042580664 0.057293489 0.036271879 Calling exit ...