Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.0007555/0.0007555, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.0008302/0.0008302, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.7937/0.7937, allocations: 177.2 MB / 203.7 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.031/0.031, allocations: 9.126 MB / 269.3 MB, free: 4.41 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004086/0.0004086, allocations: 19.77 kB / 328.7 MB, free: 20.59 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.331/1.331, allocations: 275 MB / 0.6476 GB, free: 2.453 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.745e-05, allocations: 3.297 kB / 0.9295 GB, free: 7.984 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001034/0.001051, allocations: 0.6501 MB / 0.9301 GB, free: 7.359 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.002202, allocations: 1.365 MB / 0.9315 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.00224, allocations: 0 / 0.9315 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.002558, allocations: 202.2 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.002625, allocations: 104.3 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.003007, allocations: 231.2 kB / 0.932 GB, free: 5.465 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.003195, allocations: 264.4 kB / 0.9322 GB, free: 5.211 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.003232, allocations: 7.984 kB / 0.9323 GB, free: 5.203 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.003354, allocations: 175.7 kB / 0.9324 GB, free: 5.031 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.003485, allocations: 132.3 kB / 0.9325 GB, free: 4.902 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.00351, allocations: 12 kB / 0.9326 GB, free: 4.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.003626, allocations: 92.55 kB / 0.9326 GB, free: 4.801 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.000159/0.003785, allocations: 278.3 kB / 0.9329 GB, free: 4.527 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 4.658e-05/0.003832, allocations: 108.9 kB / 0.933 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.00385, allocations: 8 kB / 0.933 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.061e-05/0.003861, allocations: 4 kB / 0.933 GB, free: 4.41 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (6) * Number of variables: 8 (6) Notification: Performance of [SIM] Bindings: time 0.0007053/0.004566, allocations: 0.9573 MB / 0.934 GB, free: 3.336 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002003/0.004767, allocations: 242 kB / 0.9342 GB, free: 3.102 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002841/0.005051, allocations: 493.5 kB / 0.9347 GB, free: 2.582 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 0.0001121/0.005163, allocations: 149.6 kB / 0.9348 GB, free: 2.41 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0001185/0.005281, allocations: 221.8 kB / 0.935 GB, free: 2.145 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 8.88e-05/0.00537, allocations: 153.5 kB / 0.9352 GB, free: 1.969 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 6.851e-05/0.005439, allocations: 125.6 kB / 0.9353 GB, free: 1.816 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0002176/0.005656, allocations: 294.4 kB / 0.9356 GB, free: 1.465 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.969e-05/0.005736, allocations: 81.02 kB / 0.9356 GB, free: 1.387 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001728/0.005909, allocations: 249.3 kB / 0.9359 GB, free: 1.07 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0002933/0.006202, allocations: 241.6 kB / 0.9361 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002259/0.006428, allocations: 471.6 kB / 0.9366 GB, free: 336 kB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.000429/0.006857, allocations: 466.3 kB / 0.937 GB, free: 15.83 MB / 0.7137 GB Notification: Performance of [INI] Inline: time 0.0002863/0.007143, allocations: 0.5813 MB / 0.9376 GB, free: 15.25 MB / 0.7137 GB Notification: Performance of [INI] Partitioning: time 2.013e-05/0.007163, allocations: 22.69 kB / 0.9376 GB, free: 15.21 MB / 0.7137 GB Notification: Performance of [INI] Cleanup: time 8.001e-05/0.007243, allocations: 143.8 kB / 0.9377 GB, free: 15.07 MB / 0.7137 GB Error: Internal error NBSlice.locationToIndex failed because value of 3 is too large for size 2. Error: Internal error NBSlice.resolveDependency failed for: $FUN_8[$f1, $f2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (10) ($RES_SIM_35) [----] for {$f1 in 1:2, $f2 in 1:5} loop [----] [SCAL] (1) $FUN_8[$f1, $f2] = 1.0 ($RES_SIM_36) [----] end for; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2957463478669524] Failed to read output from testmodel.py, exit status != 0: 0.011546028777956963 0.018479080000000002 0.013250501000000001 Calling exit ...