Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.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.001351/0.001351, 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.00144/0.00144, allocations: 210.7 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.471/1.471, allocations: 230.7 MB / 256.9 MB, free: 7.777 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.1054/0.1054, allocations: 24.03 MB / 337.3 MB, free: 11.3 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_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.347e-05, allocations: 2.281 kB / 474.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.005763/0.005787, allocations: 3.95 MB / 478.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.008339, allocations: 1.263 MB / 479.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.008561, allocations: 19.81 kB / 479.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.008952, allocations: 174.6 kB / 479.8 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.009675, allocations: 441.5 kB / 480.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007932/0.01047, allocations: 327.5 kB / 480.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.0122, allocations: 1.539 MB / 482.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009317/0.01314, allocations: 0.5979 MB / 482.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.01422, allocations: 0.6426 MB / 483.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.01499, allocations: 0.5835 MB / 483.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.01517, allocations: 116 kB / 484 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.01538, allocations: 120 kB / 484.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001918/0.01729, allocations: 2.064 MB / 486.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001003/0.0183, allocations: 1.216 MB / 487.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.01844, allocations: 79.94 kB / 487.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.095e-05/0.01853, allocations: 19.94 kB / 487.5 MB, free: 8.648 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.005606/0.02413, allocations: 5.011 MB / 492.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006755/0.02481, allocations: 0.554 MB / 493.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.002595/0.0274, allocations: 2.498 MB / 495.6 MB, free: 332 kB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008938/0.0283, allocations: 0.5167 MB / 496.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.005329/0.03363, allocations: 3.683 MB / 499.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006226/0.03425, allocations: 432 kB / 0.4885 GB, free: 11.31 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002542/0.0345, allocations: 212.1 kB / 0.4887 GB, free: 11.07 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0007417/0.03524, allocations: 0.5509 MB / 0.4892 GB, free: 10.48 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0002096/0.03545, allocations: 107.8 kB / 0.4893 GB, free: 10.37 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000959/0.03641, allocations: 0.7906 MB / 0.4901 GB, free: 9.574 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.5907246170099825] Failed to read output from testmodel.py, exit status != 0: 0.04580860200803727 0.059871293000000006 0.038405489 Calling exit ...