Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.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.00191/0.00191, 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.002608/0.002608, allocations: 212.2 kB / 23.06 MB, free: 4.98 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.457/1.457, allocations: 230.7 MB / 256.9 MB, free: 7.785 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.1018/0.1018, allocations: 24.04 MB / 337.3 MB, free: 11.32 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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.186e-05, allocations: 2.281 kB / 475.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.005796/0.005818, allocations: 3.957 MB / 479.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.008564, allocations: 1.286 MB / 480.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.008841, allocations: 19.81 kB / 480.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.009211, allocations: 174.5 kB / 480.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007913/0.01, allocations: 449.5 kB / 481 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.01081, allocations: 323.5 kB / 481.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.01247, allocations: 1.559 MB / 482.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008681/0.01334, allocations: 0.6096 MB / 483.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.01424, allocations: 0.662 MB / 484.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.01497, allocations: 0.5718 MB / 484.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.01516, allocations: 112 kB / 484.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.01539, allocations: 116 kB / 485 MB, free: 11.24 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.00194/0.01733, allocations: 2.06 MB / 487 MB, free: 9.164 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001023/0.01835, allocations: 1.228 MB / 488.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.01849, allocations: 76 kB / 488.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.325e-05/0.01858, allocations: 23.88 kB / 488.4 MB, free: 7.824 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: 302 (146) * Number of variables: 302 (138) Notification: Performance of [SIM] Bindings: time 0.005345/0.02392, allocations: 5.019 MB / 493.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006516/0.02458, allocations: 0.55 MB / 493.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.002513/0.02709, allocations: 2.455 MB / 496.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009033/0.02799, allocations: 0.5246 MB / 496.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.005541/0.03353, allocations: 3.846 MB / 0.489 GB, free: 10.84 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006154/0.03415, allocations: 428.1 kB / 0.4894 GB, free: 10.38 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002441/0.03439, allocations: 208 kB / 0.4896 GB, free: 10.15 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0007325/0.03513, allocations: 0.5809 MB / 0.4902 GB, free: 9.5 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0002403/0.03537, allocations: 127.8 kB / 0.4903 GB, free: 9.375 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009417/0.03631, allocations: 0.775 MB / 0.4911 GB, free: 8.594 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_199) [----] for $i1 in 2:4 loop [----] [SCAL] (1) $SEV_1[$i1] = P.w > 0.0 ($RES_EVT_200) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5910401610308327] Failed to read output from testmodel.py, exit status != 0: 0.04621447599492967 0.062929989 0.040498334000000004 Calling exit ...