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.001556/0.001556, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.002005/0.002005, allocations: 166.3 kB / 23.23 MB, free: 4.469 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.387/1.387, allocations: 177.2 MB / 203.6 MB, free: 9.152 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.05958/0.05958, allocations: 9.153 MB / 269.2 MB, free: 7.891 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.0006759/0.0006759, allocations: 31.88 kB / 328.6 MB, free: 42.33 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.306/2.306, allocations: 275.1 MB / 0.6477 GB, free: 6.191 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.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.759e-05/1.759e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.42 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001592/0.001609, allocations: 0.8411 MB / 0.9303 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002826, allocations: 1.203 MB / 0.9315 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.002884, allocations: 1.125 kB / 0.9315 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.002921, allocations: 9.281 kB / 0.9315 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.003001, allocations: 24.42 kB / 0.9316 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.003471, allocations: 156.6 kB / 0.9317 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.003666, allocations: 184.4 kB / 0.9319 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.003772, allocations: 26.94 kB / 0.9319 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.003911, allocations: 95.16 kB / 0.932 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.004004, allocations: 50.95 kB / 0.932 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.004039, allocations: 18.97 kB / 0.9321 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.004106, allocations: 27.88 kB / 0.9321 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001494/0.004256, allocations: 208.8 kB / 0.9323 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.295e-05/0.004299, allocations: 116.5 kB / 0.9324 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.004332, allocations: 10.47 kB / 0.9324 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.327e-05/0.004346, allocations: 3.969 kB / 0.9324 GB, free: 20.54 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of [SIM] Bindings: time 0.000643/0.004989, allocations: 0.6866 MB / 0.9331 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001317/0.00512, allocations: 115.9 kB / 0.9332 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.000313/0.005433, allocations: 375.4 kB / 0.9336 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0001543/0.005588, allocations: 120.5 kB / 0.9337 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0006343/0.006222, allocations: 479.2 kB / 0.9341 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0001125/0.006334, allocations: 116.5 kB / 0.9342 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 8.926e-05/0.006424, allocations: 104.5 kB / 0.9343 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0002492/0.006673, allocations: 239.8 kB / 0.9346 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 8.025e-05/0.006753, allocations: 50.98 kB / 0.9346 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001703/0.006923, allocations: 198.2 kB / 0.9348 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0002255/0.007149, allocations: 198.2 kB / 0.935 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002533/0.007402, allocations: 323.8 kB / 0.9353 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0003112/0.007713, allocations: 248.5 kB / 0.9355 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0003065/0.00802, allocations: 393.2 kB / 0.9359 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.825e-05/0.008038, allocations: 22.94 kB / 0.9359 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 9.552e-05/0.008134, allocations: 102.1 kB / 0.936 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0004104/0.008544, allocations: 299.1 kB / 0.9363 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.277e-05/0.008557, allocations: 15 kB / 0.9363 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.008557, allocations: 0 / 0.9363 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.389e-06/0.008562, allocations: 1.219 kB / 0.9363 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 3.316e-06/0.008565, allocations: 6.781 kB / 0.9363 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 8.837e-06/0.008574, allocations: 1.312 kB / 0.9363 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001612/0.008735, allocations: 119.3 kB / 0.9365 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 0.0001476/0.008883, allocations: 0.507 MB / 0.9369 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.02e-07/0.008883, allocations: 0 / 0.9369 GB, free: 17.2 MB / 0.7325 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 7.253e-05/0.008956, allocations: 38.06 kB / 0.937 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0007057/0.009662, allocations: 0.5679 MB / 0.9375 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.004585/0.01425, allocations: 1.593 MB / 0.9391 GB, free: 16.64 MB / 0.7325 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 sys.exit(0), Time elapsed: 7.137318540364504] Failed to read output from testmodel.py, exit status != 0: 0.020481348037719727 0.031632842 0.024904111000000003 Calling exit ...