Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.001238/0.001238, 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.001361/0.001361, allocations: 169.5 kB / 23.24 MB, free: 4.473 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.383/1.383, allocations: 177.2 MB / 203.6 MB, free: 9.176 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.05899/0.05899, allocations: 9.152 MB / 269.2 MB, free: 7.914 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.0006849/0.0006849, allocations: 23.95 kB / 328.6 MB, free: 42.34 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.301/2.301, allocations: 275.1 MB / 0.6477 GB, free: 6.203 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.795e-05, allocations: 5.797 kB / 0.9295 GB, free: 22.4 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001793/0.001811, allocations: 0.9981 MB / 0.9305 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002854, allocations: 1.031 MB / 0.9315 GB, free: 21 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.34e-05/0.002947, allocations: 3.438 kB / 0.9315 GB, free: 21 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003066, allocations: 19.12 kB / 0.9315 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.003124, allocations: 24.03 kB / 0.9315 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.003416, allocations: 76.55 kB / 0.9316 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.003608, allocations: 197.7 kB / 0.9318 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.00376, allocations: 64.72 kB / 0.9319 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.003887, allocations: 108.6 kB / 0.932 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.003977, allocations: 58.58 kB / 0.932 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.00401, allocations: 21 kB / 0.9321 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.004064, allocations: 21.88 kB / 0.9321 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001649/0.004229, allocations: 273.1 kB / 0.9323 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.481e-05/0.004294, allocations: 169.8 kB / 0.9325 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.004318, allocations: 18.47 kB / 0.9325 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.2e-05/0.00434, allocations: 8.469 kB / 0.9325 GB, free: 20.41 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: 36 (36) * Number of variables: 36 (36) Notification: Performance of [SIM] Bindings: time 0.0006883/0.005029, allocations: 0.8326 MB / 0.9333 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001737/0.005202, allocations: 138.2 kB / 0.9335 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0004054/0.005608, allocations: 0.5236 MB / 0.934 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0001263/0.005734, allocations: 103.5 kB / 0.9341 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.001012/0.006746, allocations: 0.865 MB / 0.9349 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 8.111e-05/0.006827, allocations: 81.36 kB / 0.935 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 4.735e-05/0.006875, allocations: 64.17 kB / 0.9351 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0002109/0.007086, allocations: 223.8 kB / 0.9353 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 8.764e-05/0.007173, allocations: 44.44 kB / 0.9353 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001989/0.007372, allocations: 196.9 kB / 0.9355 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0002935/0.007666, allocations: 234.3 kB / 0.9357 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002118/0.007877, allocations: 296 kB / 0.936 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0002933/0.008171, allocations: 260.3 kB / 0.9363 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0003661/0.008537, allocations: 0.4902 MB / 0.9367 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 2.465e-05/0.008561, allocations: 34.5 kB / 0.9368 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 7.645e-05/0.008638, allocations: 101.8 kB / 0.9369 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0006432/0.009281, allocations: 498.5 kB / 0.9373 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.438e-05/0.009296, allocations: 16.16 kB / 0.9374 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 4.8e-07/0.009296, allocations: 1.344 kB / 0.9374 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.378e-06/0.0093, allocations: 4 kB / 0.9374 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 4.609e-06/0.009305, allocations: 11 kB / 0.9374 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 6.382e-06/0.009311, allocations: 1.406 kB / 0.9374 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0002521/0.009564, allocations: 194.7 kB / 0.9376 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 0.000154/0.009718, allocations: 239.6 kB / 0.9378 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.31e-07/0.009718, allocations: 0 / 0.9378 GB, free: 16.94 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: ............... 1 * Number of algebraic event partitions: ......... 0 * 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) {der1.x, der1.u, der2.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {assMes.u, lesThr.lesHys.y, $SEV_0, $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: ........... 17 (scalar:17, 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: ........... 33 (scalar:33, 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 3.441e-05/0.009752, allocations: 38.56 kB / 0.9378 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0007828/0.01054, allocations: 0.6703 MB / 0.9385 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.004233/0.01477, allocations: 1.275 MB / 0.9397 GB, free: 16.42 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.129220023751259] Failed to read output from testmodel.py, exit status != 0: 0.02098304033279419 0.032573276000000005 0.025822364 Calling exit ...