Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.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.0009022/0.0009022, allocations: 84.23 kB / 20.06 MB, free: 4.465 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.000905/0.000905, allocations: 173.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.8313/0.8313, allocations: 177.1 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.03316/0.03316, allocations: 9.125 MB / 269.2 MB, free: 4.441 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.0003929/0.0003929, allocations: 23.95 kB / 328.7 MB, free: 20.58 MB / 266.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.417/1.417, allocations: 275 MB / 0.6476 GB, free: 2.461 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.848e-05, allocations: 2.312 kB / 0.9296 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001244/0.001263, allocations: 0.7522 MB / 0.9303 GB, free: 7.312 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002334, allocations: 1.187 MB / 0.9315 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.002374, allocations: 1.812 kB / 0.9315 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.0024, allocations: 3.938 kB / 0.9315 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.002461, allocations: 15.86 kB / 0.9315 GB, free: 6.094 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.00284, allocations: 142.1 kB / 0.9316 GB, free: 5.957 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.002988, allocations: 131.7 kB / 0.9317 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.003078, allocations: 19.97 kB / 0.9318 GB, free: 5.809 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.003176, allocations: 71.88 kB / 0.9318 GB, free: 5.738 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.003261, allocations: 37.41 kB / 0.9319 GB, free: 5.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.003285, allocations: 12 kB / 0.9319 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.003342, allocations: 27.98 kB / 0.9319 GB, free: 5.664 MB / 0.698 GB Notification: Performance of combineBinaries: time 9.326e-05/0.003435, allocations: 142.9 kB / 0.932 GB, free: 5.523 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 1.94e-05/0.003455, allocations: 51.84 kB / 0.9321 GB, free: 5.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.003483, allocations: 8.75 kB / 0.9321 GB, free: 5.465 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.203e-05/0.003495, allocations: 4 kB / 0.9321 GB, free: 5.461 MB / 0.698 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.0004417/0.003937, allocations: 0.5181 MB / 0.9326 GB, free: 4.824 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 5.925e-05/0.003996, allocations: 56.02 kB / 0.9327 GB, free: 4.758 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002012/0.004197, allocations: 308.1 kB / 0.933 GB, free: 4.43 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 9.906e-05/0.004296, allocations: 100.9 kB / 0.9331 GB, free: 4.305 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004056/0.004702, allocations: 347.9 kB / 0.9334 GB, free: 3.895 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 7.187e-05/0.004774, allocations: 108.3 kB / 0.9335 GB, free: 3.762 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 5.412e-05/0.004828, allocations: 92.95 kB / 0.9336 GB, free: 3.645 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001689/0.004997, allocations: 205.4 kB / 0.9338 GB, free: 3.379 MB / 0.698 GB Notification: Performance of [SIM] Events: time 9.177e-05/0.005089, allocations: 71.14 kB / 0.9338 GB, free: 3.316 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.000126/0.005215, allocations: 140.5 kB / 0.934 GB, free: 3.145 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0001626/0.005377, allocations: 148 kB / 0.9341 GB, free: 2.992 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001551/0.005532, allocations: 302 kB / 0.9344 GB, free: 2.699 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0001881/0.00572, allocations: 212.4 kB / 0.9346 GB, free: 2.441 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0001841/0.005905, allocations: 361.9 kB / 0.935 GB, free: 2.086 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.056e-05/0.005915, allocations: 8.125 kB / 0.935 GB, free: 2.07 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 5.762e-05/0.005973, allocations: 95.89 kB / 0.9351 GB, free: 1.977 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0003042/0.006277, allocations: 215.9 kB / 0.9353 GB, free: 1.758 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 1.097e-05/0.006288, allocations: 4.562 kB / 0.9353 GB, free: 1.754 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 7.41e-07/0.006289, allocations: 4 kB / 0.9353 GB, free: 1.75 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 6.089e-05/0.00635, allocations: 36.11 kB / 0.9353 GB, free: 1.707 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 3.717e-06/0.006353, allocations: 0 / 0.9353 GB, free: 1.707 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 3.587e-06/0.006357, allocations: 8 kB / 0.9353 GB, free: 1.699 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 7.574e-06/0.006364, allocations: 0 / 0.9353 GB, free: 1.699 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 0.0001377/0.006502, allocations: 147.8 kB / 0.9354 GB, free: 1.555 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 9.995e-05/0.006602, allocations: 194 kB / 0.9356 GB, free: 1.328 MB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.6e-07/0.006602, allocations: 0 / 0.9356 GB, free: 1.328 MB / 0.698 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$TEV_5, $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: ........... 9 (scalar:9, 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: ........... 10 (scalar:10, 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.473e-05/0.006637, allocations: 35.61 kB / 0.9357 GB, free: 1.305 MB / 0.698 GB Notification: Performance of SimCode: time 0.0005094/0.007146, allocations: 376 kB / 0.936 GB, free: 0.918 MB / 0.698 GB Notification: Performance of Templates: time 0.002451/0.009598, allocations: 1.388 MB / 0.9374 GB, free: 15.55 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.535023330710828] Failed to read output from testmodel.py, exit status != 0: 0.013874882832169533 0.021204764 0.016252143 Calling exit ...