Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.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.001325/0.001325, allocations: 104.3 kB / 19.76 MB, free: 2.043 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.001542/0.001542, allocations: 213.3 kB / 23.06 MB, free: 4.859 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.45/1.45, 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/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.1021/0.1021, allocations: 24.05 MB / 337.3 MB, free: 11.28 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_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.219e-05, allocations: 2.281 kB / 474.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005697/0.00572, allocations: 3.976 MB / 478.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.008162, allocations: 1.274 MB / 479.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.008407, allocations: 27.75 kB / 479.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.008772, allocations: 178.5 kB / 479.8 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007409/0.009513, allocations: 449.5 kB / 480.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.01028, allocations: 327.5 kB / 480.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.01191, allocations: 1.563 MB / 482.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.01272, allocations: 0.6018 MB / 482.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.01359, allocations: 0.662 MB / 483.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/0.01426, allocations: 0.5719 MB / 484 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.01442, allocations: 119.9 kB / 484.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.01462, allocations: 112 kB / 484.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001733/0.01636, allocations: 2.064 MB / 486.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001025/0.01738, allocations: 1.22 MB / 487.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.01753, allocations: 72 kB / 487.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.952e-05/0.01762, allocations: 23.94 kB / 487.6 MB, free: 8.543 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.005078/0.0227, allocations: 5.016 MB / 492.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006329/0.02333, allocations: 0.55 MB / 493.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.002405/0.02573, allocations: 2.451 MB / 495.6 MB, free: 272 kB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008239/0.02656, allocations: 0.5285 MB / 496.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.005495/0.03205, allocations: 3.851 MB / 500 MB, free: 11.56 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005918/0.03264, allocations: 429.3 kB / 0.4887 GB, free: 11.1 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002502/0.03289, allocations: 204.1 kB / 0.4889 GB, free: 10.87 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.000714/0.03361, allocations: 0.5768 MB / 0.4894 GB, free: 10.23 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0002339/0.03384, allocations: 123.8 kB / 0.4896 GB, free: 10.11 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008848/0.03473, allocations: 0.7789 MB / 0.4903 GB, free: 9.32 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.54813314601779] Failed to read output from testmodel.py, exit status != 0: 0.044083751970902085 0.05726529700000001 0.036661198 Calling exit ...