Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001252/0.001252, allocations: 78.42 kB / 19.95 MB, free: 1.945 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.001346/0.001346, allocations: 163.4 kB / 23.23 MB, free: 4.965 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.195 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.059/0.059, allocations: 9.143 MB / 269.2 MB, free: 7.941 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.0007119/0.0007119, allocations: 27.94 kB / 328.6 MB, free: 42.36 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.322/2.322, allocations: 275.1 MB / 0.6477 GB, free: 6.227 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.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/1.994e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.44 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001533/0.001553, allocations: 0.6592 MB / 0.9301 GB, free: 22.04 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002834, allocations: 1.243 MB / 0.9313 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.002874, allocations: 0.9688 kB / 0.9313 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.002901, allocations: 0.6094 kB / 0.9313 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.002961, allocations: 19.47 kB / 0.9313 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.003555, allocations: 224.4 kB / 0.9315 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.003773, allocations: 191.4 kB / 0.9317 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.003855, allocations: 10.36 kB / 0.9317 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.003993, allocations: 100.2 kB / 0.9318 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.004111, allocations: 48.66 kB / 0.9319 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.004159, allocations: 20.05 kB / 0.9319 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.004237, allocations: 32.08 kB / 0.9319 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000151/0.004388, allocations: 159.9 kB / 0.9321 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.338e-05/0.004411, allocations: 54.2 kB / 0.9321 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.004449, allocations: 11.31 kB / 0.9321 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.118e-05/0.00446, allocations: 5.031 kB / 0.9321 GB, free: 20.73 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0006008/0.005061, allocations: 0.5577 MB / 0.9327 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 7.277e-05/0.005134, allocations: 54.28 kB / 0.9327 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0003268/0.005461, allocations: 374.3 kB / 0.9331 GB, free: 20 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.000187/0.005648, allocations: 157.3 kB / 0.9333 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0004836/0.006131, allocations: 341.4 kB / 0.9336 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0001597/0.006291, allocations: 148.3 kB / 0.9337 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.000137/0.006428, allocations: 146.2 kB / 0.9339 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0003191/0.006747, allocations: 275.6 kB / 0.9341 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 6.762e-05/0.006815, allocations: 40.44 kB / 0.9342 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001475/0.006962, allocations: 99.98 kB / 0.9343 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0001567/0.007119, allocations: 104.2 kB / 0.9344 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002855/0.007404, allocations: 358.4 kB / 0.9347 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0003385/0.007743, allocations: 277.3 kB / 0.935 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0003067/0.00805, allocations: 380.7 kB / 0.9353 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.196e-05/0.008062, allocations: 10.69 kB / 0.9353 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0001209/0.008183, allocations: 121.1 kB / 0.9354 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003063/0.008489, allocations: 201 kB / 0.9356 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.349e-05/0.008502, allocations: 5.469 kB / 0.9356 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 5.91e-07/0.008503, allocations: 0 / 0.9356 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.408e-06/0.008507, allocations: 5.484 kB / 0.9357 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 1.803e-06/0.008509, allocations: 1.406 kB / 0.9357 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 9.668e-06/0.008519, allocations: 9.375 kB / 0.9357 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001008/0.00862, allocations: 43.02 kB / 0.9357 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.304e-06/0.008627, allocations: 0 / 0.9357 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.31e-07/0.008627, allocations: 0 / 0.9357 GB, free: 18.35 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) {reset.y, booPul.y, onCounter.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (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: ........... 4 (scalar:4, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 4.382e-05/0.008671, allocations: 34.05 kB / 0.9357 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006142/0.009285, allocations: 340.1 kB / 0.9361 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.004743/0.01403, allocations: 1.742 MB / 0.9378 GB, free: 17.94 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.08780625462532] Failed to read output from testmodel.py, exit status != 0: 0.02099030837416649 0.032759725 0.025888358 Calling exit ...