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.0007807/0.0007807, allocations: 80.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.001029/0.001029, 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.8202/0.8202, allocations: 177.2 MB / 203.7 MB, free: 5.688 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.03166/0.03166, allocations: 9.118 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.0003941/0.0003941, allocations: 35.72 kB / 328.7 MB, free: 20.59 MB / 266.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.417/1.417, allocations: 275 MB / 0.6476 GB, free: 2.473 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.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 2.213e-05/2.213e-05, allocations: 2.312 kB / 0.9295 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001248/0.00127, allocations: 0.6951 MB / 0.9302 GB, free: 7.477 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002374, allocations: 1.234 MB / 0.9314 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002415, allocations: 0 / 0.9314 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.002441, allocations: 4.875 kB / 0.9314 GB, free: 6.227 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.002501, allocations: 15.86 kB / 0.9314 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.002893, allocations: 142.1 kB / 0.9315 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.003036, allocations: 131.7 kB / 0.9316 GB, free: 5.945 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.003124, allocations: 4 kB / 0.9316 GB, free: 5.941 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.003218, allocations: 64.53 kB / 0.9317 GB, free: 5.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.003287, allocations: 43.86 kB / 0.9318 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.003308, allocations: 10 kB / 0.9318 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.003364, allocations: 24 kB / 0.9318 GB, free: 5.805 MB / 0.698 GB Notification: Performance of combineBinaries: time 8.187e-05/0.003446, allocations: 119.2 kB / 0.9319 GB, free: 5.688 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 1.979e-05/0.003466, allocations: 55.28 kB / 0.932 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.003492, allocations: 4 kB / 0.932 GB, free: 5.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.068e-05/0.003502, allocations: 4.5 kB / 0.932 GB, free: 5.625 MB / 0.698 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.0004475/0.00395, allocations: 493.9 kB / 0.9324 GB, free: 5.023 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003384/0.004288, allocations: 68.8 kB / 0.9325 GB, free: 4.945 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002169/0.004505, allocations: 324.1 kB / 0.9328 GB, free: 4.602 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 9.427e-05/0.004599, allocations: 106.7 kB / 0.9329 GB, free: 4.473 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004084/0.005008, allocations: 345.6 kB / 0.9332 GB, free: 4.062 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 6.783e-05/0.005076, allocations: 97.5 kB / 0.9333 GB, free: 3.941 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 5.34e-05/0.005129, allocations: 96.36 kB / 0.9334 GB, free: 3.82 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001793/0.005308, allocations: 197.5 kB / 0.9336 GB, free: 3.562 MB / 0.698 GB Notification: Performance of [SIM] Events: time 6.874e-05/0.005377, allocations: 37.86 kB / 0.9336 GB, free: 3.531 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001106/0.005488, allocations: 120.5 kB / 0.9338 GB, free: 3.379 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0001421/0.00563, allocations: 119.9 kB / 0.9339 GB, free: 3.254 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001308/0.00576, allocations: 267.6 kB / 0.9341 GB, free: 2.992 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0001845/0.005945, allocations: 183.7 kB / 0.9343 GB, free: 2.766 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.000175/0.00612, allocations: 343.7 kB / 0.9346 GB, free: 2.426 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.029e-05/0.00613, allocations: 16.11 kB / 0.9346 GB, free: 2.402 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 5.065e-05/0.006181, allocations: 82.11 kB / 0.9347 GB, free: 2.324 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0002142/0.006395, allocations: 194.4 kB / 0.9349 GB, free: 2.125 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 1.022e-05/0.006405, allocations: 4 kB / 0.9349 GB, free: 2.121 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.006406, allocations: 0 / 0.9349 GB, free: 2.121 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 4.406e-05/0.00645, allocations: 30.66 kB / 0.9349 GB, free: 2.086 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 3.857e-06/0.006454, allocations: 1.281 kB / 0.9349 GB, free: 2.086 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 3.216e-06/0.006457, allocations: 8 kB / 0.935 GB, free: 2.078 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 7.464e-06/0.006464, allocations: 3.984 kB / 0.935 GB, free: 2.074 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 9.169e-05/0.006556, allocations: 88.38 kB / 0.935 GB, free: 1.992 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 9.655e-05/0.006653, allocations: 190 kB / 0.9352 GB, free: 1.77 MB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.72e-07/0.006653, allocations: 0 / 0.9352 GB, free: 1.77 MB / 0.698 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.337e-05/0.006687, allocations: 35.7 kB / 0.9353 GB, free: 1.75 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004867/0.007173, allocations: 340.5 kB / 0.9356 GB, free: 1.398 MB / 0.698 GB Notification: Performance of Templates: time 0.002525/0.009698, allocations: 1.26 MB / 0.9368 GB, free: 168 kB / 0.698 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 os._exit(0), Time elapsed: 6.890415552072227] Failed to read output from testmodel.py, exit status != 0: 0.014545336365699768 0.02291502 0.017798951 Calling exit ...