Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.0008407/0.0008407, allocations: 84.23 kB / 20.06 MB, free: 4.461 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.001046/0.001046, allocations: 173.9 kB / 23.36 MB, free: 1.156 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.8242/0.8242, allocations: 177.1 MB / 203.7 MB, free: 5.703 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.03287/0.03287, allocations: 9.119 MB / 269.2 MB, free: 4.422 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.0003888/0.0003888, allocations: 27.94 kB / 328.7 MB, free: 5.785 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.363/1.363, allocations: 274.9 MB / 0.6476 GB, free: 2.785 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.765e-05, allocations: 2.312 kB / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00109/0.001108, allocations: 0.6598 MB / 0.9301 GB, free: 20.54 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.001956, allocations: 1.112 MB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.001988, allocations: 4 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.002011, allocations: 5.5 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.002061, allocations: 5.641 kB / 0.9312 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.002288, allocations: 48.16 kB / 0.9313 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.002374, allocations: 58.23 kB / 0.9313 GB, free: 19.67 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.002456, allocations: 8.859 kB / 0.9313 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.002523, allocations: 32.75 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.002561, allocations: 21.56 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.002574, allocations: 8.188 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.00262, allocations: 14.53 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of combineBinaries: time 5.679e-05/0.002677, allocations: 86.25 kB / 0.9315 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 1.286e-05/0.00269, allocations: 35.47 kB / 0.9315 GB, free: 19.56 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.002705, allocations: 2.938 kB / 0.9315 GB, free: 19.56 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.688e-06/0.002714, allocations: 5.156 kB / 0.9315 GB, free: 19.56 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003135/0.003028, allocations: 351.8 kB / 0.9319 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 9.602e-05/0.003124, allocations: 70.17 kB / 0.9319 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0001363/0.00326, allocations: 198.7 kB / 0.9321 GB, free: 19 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 4.667e-05/0.003307, allocations: 53.66 kB / 0.9322 GB, free: 18.94 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0003036/0.00361, allocations: 246.6 kB / 0.9324 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 2.95e-05/0.00364, allocations: 50.75 kB / 0.9325 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 2.146e-05/0.003661, allocations: 50.02 kB / 0.9325 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0001238/0.003785, allocations: 141 kB / 0.9326 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 5.489e-05/0.00384, allocations: 41.41 kB / 0.9327 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001034/0.003943, allocations: 122.1 kB / 0.9328 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0001532/0.004096, allocations: 150.6 kB / 0.9329 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.435e-05/0.004171, allocations: 150.3 kB / 0.9331 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0001312/0.004302, allocations: 128.9 kB / 0.9332 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0001148/0.004417, allocations: 224.1 kB / 0.9334 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.277e-05/0.00443, allocations: 15.72 kB / 0.9334 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 3.268e-05/0.004462, allocations: 51.77 kB / 0.9335 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0003158/0.004778, allocations: 342.2 kB / 0.9338 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 9.197e-06/0.004787, allocations: 10.78 kB / 0.9338 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.004788, allocations: 3.938 kB / 0.9338 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 3.613e-05/0.004824, allocations: 27.38 kB / 0.9339 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 3.877e-06/0.004828, allocations: 1.312 kB / 0.9339 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 2.405e-06/0.00483, allocations: 10.84 kB / 0.9339 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 5.81e-06/0.004836, allocations: 0.75 kB / 0.9339 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0001084/0.004944, allocations: 115.7 kB / 0.934 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 7.319e-05/0.005017, allocations: 200 kB / 0.9342 GB, free: 17.49 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.81e-07/0.005018, allocations: 0 / 0.9342 GB, free: 17.49 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: .................... 2 (2) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {zerOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, 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: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.426e-05/0.005042, allocations: 25 kB / 0.9342 GB, free: 17.48 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0004059/0.005448, allocations: 303.8 kB / 0.9345 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of Templates: time 0.002036/0.007484, allocations: 0.7839 MB / 0.9352 GB, free: 17.21 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.8944935305044055] Failed to read output from testmodel.py, exit status != 0: 0.011705358512699604 0.018672023000000003 0.014430128 Calling exit ...