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.001541/0.001541, allocations: 82.42 kB / 19.96 MB, free: 1.941 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.001709/0.001709, allocations: 160 kB / 23.23 MB, free: 4.973 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.381/1.381, allocations: 177.2 MB / 203.6 MB, free: 9.184 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.05785/0.05785, allocations: 9.148 MB / 269.2 MB, free: 7.926 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.0006788/0.0006788, allocations: 27.92 kB / 328.6 MB, free: 42.37 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.308/2.308, allocations: 275.1 MB / 0.6477 GB, free: 6.254 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.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.634e-05/1.634e-05, allocations: 3.406 kB / 0.9295 GB, free: 22.51 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001532/0.001549, allocations: 0.7931 MB / 0.9302 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002812, allocations: 1.326 MB / 0.9315 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.002874, allocations: 1.25 kB / 0.9315 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.002907, allocations: 10.66 kB / 0.9315 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.002985, allocations: 29.41 kB / 0.9316 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.003698, allocations: 323.9 kB / 0.9319 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.003987, allocations: 318.7 kB / 0.9322 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.004088, allocations: 31.53 kB / 0.9322 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.004274, allocations: 162.8 kB / 0.9324 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.004418, allocations: 87.89 kB / 0.9324 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.004475, allocations: 26.56 kB / 0.9325 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.004567, allocations: 39.25 kB / 0.9325 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002221/0.004789, allocations: 303.4 kB / 0.9328 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.752e-05/0.004836, allocations: 123.6 kB / 0.9329 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.004883, allocations: 18 kB / 0.9329 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.579e-05/0.004899, allocations: 7.219 kB / 0.9329 GB, free: 20.35 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.0007858/0.005684, allocations: 0.8952 MB / 0.9338 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 7.902e-05/0.005763, allocations: 81.97 kB / 0.9339 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0004709/0.006234, allocations: 0.5975 MB / 0.9345 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.000246/0.00648, allocations: 219.1 kB / 0.9347 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0008188/0.007299, allocations: 0.6938 MB / 0.9354 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0002183/0.007517, allocations: 210.5 kB / 0.9356 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0001813/0.007699, allocations: 202.6 kB / 0.9358 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0003586/0.008057, allocations: 361.3 kB / 0.9361 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 8.389e-05/0.008141, allocations: 61.05 kB / 0.9362 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001691/0.00831, allocations: 155.3 kB / 0.9363 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.000248/0.008558, allocations: 183.5 kB / 0.9365 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004145/0.008973, allocations: 0.5522 MB / 0.937 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0004658/0.009439, allocations: 401.7 kB / 0.9374 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.000492/0.009931, allocations: 0.6217 MB / 0.938 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.778e-05/0.009948, allocations: 14.59 kB / 0.938 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0001833/0.01013, allocations: 199.4 kB / 0.9382 GB, free: 17 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0005126/0.01064, allocations: 368.7 kB / 0.9386 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.297e-05/0.01066, allocations: 11.75 kB / 0.9386 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 5.52e-07/0.01066, allocations: 4 kB / 0.9386 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 5.029e-06/0.01066, allocations: 4 kB / 0.9386 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 2.795e-06/0.01067, allocations: 3.188 kB / 0.9386 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 7.053e-06/0.01067, allocations: 5.281 kB / 0.9386 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001386/0.01081, allocations: 75.69 kB / 0.9387 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.985e-06/0.01082, allocations: 4 kB / 0.9387 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.81e-07/0.01082, allocations: 0 / 0.9387 GB, free: 16.88 MB / 0.7325 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 8.655e-05/0.01091, allocations: 38.39 kB / 0.9387 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0007598/0.01167, allocations: 0.5398 MB / 0.9392 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.005431/0.0171, allocations: 2.556 MB / 0.9417 GB, free: 16.27 MB / 0.7325 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: 7.139502760022879] Failed to read output from testmodel.py, exit status != 0: 0.023277465254068375 0.034778091000000004 0.027509558000000003 Calling exit ...