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.0007415/0.0007415, 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.0008223/0.0008223, allocations: 178.3 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.812/0.812, allocations: 177.2 MB / 203.7 MB, free: 5.715 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.03253/0.03253, allocations: 9.131 MB / 269.2 MB, free: 4.434 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.0004152/0.0004152, allocations: 27.94 kB / 328.7 MB, free: 5.793 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.439/1.439, allocations: 274.9 MB / 0.6476 GB, free: 2.875 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.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.978e-05/1.978e-05, allocations: 5.406 kB / 0.9295 GB, free: 20.97 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001283/0.001303, allocations: 0.6535 MB / 0.9301 GB, free: 20.56 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.002248, allocations: 1.101 MB / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.002291, allocations: 3.938 kB / 0.9312 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002316, allocations: 3.938 kB / 0.9312 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/0.002374, allocations: 10.34 kB / 0.9312 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.002653, allocations: 40.34 kB / 0.9313 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 9.462e-05/0.002748, allocations: 50.5 kB / 0.9313 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.002843, allocations: 14.2 kB / 0.9313 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.002913, allocations: 30.7 kB / 0.9313 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.002954, allocations: 16.69 kB / 0.9314 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.002969, allocations: 3.594 kB / 0.9314 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.003027, allocations: 27.27 kB / 0.9314 GB, free: 19.67 MB / 0.7293 GB Notification: Performance of combineBinaries: time 6.248e-05/0.003089, allocations: 71.5 kB / 0.9315 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 1.42e-05/0.003104, allocations: 34.62 kB / 0.9315 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.003121, allocations: 2.875 kB / 0.9315 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.211e-05/0.003133, allocations: 9.188 kB / 0.9315 GB, free: 19.6 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0003606/0.003493, allocations: 339 kB / 0.9318 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001189/0.003612, allocations: 72.25 kB / 0.9319 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0001558/0.003768, allocations: 191.8 kB / 0.9321 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 5.006e-05/0.003818, allocations: 47.94 kB / 0.9321 GB, free: 18.99 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0003449/0.004163, allocations: 241.5 kB / 0.9324 GB, free: 18.78 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 3.748e-05/0.0042, allocations: 49.05 kB / 0.9324 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 2.243e-05/0.004223, allocations: 49.02 kB / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0001408/0.004364, allocations: 145.1 kB / 0.9326 GB, free: 18.5 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.435e-05/0.004428, allocations: 27.75 kB / 0.9326 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001115/0.004539, allocations: 117.5 kB / 0.9327 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0001618/0.004701, allocations: 117.2 kB / 0.9328 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.754e-05/0.004779, allocations: 141.1 kB / 0.933 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0001575/0.004936, allocations: 122.2 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0001221/0.005058, allocations: 203.7 kB / 0.9333 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.1e-05/0.005069, allocations: 20.86 kB / 0.9333 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 3.366e-05/0.005103, allocations: 41.98 kB / 0.9333 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0003386/0.005442, allocations: 303.8 kB / 0.9336 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.075e-05/0.005452, allocations: 10.97 kB / 0.9336 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 7.71e-07/0.005453, allocations: 0 / 0.9336 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 4.556e-05/0.005499, allocations: 23.62 kB / 0.9337 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 3.888e-06/0.005503, allocations: 1.188 kB / 0.9337 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 3.316e-06/0.005506, allocations: 6.844 kB / 0.9337 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 7.574e-06/0.005513, allocations: 0.5625 kB / 0.9337 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0001108/0.005624, allocations: 105.4 kB / 0.9338 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 8.028e-05/0.005705, allocations: 181.6 kB / 0.9339 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.01e-07/0.005705, allocations: 0 / 0.9339 GB, free: 17.62 MB / 0.7293 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 2.975e-05/0.005735, allocations: 36.73 kB / 0.934 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000493/0.006228, allocations: 299.6 kB / 0.9343 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of Templates: time 0.002394/0.008622, allocations: 0.7303 MB / 0.935 GB, free: 17.32 MB / 0.7293 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 os._exit(0), Time elapsed: 6.082809334620833] Failed to read output from testmodel.py, exit status != 0: 0.013152152299880981 0.021217839000000002 0.016500300000000002 Calling exit ...