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.001547/0.001547, allocations: 78.03 kB / 19.95 MB, free: 1.945 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.001733/0.001733, allocations: 163.4 kB / 23.23 MB, free: 4.965 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.398/1.398, allocations: 177.2 MB / 203.6 MB, free: 9.18 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.0582/0.0582, allocations: 9.148 MB / 269.2 MB, free: 7.918 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.0006844/0.0006844, allocations: 31.88 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.345/2.345, allocations: 275.1 MB / 0.6477 GB, free: 6.184 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.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 2.139e-05/2.139e-05, allocations: 2.281 kB / 0.9294 GB, free: 22.51 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001641/0.001663, allocations: 0.6339 MB / 0.93 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002759, allocations: 1.11 MB / 0.9311 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.002804, allocations: 5.031 kB / 0.9311 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.002835, allocations: 3.938 kB / 0.9311 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.002892, allocations: 2.562 kB / 0.9311 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.003166, allocations: 46.8 kB / 0.9312 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003269, allocations: 51.42 kB / 0.9312 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.003366, allocations: 16.55 kB / 0.9313 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.003441, allocations: 31.59 kB / 0.9313 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.003489, allocations: 15.17 kB / 0.9313 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.003509, allocations: 4.938 kB / 0.9313 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.003578, allocations: 26.94 kB / 0.9313 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of combineBinaries: time 7.641e-05/0.003654, allocations: 74.58 kB / 0.9314 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.133e-05/0.003675, allocations: 35.53 kB / 0.9314 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.003694, allocations: 3.156 kB / 0.9314 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.166e-05/0.003706, allocations: 8.797 kB / 0.9314 GB, free: 21.14 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004162/0.004122, allocations: 359.3 kB / 0.9318 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001286/0.004251, allocations: 83.48 kB / 0.9319 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0001797/0.00443, allocations: 186.2 kB / 0.932 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 5.392e-05/0.004484, allocations: 46.94 kB / 0.9321 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0003717/0.004856, allocations: 236.4 kB / 0.9323 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 3.914e-05/0.004895, allocations: 46.12 kB / 0.9324 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 2.854e-05/0.004924, allocations: 47.86 kB / 0.9324 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001605/0.005084, allocations: 139.4 kB / 0.9325 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 6.563e-05/0.00515, allocations: 27.42 kB / 0.9326 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001306/0.00528, allocations: 110.5 kB / 0.9327 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0001746/0.005455, allocations: 111.7 kB / 0.9328 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.788e-05/0.005553, allocations: 133.4 kB / 0.9329 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0001392/0.005692, allocations: 116.6 kB / 0.933 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0001548/0.005847, allocations: 203.6 kB / 0.9332 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.193e-05/0.005859, allocations: 12.42 kB / 0.9332 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 3.408e-05/0.005893, allocations: 34.92 kB / 0.9333 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0002607/0.006153, allocations: 173.9 kB / 0.9334 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.009e-05/0.006164, allocations: 7.5 kB / 0.9334 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.006164, allocations: 0 / 0.9334 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.508e-06/0.006168, allocations: 4 kB / 0.9334 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 3.466e-06/0.006172, allocations: 13.78 kB / 0.9334 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 7.494e-06/0.006179, allocations: 1.188 kB / 0.9334 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001231/0.006302, allocations: 69.27 kB / 0.9335 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 6.863e-06/0.006309, allocations: 0 / 0.9335 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.21e-07/0.00631, allocations: 3.938 kB / 0.9335 GB, free: 19.43 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) {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 5.186e-05/0.006362, allocations: 29.94 kB / 0.9335 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005217/0.006884, allocations: 274 kB / 0.9338 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.003217/0.0101, allocations: 0.6958 MB / 0.9345 GB, free: 19.15 MB / 0.7325 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 sys.exit(0), Time elapsed: 7.184240505099297] Failed to read output from testmodel.py, exit status != 0: 0.01625501736998558 0.027904068 0.021765234 Calling exit ...