Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.000781/0.000781, allocations: 84.23 kB / 20.06 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.000808/0.000808, 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.8257/0.8257, 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.03321/0.03321, allocations: 9.12 MB / 269.2 MB, free: 4.426 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.0003868/0.0003868, allocations: 23.97 kB / 328.7 MB, free: 20.6 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.404/1.404, allocations: 275 MB / 0.6476 GB, free: 2.445 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/1.93e-05, allocations: 2.312 kB / 0.9295 GB, free: 8.102 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001141/0.00116, allocations: 0.652 MB / 0.9301 GB, free: 7.473 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.002053, allocations: 1.104 MB / 0.9312 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.002087, allocations: 0 / 0.9312 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.00211, allocations: 3.938 kB / 0.9312 GB, free: 6.352 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.002162, allocations: 7.938 kB / 0.9312 GB, free: 6.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.002387, allocations: 48.86 kB / 0.9312 GB, free: 6.297 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.002467, allocations: 48.41 kB / 0.9313 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.002553, allocations: 12.62 kB / 0.9313 GB, free: 6.238 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.002613, allocations: 31.92 kB / 0.9313 GB, free: 6.207 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.002646, allocations: 13.72 kB / 0.9313 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00266, allocations: 4 kB / 0.9314 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.002708, allocations: 19.98 kB / 0.9314 GB, free: 6.172 MB / 0.698 GB Notification: Performance of combineBinaries: time 5.475e-05/0.002762, allocations: 75.28 kB / 0.9314 GB, free: 6.098 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 1.615e-05/0.002779, allocations: 43.45 kB / 0.9315 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.002794, allocations: 9.375 kB / 0.9315 GB, free: 6.047 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.134e-05/0.002805, allocations: 4 kB / 0.9315 GB, free: 6.043 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.0003655/0.00317, allocations: 349.4 kB / 0.9318 GB, free: 5.582 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.000108/0.003278, allocations: 86.17 kB / 0.9319 GB, free: 5.492 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0001306/0.003409, allocations: 184.2 kB / 0.9321 GB, free: 5.285 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 4.275e-05/0.003452, allocations: 48.41 kB / 0.9321 GB, free: 5.211 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0003113/0.003763, allocations: 238.7 kB / 0.9324 GB, free: 4.914 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 2.998e-05/0.003793, allocations: 49.97 kB / 0.9324 GB, free: 4.84 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 2.46e-05/0.003818, allocations: 52.36 kB / 0.9325 GB, free: 4.762 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001478/0.003965, allocations: 132.9 kB / 0.9326 GB, free: 4.566 MB / 0.698 GB Notification: Performance of [SIM] Events: time 5.383e-05/0.004019, allocations: 38.98 kB / 0.9326 GB, free: 4.531 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 9.969e-05/0.004119, allocations: 109.2 kB / 0.9327 GB, free: 4.391 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.000137/0.004256, allocations: 121.3 kB / 0.9328 GB, free: 4.266 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 6.382e-05/0.00432, allocations: 131.8 kB / 0.933 GB, free: 4.137 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0001163/0.004436, allocations: 119.8 kB / 0.9331 GB, free: 3.973 MB / 0.698 GB Notification: Performance of [INI] Inline: time 9.678e-05/0.004533, allocations: 195.9 kB / 0.9333 GB, free: 3.777 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 9.398e-06/0.004542, allocations: 12.78 kB / 0.9333 GB, free: 3.758 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 2.432e-05/0.004567, allocations: 43.59 kB / 0.9333 GB, free: 3.719 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0001724/0.004739, allocations: 190.2 kB / 0.9335 GB, free: 3.523 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 9.157e-06/0.004748, allocations: 0 / 0.9335 GB, free: 3.523 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 5.71e-07/0.004749, allocations: 4 kB / 0.9335 GB, free: 3.52 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 3.729e-05/0.004786, allocations: 33.55 kB / 0.9335 GB, free: 3.48 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 2.835e-06/0.004789, allocations: 0 / 0.9335 GB, free: 3.48 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 3.496e-06/0.004792, allocations: 8 kB / 0.9335 GB, free: 3.473 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 5.48e-06/0.004798, allocations: 2.875 kB / 0.9335 GB, free: 3.473 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 0.0001028/0.004901, allocations: 104.3 kB / 0.9336 GB, free: 3.371 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 9.117e-05/0.004992, allocations: 182.1 kB / 0.9338 GB, free: 3.156 MB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.71e-07/0.004992, allocations: 0 / 0.9338 GB, free: 3.156 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) {unitDelay1.y, unitDelay1.u_internal} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {unitDelay1.sampleTrigger, $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: ........... 12 (scalar:12, 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.207e-05/0.005024, allocations: 37.11 kB / 0.9339 GB, free: 3.129 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004213/0.005445, allocations: 299.8 kB / 0.9341 GB, free: 2.816 MB / 0.698 GB Notification: Performance of Templates: time 0.001891/0.007336, allocations: 0.7363 MB / 0.9349 GB, free: 2.098 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.692375709302723] Failed to read output from testmodel.py, exit status != 0: 0.012011264450848103 0.019869314000000003 0.015571604000000001 Calling exit ...