Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.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.0007076/0.0007076, allocations: 80.25 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.0008319/0.0008319, 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.7727/0.7727, allocations: 177.2 MB / 203.7 MB, free: 5.691 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.03103/0.03103, allocations: 9.114 MB / 269.3 MB, free: 4.41 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.0003611/0.0003611, allocations: 23.73 kB / 328.7 MB, free: 5.773 MB / 298.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.332/1.332, allocations: 275 MB / 0.6476 GB, free: 2.809 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.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/1.942e-05, allocations: 4.391 kB / 0.9296 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001111/0.00113, allocations: 0.6871 MB / 0.9302 GB, free: 20.45 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006112/0.001742, allocations: 0.8329 MB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.001769, allocations: 1.188 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.001793, allocations: 4.875 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.001844, allocations: 9.375 kB / 0.9311 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 5.366e-05/0.001897, allocations: 14.89 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.00197, allocations: 53.3 kB / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.002058, allocations: 9.734 kB / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.002116, allocations: 20.19 kB / 0.9312 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.002151, allocations: 19.2 kB / 0.9312 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.002169, allocations: 7.719 kB / 0.9312 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-06/0.002175, allocations: 3.375 kB / 0.9312 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of combineBinaries: time 5.125e-05/0.002227, allocations: 60.38 kB / 0.9313 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 1.116e-05/0.002238, allocations: 37.88 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-06/0.002247, allocations: 5.406 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.076e-05/0.002257, allocations: 5.125 kB / 0.9313 GB, free: 19.68 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0002821/0.00254, allocations: 331.4 kB / 0.9316 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 4.516e-05/0.002585, allocations: 42.23 kB / 0.9317 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 7.644e-05/0.002661, allocations: 154.5 kB / 0.9318 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 4.397e-05/0.002705, allocations: 45.52 kB / 0.9318 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0003058/0.003011, allocations: 209.7 kB / 0.932 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 2.308e-05/0.003034, allocations: 45.08 kB / 0.9321 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 1.659e-05/0.003051, allocations: 42 kB / 0.9321 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 6.873e-05/0.003119, allocations: 125.8 kB / 0.9323 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.462e-05/0.003184, allocations: 45.95 kB / 0.9323 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 8.792e-05/0.003272, allocations: 110.8 kB / 0.9324 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0001283/0.0034, allocations: 115.2 kB / 0.9325 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 6.723e-05/0.003467, allocations: 134.3 kB / 0.9326 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 7.78e-05/0.003545, allocations: 106.9 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 8.306e-05/0.003628, allocations: 180.1 kB / 0.9329 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 6.432e-06/0.003635, allocations: 11.11 kB / 0.9329 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 2.589e-05/0.003661, allocations: 39.44 kB / 0.933 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0001382/0.003799, allocations: 126.3 kB / 0.9331 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 8.536e-06/0.003807, allocations: 12 kB / 0.9331 GB, free: 18.1 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 2.9e-07/0.003808, allocations: 1.219 kB / 0.9331 GB, free: 18.1 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 4.454e-05/0.003852, allocations: 32.2 kB / 0.9331 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.003855, allocations: 0 / 0.9331 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 2.043e-06/0.003857, allocations: 6.688 kB / 0.9331 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 5.831e-06/0.003863, allocations: 3.938 kB / 0.9331 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.000111/0.003974, allocations: 138.8 kB / 0.9333 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 7.867e-05/0.004053, allocations: 185.2 kB / 0.9334 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.61e-07/0.004054, allocations: 0 / 0.9334 GB, free: 17.82 MB / 0.7293 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: .................... 0 (0) {} * 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: ........... 7 (scalar:7, 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: [Initialization] 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: ............ 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 2.775e-05/0.004081, allocations: 41.14 kB / 0.9335 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003053/0.004387, allocations: 268.6 kB / 0.9337 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of Templates: time 0.001795/0.006182, allocations: 0.6158 MB / 0.9343 GB, free: 17.55 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.976985675282776] Failed to read output from testmodel.py, exit status != 0: 0.011069921776652336 0.018564401 0.014796867000000002 Calling exit ...