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.0007805/0.0007805, allocations: 80.25 kB / 20.05 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.0008578/0.0008578, allocations: 173.9 kB / 23.36 MB, free: 1.156 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.774/0.774, 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.03124/0.03124, allocations: 9.132 MB / 269.3 MB, free: 4.414 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.0003797/0.0003797, allocations: 27.89 kB / 328.7 MB, free: 5.777 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.359/1.359, allocations: 275 MB / 0.6476 GB, free: 2.824 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.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 2.45e-05/2.45e-05, allocations: 5.375 kB / 0.9295 GB, free: 20.93 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001207/0.001231, allocations: 0.655 MB / 0.9302 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002332, allocations: 1.241 MB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.002372, allocations: 4 kB / 0.9314 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.002397, allocations: 4.594 kB / 0.9314 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.002461, allocations: 16.09 kB / 0.9314 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.00295, allocations: 214.8 kB / 0.9316 GB, free: 19.51 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.003139, allocations: 187.4 kB / 0.9318 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.003232, allocations: 8.688 kB / 0.9318 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.003343, allocations: 96.38 kB / 0.9319 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.003436, allocations: 56.73 kB / 0.9319 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.003465, allocations: 16.62 kB / 0.9319 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/0.003522, allocations: 24.2 kB / 0.932 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0001078/0.00363, allocations: 163 kB / 0.9321 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 1.689e-05/0.003647, allocations: 51.5 kB / 0.9322 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.00368, allocations: 14.25 kB / 0.9322 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.275e-05/0.003693, allocations: 1.469 kB / 0.9322 GB, free: 19.24 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0005075/0.0042, allocations: 0.5663 MB / 0.9327 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 6.417e-05/0.004264, allocations: 54.83 kB / 0.9328 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0002469/0.004511, allocations: 375.2 kB / 0.9331 GB, free: 18.5 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001344/0.004645, allocations: 144.4 kB / 0.9333 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0004361/0.005081, allocations: 361.3 kB / 0.9336 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0001212/0.005203, allocations: 144.1 kB / 0.9338 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 8.863e-05/0.005291, allocations: 150.1 kB / 0.9339 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0002343/0.005526, allocations: 286 kB / 0.9342 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.259e-05/0.005588, allocations: 24.3 kB / 0.9342 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001138/0.005702, allocations: 111.9 kB / 0.9343 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0001496/0.005852, allocations: 98.59 kB / 0.9344 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002163/0.006068, allocations: 364 kB / 0.9348 GB, free: 17.39 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0002743/0.006342, allocations: 278.7 kB / 0.935 GB, free: 17.21 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0002208/0.006563, allocations: 379.4 kB / 0.9354 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.024e-05/0.006573, allocations: 12.72 kB / 0.9354 GB, free: 17 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 8.893e-05/0.006662, allocations: 124.8 kB / 0.9355 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0002612/0.006923, allocations: 208.9 kB / 0.9357 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.102e-05/0.006934, allocations: 6.562 kB / 0.9357 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 7.32e-07/0.006935, allocations: 4 kB / 0.9357 GB, free: 16.86 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 1.434e-05/0.006949, allocations: 14.59 kB / 0.9357 GB, free: 16.84 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 5.02e-06/0.006954, allocations: 3.984 kB / 0.9357 GB, free: 16.84 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 2.655e-06/0.006957, allocations: 10.34 kB / 0.9358 GB, free: 16.83 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 9.297e-06/0.006966, allocations: 1.797 kB / 0.9358 GB, free: 16.83 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 6.096e-05/0.007027, allocations: 31.33 kB / 0.9358 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 7.575e-06/0.007035, allocations: 7.938 kB / 0.9358 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.11e-07/0.007035, allocations: 1.312 kB / 0.9358 GB, free: 16.82 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) {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 3.34e-05/0.007069, allocations: 31.31 kB / 0.9358 GB, free: 16.79 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0005423/0.007611, allocations: 315.7 kB / 0.9361 GB, free: 16.62 MB / 0.7293 GB Notification: Performance of Templates: time 0.003412/0.01102, allocations: 1.619 MB / 0.9377 GB, free: 16.45 MB / 0.7293 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: 4.393082331866026] Failed to read output from testmodel.py, exit status != 0: 0.016010363586246967 0.023604345000000002 0.018293562000000003 Calling exit ...