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.001307/0.001307, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001386/0.001386, allocations: 168.2 kB / 23.23 MB, free: 4.469 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.372/1.372, allocations: 177.2 MB / 203.6 MB, free: 9.156 MB / 190.1 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.05769/0.05769, allocations: 9.145 MB / 269.2 MB, free: 7.898 MB / 254.1 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.0006752/0.0006752, allocations: 32.67 kB / 328.6 MB, free: 42.34 MB / 286.1 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 2.311/2.311, allocations: 275.1 MB / 0.6477 GB, free: 6.199 MB / 0.4982 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 177] 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.671e-05/1.671e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.5 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001574/0.001591, allocations: 0.8056 MB / 0.9303 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003251, allocations: 1.48 MB / 0.9317 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.003326, allocations: 3.469 kB / 0.9317 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.003811, allocations: 208.2 kB / 0.9319 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.003962, allocations: 115.6 kB / 0.932 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.004863, allocations: 369.4 kB / 0.9324 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.005307, allocations: 438.2 kB / 0.9328 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005412, allocations: 32.42 kB / 0.9328 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.005699, allocations: 259.1 kB / 0.9331 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.005936, allocations: 171.4 kB / 0.9332 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.006002, allocations: 29.59 kB / 0.9333 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.006206, allocations: 109.3 kB / 0.9334 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0003503/0.006556, allocations: 438.8 kB / 0.9338 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 9.938e-05/0.006655, allocations: 200.1 kB / 0.934 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.006689, allocations: 18.59 kB / 0.934 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.741e-05/0.006706, allocations: 7.656 kB / 0.934 GB, free: 19.94 MB / 0.7325 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.001387/0.008093, allocations: 1.474 MB / 0.9354 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003219/0.008415, allocations: 276.5 kB / 0.9357 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0006828/0.009098, allocations: 0.724 MB / 0.9364 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0002534/0.009351, allocations: 205.2 kB / 0.9366 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0008737/0.01022, allocations: 0.6692 MB / 0.9372 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0002135/0.01044, allocations: 202 kB / 0.9374 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0001848/0.01062, allocations: 164 kB / 0.9376 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0004168/0.01104, allocations: 396.3 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.000155/0.0112, allocations: 139.7 kB / 0.9381 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0002751/0.01147, allocations: 292.4 kB / 0.9384 GB, free: 17 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.00046/0.01193, allocations: 360.2 kB / 0.9387 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006237/0.01255, allocations: 0.7816 MB / 0.9395 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0008728/0.01343, allocations: 0.6354 MB / 0.9401 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0007677/0.01419, allocations: 0.9618 MB / 0.9411 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 3.652e-05/0.01423, allocations: 22.53 kB / 0.9411 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0002243/0.01446, allocations: 234.6 kB / 0.9413 GB, free: 15.45 MB / 0.7325 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: 5.24431998282671] Failed to read output from testmodel.py, exit status != 0: 0.022067509591579437 0.033292094 0.024094813000000003 Calling exit ...