Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001368/0.001368, 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.001426/0.001426, allocations: 167.2 kB / 23.23 MB, free: 4.195 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.335/1.335, allocations: 177.2 MB / 203.6 MB, free: 8.207 MB / 190.1 MB " [Timeout remaining time 178] 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.05665/0.05665, allocations: 9.136 MB / 269.2 MB, free: 11.47 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.0006933/0.0006933, allocations: 23.91 kB / 328.6 MB, free: 15.9 MB / 318.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.062/2.062, allocations: 275.1 MB / 0.6477 GB, free: 444 kB / 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.896e-05, allocations: 5.453 kB / 0.9294 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001689/0.001708, allocations: 0.7132 MB / 0.9301 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003313, allocations: 1.236 MB / 0.9313 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.003361, allocations: 0 / 0.9313 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.00339, allocations: 3.938 kB / 0.9313 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.003462, allocations: 11.92 kB / 0.9314 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.003965, allocations: 145.1 kB / 0.9315 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004151, allocations: 127.7 kB / 0.9316 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.004232, allocations: 12 kB / 0.9316 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004348, allocations: 67.88 kB / 0.9317 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.004442, allocations: 43.86 kB / 0.9317 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.00447, allocations: 8 kB / 0.9317 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.004542, allocations: 27.98 kB / 0.9318 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of combineBinaries: time 0.0001353/0.004677, allocations: 119.2 kB / 0.9319 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of replaceArrayConstructors: time 3.615e-05/0.004713, allocations: 51.34 kB / 0.9319 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.004742, allocations: 4 kB / 0.9319 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-05/0.004754, allocations: 4 kB / 0.9319 GB, free: 8.559 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0006525/0.005407, allocations: 496 kB / 0.9324 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001041/0.005511, allocations: 52.02 kB / 0.9325 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of [SIM] Early Inline: time 0.0003773/0.005888, allocations: 324.1 kB / 0.9328 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 1: time 0.0001484/0.006037, allocations: 112.3 kB / 0.9329 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of [SIM] Alias: time 0.0005639/0.006601, allocations: 329 kB / 0.9332 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 2: time 0.0001249/0.006726, allocations: 96.36 kB / 0.9333 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of [SIM] Remove Stream: time 0.0001091/0.006835, allocations: 100.3 kB / 0.9334 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of [SIM] Detect States: time 0.0002814/0.007116, allocations: 204.8 kB / 0.9336 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of [SIM] Events: time 8.524e-05/0.007201, allocations: 44.03 kB / 0.9336 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of [SIM] Partitioning: time 0.0001622/0.007364, allocations: 116.5 kB / 0.9337 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of [SIM] Causalize: time 0.0001912/0.007555, allocations: 115.9 kB / 0.9338 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002437/0.007798, allocations: 255.8 kB / 0.9341 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of [INI] Simplify: time 0.0002897/0.008088, allocations: 188.7 kB / 0.9343 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of [INI] Inline: time 0.0003309/0.008419, allocations: 343.6 kB / 0.9346 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of [INI] Partitioning: time 1.594e-05/0.008435, allocations: 12.12 kB / 0.9346 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of [INI] Cleanup: time 9.993e-05/0.008535, allocations: 83.91 kB / 0.9347 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of [INI] Causalize: time 0.0002993/0.008834, allocations: 179.5 kB / 0.9348 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of [INI] Tearing: time 1.569e-05/0.00885, allocations: 19.88 kB / 0.9349 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.00885, allocations: 0 / 0.9349 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of [SIM] Remove Dummies: time 3.807e-06/0.008854, allocations: 0 / 0.9349 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of [SIM] Tearing: time 4.469e-06/0.008859, allocations: 4 kB / 0.9349 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of [SIM] Categorize: time 7.885e-06/0.008867, allocations: 4 kB / 0.9349 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of [SIM] Solve: time 0.0001064/0.008973, allocations: 51.97 kB / 0.9349 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of [SIM] Jacobian: time 9.337e-06/0.008982, allocations: 4 kB / 0.9349 GB, free: 5 MB / 0.7794 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.51e-07/0.008983, allocations: 7.938 kB / 0.9349 GB, free: 4.992 MB / 0.7794 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: .................... 2 (2) {booPul.y, triggeredMax.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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.353e-05/0.009016, allocations: 13.78 kB / 0.9349 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of SimCode: time 0.0005757/0.009592, allocations: 329.3 kB / 0.9353 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.003945/0.01354, allocations: 1.24 MB / 0.9365 GB, free: 3.457 MB / 0.7794 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.831040270626545] Failed to read output from testmodel.py, exit status != 0: 0.020954430103302002 0.034981783 0.027294174 Calling exit ...