Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001484/0.001484, 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.001634/0.001634, allocations: 164.9 kB / 23.23 MB, free: 4.477 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.392/1.392, allocations: 177.2 MB / 203.6 MB, free: 9.172 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.0584/0.0584, allocations: 9.141 MB / 269.2 MB, free: 7.906 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.0006905/0.0006905, allocations: 35.86 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.327/2.327, allocations: 275.1 MB / 0.6477 GB, free: 6.207 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.85e-05, allocations: 2.281 kB / 0.9294 GB, free: 22.55 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001448/0.001467, allocations: 0.6428 MB / 0.9301 GB, free: 22.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.00253, allocations: 1.11 MB / 0.9311 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.002569, allocations: 0.8125 kB / 0.9311 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.002596, allocations: 0.6094 kB / 0.9311 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.002654, allocations: 10.36 kB / 0.9311 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.002909, allocations: 47.83 kB / 0.9312 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.622e-05/0.002995, allocations: 50.88 kB / 0.9312 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.003072, allocations: 9.594 kB / 0.9313 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.003147, allocations: 35.2 kB / 0.9313 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.00319, allocations: 16.25 kB / 0.9313 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.003206, allocations: 3.938 kB / 0.9313 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.003268, allocations: 28.03 kB / 0.9313 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of combineBinaries: time 7.896e-05/0.003347, allocations: 70.34 kB / 0.9314 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.951e-05/0.003367, allocations: 42.91 kB / 0.9314 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.00339, allocations: 2.75 kB / 0.9314 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.959e-06/0.0034, allocations: 1.125 kB / 0.9314 GB, free: 21.18 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004008/0.003801, allocations: 339.2 kB / 0.9318 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001132/0.003914, allocations: 67.77 kB / 0.9318 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0001791/0.004093, allocations: 186.2 kB / 0.932 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 5.564e-05/0.004149, allocations: 60.16 kB / 0.9321 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0003485/0.004497, allocations: 233.2 kB / 0.9323 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 5.301e-05/0.00455, allocations: 47.41 kB / 0.9323 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 2.879e-05/0.004579, allocations: 51.64 kB / 0.9324 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001508/0.00473, allocations: 136.9 kB / 0.9325 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 6.331e-05/0.004793, allocations: 39.84 kB / 0.9326 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001195/0.004913, allocations: 113 kB / 0.9327 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0001741/0.005087, allocations: 108.2 kB / 0.9328 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.986e-05/0.005187, allocations: 134.2 kB / 0.9329 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0001658/0.005352, allocations: 127.7 kB / 0.933 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0001567/0.005509, allocations: 207.2 kB / 0.9332 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.072e-05/0.00552, allocations: 12.11 kB / 0.9332 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 3.947e-05/0.005559, allocations: 42.59 kB / 0.9333 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003749/0.005934, allocations: 280.1 kB / 0.9335 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 9.548e-06/0.005944, allocations: 2.438 kB / 0.9335 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 4.1e-07/0.005944, allocations: 0 / 0.9335 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 3.908e-06/0.005948, allocations: 4 kB / 0.9335 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 2.716e-06/0.005951, allocations: 6.344 kB / 0.9335 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 6.072e-06/0.005957, allocations: 1.531 kB / 0.9335 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.000108/0.006065, allocations: 68.23 kB / 0.9336 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 6.883e-06/0.006072, allocations: 0 / 0.9336 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4e-07/0.006072, allocations: 4 kB / 0.9336 GB, free: 19.45 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) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 6 (scalar:6, 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: ........... 11 (scalar:11, 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.028e-05/0.006102, allocations: 29.2 kB / 0.9336 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of SimCode: time 0.000433/0.006535, allocations: 280.5 kB / 0.9339 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.003169/0.009704, allocations: 0.7218 MB / 0.9346 GB, free: 19.16 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.120560705661774] Failed to read output from testmodel.py, exit status != 0: 0.015986334532499313 0.027280909000000002 0.021497411 Calling exit ...