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.001558/0.001558, allocations: 78.03 kB / 19.95 MB, free: 1.949 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.001734/0.001734, allocations: 164.2 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.374/1.374, allocations: 177.2 MB / 203.6 MB, free: 9.203 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.057/0.057, allocations: 9.148 MB / 269.2 MB, free: 7.949 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.0006968/0.0006968, allocations: 36.8 kB / 328.6 MB, free: 42.38 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.309/2.309, allocations: 275.1 MB / 0.6477 GB, free: 6.238 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.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.729e-05/1.729e-05, allocations: 2.281 kB / 0.9294 GB, free: 22.54 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001474/0.001492, allocations: 0.6396 MB / 0.9301 GB, free: 22.15 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002581, allocations: 1.114 MB / 0.9311 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.002622, allocations: 0 / 0.9311 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.002645, allocations: 4.5 kB / 0.9311 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.002703, allocations: 14.08 kB / 0.9312 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.002955, allocations: 48.42 kB / 0.9312 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.003051, allocations: 53.53 kB / 0.9313 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.00313, allocations: 17.45 kB / 0.9313 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.003198, allocations: 24.36 kB / 0.9313 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.003248, allocations: 25.64 kB / 0.9313 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003264, allocations: 3.562 kB / 0.9313 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.003323, allocations: 23.53 kB / 0.9313 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of combineBinaries: time 7.205e-05/0.003395, allocations: 77.7 kB / 0.9314 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.815e-05/0.003413, allocations: 39.41 kB / 0.9315 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.003429, allocations: 3.969 kB / 0.9315 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.318e-06/0.003438, allocations: 3.938 kB / 0.9315 GB, free: 21.16 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003639/0.003802, allocations: 349.1 kB / 0.9318 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001166/0.003919, allocations: 92.23 kB / 0.9319 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0001801/0.004099, allocations: 197.5 kB / 0.9321 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 7.158e-05/0.00417, allocations: 48.67 kB / 0.9321 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0004172/0.004587, allocations: 236.5 kB / 0.9323 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 4.417e-05/0.004632, allocations: 59.34 kB / 0.9324 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 2.864e-05/0.00466, allocations: 43.72 kB / 0.9324 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001524/0.004813, allocations: 146.5 kB / 0.9326 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 6.449e-05/0.004877, allocations: 37.58 kB / 0.9326 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001481/0.005025, allocations: 122.2 kB / 0.9327 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0002112/0.005236, allocations: 127.8 kB / 0.9329 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001245/0.005361, allocations: 158.6 kB / 0.933 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0001864/0.005547, allocations: 131.8 kB / 0.9331 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0001751/0.005722, allocations: 227.1 kB / 0.9334 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.435e-05/0.005737, allocations: 16.19 kB / 0.9334 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 4.355e-05/0.00578, allocations: 51.36 kB / 0.9334 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0004539/0.006234, allocations: 308.8 kB / 0.9337 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.097e-05/0.006245, allocations: 6.188 kB / 0.9337 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 9.92e-07/0.006246, allocations: 0.9688 kB / 0.9337 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.178e-06/0.00625, allocations: 4 kB / 0.9337 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 2.975e-06/0.006253, allocations: 10.25 kB / 0.9337 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 6.252e-06/0.00626, allocations: 2 kB / 0.9337 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001189/0.006379, allocations: 82.03 kB / 0.9338 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.544e-06/0.006386, allocations: 0.9688 kB / 0.9338 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.41e-07/0.006387, allocations: 0 / 0.9338 GB, free: 19.36 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) {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 3.65e-05/0.006423, allocations: 31.02 kB / 0.9338 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0004672/0.00689, allocations: 291.4 kB / 0.9341 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.003961/0.01085, allocations: 0.7408 MB / 0.9348 GB, free: 19.07 MB / 0.7325 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 sys.exit(0), Time elapsed: 7.137604143470526] Failed to read output from testmodel.py, exit status != 0: 0.017282016575336456 0.028662060000000003 0.022863073 Calling exit ...