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.001182/0.001182, allocations: 77.25 kB / 19.95 MB, free: 1.945 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.001358/0.001358, allocations: 167 kB / 23.23 MB, free: 4.961 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.399/1.399, allocations: 177.2 MB / 203.6 MB, free: 9.184 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.05886/0.05886, allocations: 9.148 MB / 269.2 MB, free: 7.922 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.0006715/0.0006715, allocations: 27.23 kB / 328.6 MB, free: 42.37 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.188 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.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 2.077e-05/2.077e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.37 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001588/0.001609, allocations: 0.7569 MB / 0.9303 GB, free: 21.9 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002849, allocations: 1.188 MB / 0.9314 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.002896, allocations: 1.062 kB / 0.9314 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.002929, allocations: 4.641 kB / 0.9314 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.002995, allocations: 16.19 kB / 0.9314 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.003449, allocations: 136.7 kB / 0.9316 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.003624, allocations: 143.6 kB / 0.9317 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.00371, allocations: 14.11 kB / 0.9317 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.00382, allocations: 72.02 kB / 0.9318 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.003907, allocations: 45.02 kB / 0.9318 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.003938, allocations: 10.53 kB / 0.9318 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.004003, allocations: 23.33 kB / 0.9319 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001287/0.004131, allocations: 142.8 kB / 0.932 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.772e-05/0.004159, allocations: 60.38 kB / 0.9321 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.00419, allocations: 7.719 kB / 0.9321 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.13e-05/0.004201, allocations: 5.438 kB / 0.9321 GB, free: 20.71 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.0006001/0.004801, allocations: 0.5043 MB / 0.9326 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 7.89e-05/0.00488, allocations: 67.62 kB / 0.9326 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0002843/0.005164, allocations: 300 kB / 0.9329 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0001372/0.005302, allocations: 107.5 kB / 0.933 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0005256/0.005827, allocations: 339 kB / 0.9333 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0001151/0.005942, allocations: 102.5 kB / 0.9334 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 8.736e-05/0.00603, allocations: 98.7 kB / 0.9335 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0002268/0.006257, allocations: 206.6 kB / 0.9337 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.0001058/0.006362, allocations: 74.14 kB / 0.9338 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001527/0.006515, allocations: 128.2 kB / 0.9339 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0002227/0.006738, allocations: 137.5 kB / 0.934 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002515/0.006989, allocations: 311.3 kB / 0.9343 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0002844/0.007274, allocations: 198.6 kB / 0.9345 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0003032/0.007577, allocations: 359.5 kB / 0.9349 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.308e-05/0.00759, allocations: 16.56 kB / 0.9349 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 9.541e-05/0.007685, allocations: 93.41 kB / 0.935 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003047/0.00799, allocations: 199.3 kB / 0.9352 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 1.042e-05/0.008, allocations: 1.25 kB / 0.9352 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.008001, allocations: 1.125 kB / 0.9352 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 4.869e-06/0.008006, allocations: 4 kB / 0.9352 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 3.286e-06/0.008009, allocations: 10.38 kB / 0.9352 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 7.894e-06/0.008017, allocations: 5.938 kB / 0.9352 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001305/0.008147, allocations: 91.73 kB / 0.9353 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.263e-06/0.008155, allocations: 0 / 0.9353 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 8.82e-07/0.008155, allocations: 1.438 kB / 0.9353 GB, free: 18.46 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: .................... 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.538e-05/0.008191, allocations: 32.17 kB / 0.9353 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005736/0.008764, allocations: 343.1 kB / 0.9356 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.004243/0.01301, allocations: 1.259 MB / 0.9369 GB, free: 18.11 MB / 0.7325 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 sys.exit(0), Time elapsed: 7.182163707911968] Failed to read output from testmodel.py, exit status != 0: 0.019699718803167343 0.031448446000000005 0.024729804 Calling exit ...