Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.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.0006718/0.0006718, allocations: 76.25 kB / 20.05 MB, free: 4.469 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.0006795/0.0006795, 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.7904/0.7904, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.03212/0.03212, allocations: 9.121 MB / 269.2 MB, free: 4.422 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.0002847/0.0002847, allocations: 31.72 kB / 328.7 MB, free: 5.785 MB / 298.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.389/1.389, allocations: 274.9 MB / 0.6476 GB, free: 2.82 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.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/1.91e-05, allocations: 5.688 kB / 0.9295 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001183/0.001202, allocations: 0.7901 MB / 0.9303 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.002199, allocations: 1.326 MB / 0.9316 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.002242, allocations: 6.719 kB / 0.9316 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.002272, allocations: 9.891 kB / 0.9316 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.002334, allocations: 24.97 kB / 0.9316 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.002827, allocations: 306.3 kB / 0.9319 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.00305, allocations: 314.1 kB / 0.9322 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.003147, allocations: 33.03 kB / 0.9322 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.00328, allocations: 163.3 kB / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.003389, allocations: 88.62 kB / 0.9325 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.003422, allocations: 24.78 kB / 0.9325 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.003488, allocations: 43.34 kB / 0.9326 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.000149/0.003637, allocations: 304.3 kB / 0.9328 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 3.224e-05/0.003669, allocations: 122.6 kB / 0.933 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.003704, allocations: 18.94 kB / 0.933 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.307e-05/0.003717, allocations: 3.188 kB / 0.933 GB, free: 18.76 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.0006051/0.004322, allocations: 0.8962 MB / 0.9339 GB, free: 18.1 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 6.604e-05/0.004389, allocations: 78.42 kB / 0.9339 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0003441/0.004733, allocations: 0.6009 MB / 0.9345 GB, free: 17.69 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001755/0.004908, allocations: 215.4 kB / 0.9347 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0006251/0.005533, allocations: 0.7078 MB / 0.9354 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0001453/0.005678, allocations: 205.5 kB / 0.9356 GB, free: 16.98 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 0.000119/0.005797, allocations: 208 kB / 0.9358 GB, free: 16.86 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0002531/0.006051, allocations: 363.3 kB / 0.9362 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.919e-05/0.00612, allocations: 56.55 kB / 0.9362 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001274/0.006247, allocations: 159.3 kB / 0.9364 GB, free: 16.43 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.000205/0.006452, allocations: 196.7 kB / 0.9365 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002853/0.006737, allocations: 0.5447 MB / 0.9371 GB, free: 16.1 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0003457/0.007083, allocations: 410.3 kB / 0.9375 GB, free: 15.87 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.00033/0.007413, allocations: 0.6179 MB / 0.9381 GB, free: 15.54 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.372e-05/0.007427, allocations: 19.62 kB / 0.9381 GB, free: 15.52 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0001194/0.007546, allocations: 187.3 kB / 0.9383 GB, free: 15.41 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.000377/0.007923, allocations: 403.7 kB / 0.9387 GB, free: 15.31 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.06e-05/0.007934, allocations: 12.31 kB / 0.9387 GB, free: 15.3 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.007934, allocations: 0 / 0.9387 GB, free: 15.3 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 1.36e-05/0.007948, allocations: 19.91 kB / 0.9387 GB, free: 15.28 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 3.998e-06/0.007952, allocations: 1 kB / 0.9387 GB, free: 15.28 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 3.036e-06/0.007955, allocations: 6.812 kB / 0.9387 GB, free: 15.27 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 6.902e-06/0.007962, allocations: 8.531 kB / 0.9387 GB, free: 15.27 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 9.802e-05/0.00806, allocations: 76 kB / 0.9388 GB, free: 15.24 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 6.993e-06/0.008067, allocations: 5 kB / 0.9388 GB, free: 15.24 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.41e-07/0.008068, allocations: 3.938 kB / 0.9388 GB, free: 15.23 MB / 0.7293 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 3 (3) {booPul3.y, booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {integerSwitch.y, booToInt.y, proInt.y, booToInt1.y, proInt1.y, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.749e-05/0.008125, allocations: 41.34 kB / 0.9388 GB, free: 15.21 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0005546/0.00868, allocations: 0.503 MB / 0.9393 GB, free: 14.96 MB / 0.7293 GB Notification: Performance of Templates: time 0.003593/0.01227, allocations: 2.441 MB / 0.9417 GB, free: 14.66 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.420545668341219] Failed to read output from testmodel.py, exit status != 0: 0.01644147653132677 0.023709083000000002 0.018558029 Calling exit ...