Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.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.0006968/0.0006968, 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.0006682/0.0006682, 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.8236/0.8236, allocations: 177.1 MB / 203.7 MB, free: 5.703 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.03307/0.03307, allocations: 9.117 MB / 269.3 MB, free: 4.418 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.0003821/0.0003821, allocations: 27.73 kB / 328.7 MB, free: 20.6 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.422/1.422, allocations: 275 MB / 0.6476 GB, free: 2.48 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.803e-05, allocations: 2.312 kB / 0.9295 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001237/0.001255, allocations: 0.813 MB / 0.9303 GB, free: 7.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002578, allocations: 1.476 MB / 0.9317 GB, free: 5.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.002637, allocations: 8.594 kB / 0.9318 GB, free: 5.844 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.003017, allocations: 205.4 kB / 0.932 GB, free: 5.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.003101, allocations: 109.5 kB / 0.9321 GB, free: 5.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.003671, allocations: 355.3 kB / 0.9324 GB, free: 5.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.004002, allocations: 447.4 kB / 0.9328 GB, free: 4.766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.00411, allocations: 33.72 kB / 0.9329 GB, free: 4.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.004301, allocations: 263.5 kB / 0.9331 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.004478, allocations: 171.6 kB / 0.9333 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.004518, allocations: 28 kB / 0.9333 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.004652, allocations: 103.4 kB / 0.9334 GB, free: 4.18 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.000233/0.004885, allocations: 437 kB / 0.9338 GB, free: 3.75 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 7.726e-05/0.004963, allocations: 201.5 kB / 0.934 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.004989, allocations: 12 kB / 0.934 GB, free: 3.539 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.921e-05/0.005009, allocations: 7.938 kB / 0.934 GB, free: 3.531 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: 27 (15) * Number of variables: 27 (15) Notification: Performance of [SIM] Bindings: time 0.001056/0.006064, allocations: 1.489 MB / 0.9355 GB, free: 1.926 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002481/0.006312, allocations: 261.1 kB / 0.9357 GB, free: 1.668 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0004406/0.006753, allocations: 0.7354 MB / 0.9364 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 0.0001693/0.006922, allocations: 205.5 kB / 0.9366 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0006808/0.007603, allocations: 0.6863 MB / 0.9373 GB, free: 15.89 MB / 0.7137 GB Notification: Performance of [SIM] Simplify 2: time 0.0001354/0.007738, allocations: 193.7 kB / 0.9375 GB, free: 15.67 MB / 0.7137 GB Notification: Performance of [SIM] Remove Stream: time 9.922e-05/0.007838, allocations: 161.6 kB / 0.9376 GB, free: 15.48 MB / 0.7137 GB Notification: Performance of [SIM] Detect States: time 0.0003001/0.008138, allocations: 394.6 kB / 0.938 GB, free: 15.04 MB / 0.7137 GB Notification: Performance of [SIM] Events: time 0.0001447/0.008282, allocations: 141.1 kB / 0.9382 GB, free: 14.92 MB / 0.7137 GB Notification: Performance of [SIM] Partitioning: time 0.0002312/0.008514, allocations: 292.3 kB / 0.9384 GB, free: 14.56 MB / 0.7137 GB Notification: Performance of [SIM] Causalize: time 0.0003656/0.008879, allocations: 401.9 kB / 0.9388 GB, free: 14.12 MB / 0.7137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004194/0.009299, allocations: 0.7807 MB / 0.9396 GB, free: 13.34 MB / 0.7137 GB Notification: Performance of [INI] Simplify: time 0.0006415/0.00994, allocations: 0.6423 MB / 0.9402 GB, free: 12.66 MB / 0.7137 GB Notification: Performance of [INI] Inline: time 0.0005122/0.01045, allocations: 0.9534 MB / 0.9411 GB, free: 11.7 MB / 0.7137 GB Notification: Performance of [INI] Partitioning: time 2.878e-05/0.01048, allocations: 26.75 kB / 0.9412 GB, free: 11.66 MB / 0.7137 GB Notification: Performance of [INI] Cleanup: time 0.0001368/0.01062, allocations: 235.7 kB / 0.9414 GB, free: 11.43 MB / 0.7137 GB Error: Internal error NBSlice.locationToIndex failed because value of 2 is too large for size 1. Error: Internal error NBSlice.resolveDependency failed for: $FUN_8[$f1, $f2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_SIM_49) [----] for {$f1 in 1:2, $f2 in 1:1} loop [----] [SCAL] (1) $FUN_8[$f1, $f2] = 1.0 ($RES_SIM_50) [----] end for; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.4760957146063447] Failed to read output from testmodel.py, exit status != 0: 0.016208226792514324 0.024060192 0.017516871 Calling exit ...