Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001142/0.001142, 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.001321/0.001321, allocations: 168.2 kB / 23.23 MB, free: 4.469 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.387/1.387, allocations: 177.2 MB / 203.6 MB, free: 9.172 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.05862/0.05862, allocations: 9.149 MB / 269.2 MB, free: 7.914 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.000593/0.000593, allocations: 27.95 kB / 328.6 MB, free: 42.35 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.333/2.333, allocations: 275.1 MB / 0.6477 GB, free: 6.203 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.682e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.49 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001472/0.001489, allocations: 0.7377 MB / 0.9302 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002541, allocations: 1.101 MB / 0.9313 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.002583, allocations: 1.156 kB / 0.9313 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.002605, allocations: 9.344 kB / 0.9313 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.002661, allocations: 18.16 kB / 0.9313 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.002896, allocations: 51.31 kB / 0.9313 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.002979, allocations: 85.23 kB / 0.9314 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.003074, allocations: 16.52 kB / 0.9314 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.946e-05/0.003153, allocations: 46.11 kB / 0.9315 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.003207, allocations: 21.33 kB / 0.9315 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.003227, allocations: 6.531 kB / 0.9315 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.003283, allocations: 26.8 kB / 0.9315 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.137e-05/0.003375, allocations: 104.2 kB / 0.9316 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.76e-05/0.003402, allocations: 66.38 kB / 0.9317 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.003427, allocations: 8.656 kB / 0.9317 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.097e-05/0.003438, allocations: 5.344 kB / 0.9317 GB, free: 20.97 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: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0005253/0.003963, allocations: 417.7 kB / 0.9321 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.000134/0.004097, allocations: 99.8 kB / 0.9322 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0001771/0.004275, allocations: 196.8 kB / 0.9324 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 6.5e-05/0.00434, allocations: 56.36 kB / 0.9324 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0004103/0.00475, allocations: 278 kB / 0.9327 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 4.55e-05/0.004795, allocations: 61.53 kB / 0.9328 GB, free: 20 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 3.346e-05/0.004829, allocations: 50.86 kB / 0.9328 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001592/0.004988, allocations: 158.5 kB / 0.933 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 6.916e-05/0.005057, allocations: 46.05 kB / 0.933 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001352/0.005192, allocations: 122.5 kB / 0.9331 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.000179/0.005371, allocations: 121.4 kB / 0.9332 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001223/0.005494, allocations: 167 kB / 0.9334 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0001608/0.005655, allocations: 144.2 kB / 0.9335 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0001569/0.005811, allocations: 204.8 kB / 0.9337 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.514e-05/0.005827, allocations: 25 kB / 0.9337 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 4.347e-05/0.00587, allocations: 43.72 kB / 0.9338 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003361/0.006206, allocations: 249.2 kB / 0.934 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.137e-05/0.006217, allocations: 6.875 kB / 0.934 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 9.42e-07/0.006218, allocations: 5.469 kB / 0.934 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 9.107e-06/0.006228, allocations: 0 / 0.934 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 3.196e-06/0.006231, allocations: 9.156 kB / 0.934 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 6.102e-06/0.006237, allocations: 1.469 kB / 0.934 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001387/0.006375, allocations: 95.22 kB / 0.9341 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.214e-06/0.006383, allocations: 1.188 kB / 0.9341 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.01e-07/0.006383, allocations: 3.938 kB / 0.9341 GB, free: 19.09 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: .................... 2 (2) {triggeredSampler1.y, triggeredSampler.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {samTri.y, samTri1.y, $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: ........... 7 (scalar:7, 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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.605e-05/0.006419, allocations: 35.27 kB / 0.9342 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0004797/0.006899, allocations: 333 kB / 0.9345 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.003319/0.01022, allocations: 0.7887 MB / 0.9353 GB, free: 18.77 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.120621081441641] Failed to read output from testmodel.py, exit status != 0: 0.01650906726717949 0.027914828000000003 0.022088490000000002 Calling exit ...