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.0008454/0.0008454, allocations: 80.25 kB / 20.06 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.0009157/0.0009157, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.8028/0.8028, allocations: 177.2 MB / 203.7 MB, free: 5.711 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.03239/0.03239, allocations: 9.128 MB / 269.2 MB, free: 4.434 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.000504/0.000504, allocations: 23.95 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.409/1.409, allocations: 275 MB / 0.6476 GB, free: 2.504 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.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 2.389e-05/2.389e-05, allocations: 6.141 kB / 0.9295 GB, free: 8.004 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001483/0.001507, allocations: 0.7256 MB / 0.9302 GB, free: 7.301 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002631, allocations: 1.109 MB / 0.9313 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.002674, allocations: 2.312 kB / 0.9313 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.002705, allocations: 7.875 kB / 0.9313 GB, free: 6.172 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.002773, allocations: 11.86 kB / 0.9313 GB, free: 6.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.003076, allocations: 51.83 kB / 0.9314 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003192, allocations: 81.45 kB / 0.9315 GB, free: 6.031 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003307, allocations: 24.14 kB / 0.9315 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.003386, allocations: 35.91 kB / 0.9315 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.003432, allocations: 31.89 kB / 0.9315 GB, free: 5.938 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.003453, allocations: 4.594 kB / 0.9315 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.003504, allocations: 16 kB / 0.9316 GB, free: 5.918 MB / 0.698 GB Notification: Performance of combineBinaries: time 8.299e-05/0.003587, allocations: 112.3 kB / 0.9317 GB, free: 5.809 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 2.378e-05/0.003611, allocations: 63.09 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.003632, allocations: 4 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.221e-05/0.003644, allocations: 0.9062 kB / 0.9317 GB, free: 5.742 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: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0004368/0.004081, allocations: 429.2 kB / 0.9321 GB, free: 5.203 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001381/0.004219, allocations: 97.38 kB / 0.9322 GB, free: 5.105 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0001435/0.004363, allocations: 200.2 kB / 0.9324 GB, free: 4.883 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 6.783e-05/0.004431, allocations: 56.41 kB / 0.9325 GB, free: 4.801 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004188/0.004849, allocations: 286.6 kB / 0.9328 GB, free: 4.449 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 3.838e-05/0.004888, allocations: 62.14 kB / 0.9328 GB, free: 4.363 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 2.879e-05/0.004917, allocations: 48.42 kB / 0.9329 GB, free: 4.289 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001668/0.005083, allocations: 158.5 kB / 0.933 GB, free: 4.07 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.472e-05/0.005158, allocations: 43.47 kB / 0.9331 GB, free: 4.031 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001196/0.005278, allocations: 116.5 kB / 0.9332 GB, free: 3.883 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.000163/0.005441, allocations: 143.8 kB / 0.9333 GB, free: 3.734 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.537e-05/0.005536, allocations: 173.7 kB / 0.9335 GB, free: 3.566 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.000155/0.005691, allocations: 129.1 kB / 0.9336 GB, free: 3.391 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0001083/0.005799, allocations: 210.4 kB / 0.9338 GB, free: 3.184 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.425e-05/0.005814, allocations: 20.05 kB / 0.9338 GB, free: 3.156 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 3.241e-05/0.005846, allocations: 51.94 kB / 0.9339 GB, free: 3.105 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.000241/0.006087, allocations: 261 kB / 0.9341 GB, free: 2.844 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 1.336e-05/0.0061, allocations: 8.562 kB / 0.9341 GB, free: 2.836 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 5.1e-07/0.006101, allocations: 0 / 0.9341 GB, free: 2.836 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 4.36e-05/0.006144, allocations: 32.06 kB / 0.9341 GB, free: 2.797 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 3.757e-06/0.006148, allocations: 0 / 0.9341 GB, free: 2.797 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 1.262e-06/0.006149, allocations: 0 / 0.9341 GB, free: 2.797 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 9.658e-06/0.006159, allocations: 8 kB / 0.9342 GB, free: 2.789 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 0.000122/0.006281, allocations: 115.9 kB / 0.9343 GB, free: 2.676 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 0.0001017/0.006383, allocations: 186.1 kB / 0.9344 GB, free: 2.457 MB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.82e-07/0.006383, allocations: 0 / 0.9344 GB, free: 2.457 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) {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.627e-05/0.00642, allocations: 29.72 kB / 0.9345 GB, free: 2.438 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004975/0.006917, allocations: 345.5 kB / 0.9348 GB, free: 2.086 MB / 0.698 GB Notification: Performance of Templates: time 0.002348/0.009265, allocations: 0.8048 MB / 0.9356 GB, free: 1.301 MB / 0.698 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 os._exit(0), Time elapsed: 5.499610836617649] Failed to read output from testmodel.py, exit status != 0: 0.014621329493820667 0.022739008 0.017492595 Calling exit ...