Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0007733/0.0007733, allocations: 80.25 kB / 20.05 MB, free: 4.469 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.001103/0.001103, allocations: 177.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.7824/0.7824, allocations: 177.2 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.03159/0.03159, allocations: 9.118 MB / 269.2 MB, free: 4.445 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.0003804/0.0003804, allocations: 23.95 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.354/1.354, allocations: 274.9 MB / 0.6476 GB, free: 2.824 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/1.95e-05, allocations: 5.547 kB / 0.9296 GB, free: 20.68 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001296/0.001316, allocations: 0.8438 MB / 0.9304 GB, free: 20.15 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002342, allocations: 1.21 MB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.002392, allocations: 1.219 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.002423, allocations: 9.844 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.002489, allocations: 16.66 kB / 0.9316 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.002892, allocations: 161 kB / 0.9318 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.003065, allocations: 177.1 kB / 0.9319 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003173, allocations: 25.81 kB / 0.932 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003278, allocations: 96.3 kB / 0.9321 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.003358, allocations: 51.64 kB / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.003382, allocations: 14.88 kB / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.426e-05/0.003436, allocations: 23.91 kB / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.000108/0.003544, allocations: 216 kB / 0.9323 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 2.81e-05/0.003573, allocations: 105 kB / 0.9324 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.003602, allocations: 11.5 kB / 0.9325 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.372e-05/0.003616, allocations: 6.531 kB / 0.9325 GB, free: 18.81 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of [SIM] Bindings: time 0.000477/0.004093, allocations: 0.6956 MB / 0.9331 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001128/0.004205, allocations: 95.88 kB / 0.9332 GB, free: 18.17 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0002262/0.004432, allocations: 385 kB / 0.9336 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001035/0.004535, allocations: 120.4 kB / 0.9337 GB, free: 17.85 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0005111/0.005046, allocations: 487.9 kB / 0.9342 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 7.474e-05/0.005121, allocations: 115.1 kB / 0.9343 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 5.593e-05/0.005177, allocations: 104.3 kB / 0.9344 GB, free: 17.37 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0001856/0.005362, allocations: 242.5 kB / 0.9346 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.725e-05/0.00543, allocations: 47.2 kB / 0.9347 GB, free: 17.12 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001315/0.005561, allocations: 197.8 kB / 0.9349 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0001817/0.005743, allocations: 212.7 kB / 0.9351 GB, free: 16.79 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001678/0.005911, allocations: 321.9 kB / 0.9354 GB, free: 16.63 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0002225/0.006133, allocations: 262.8 kB / 0.9356 GB, free: 16.45 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0002123/0.006345, allocations: 386.6 kB / 0.936 GB, free: 16.25 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.25e-05/0.006358, allocations: 17.44 kB / 0.936 GB, free: 16.23 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 6.756e-05/0.006425, allocations: 107.5 kB / 0.9361 GB, free: 16.16 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0003018/0.006727, allocations: 327.8 kB / 0.9364 GB, free: 16.08 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.41e-05/0.006741, allocations: 14.78 kB / 0.9364 GB, free: 16.07 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 7.91e-07/0.006742, allocations: 1.344 kB / 0.9364 GB, free: 16.07 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 5.851e-05/0.006801, allocations: 93.88 kB / 0.9365 GB, free: 15.95 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 4.769e-06/0.006805, allocations: 1.938 kB / 0.9365 GB, free: 15.95 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 3.377e-06/0.006809, allocations: 11.12 kB / 0.9365 GB, free: 15.95 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 8.476e-06/0.006817, allocations: 5.188 kB / 0.9365 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0001493/0.006967, allocations: 158.3 kB / 0.9367 GB, free: 15.89 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 0.0001419/0.007108, allocations: 0.7001 MB / 0.9374 GB, free: 15.09 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.02e-07/0.007109, allocations: 0 / 0.9374 GB, free: 15.09 MB / 0.7293 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 3 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 3 (3) {intDef.y, intWitRes1.y, intWitRes2.y} * Number of discrete states: .................... 1 (1) {booleanPulse.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {intWitRes1.trigger, $TEV_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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 21 (scalar:21, 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.068e-05/0.00714, allocations: 38.97 kB / 0.9374 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0006074/0.007747, allocations: 0.5763 MB / 0.938 GB, free: 14.72 MB / 0.7293 GB Notification: Performance of Templates: time 0.003107/0.01085, allocations: 1.668 MB / 0.9396 GB, free: 14.52 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.378322737291455] Failed to read output from testmodel.py, exit status != 0: 0.015659854747354984 0.023338115000000003 0.018310794000000002 Calling exit ...