Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.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.00129/0.00129, 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.001394/0.001394, allocations: 170.8 kB / 23.23 MB, free: 4.207 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.345/1.345, allocations: 177.2 MB / 203.6 MB, free: 8.219 MB / 190.1 MB " [Timeout remaining time 178] 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.05787/0.05787, allocations: 9.142 MB / 269.2 MB, free: 11.57 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.0006892/0.0006892, allocations: 31.94 kB / 328.6 MB, free: 0 / 302.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.06/2.06, allocations: 275.1 MB / 0.6477 GB, free: 448 kB / 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.125e-05, allocations: 2.281 kB / 0.9295 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00166/0.001681, allocations: 0.6812 MB / 0.9301 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.003388, allocations: 1.303 MB / 0.9314 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.003435, allocations: 0 / 0.9314 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.00348, allocations: 3.938 kB / 0.9314 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.003559, allocations: 27.78 kB / 0.9314 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.004343, allocations: 311.3 kB / 0.9317 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.004662, allocations: 267.5 kB / 0.932 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004764, allocations: 20.14 kB / 0.932 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.004947, allocations: 143.8 kB / 0.9321 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.005076, allocations: 67.88 kB / 0.9322 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.005134, allocations: 20 kB / 0.9322 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.005221, allocations: 47.92 kB / 0.9323 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of combineBinaries: time 0.000239/0.00546, allocations: 226.8 kB / 0.9325 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of replaceArrayConstructors: time 4.855e-05/0.005508, allocations: 71.09 kB / 0.9326 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.00555, allocations: 16 kB / 0.9326 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.19e-05/0.005562, allocations: 3.938 kB / 0.9326 GB, free: 7.945 MB / 0.7794 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.000921/0.006483, allocations: 0.7302 MB / 0.9333 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of [SIM] FunctionAlias: time 7.892e-05/0.006562, allocations: 56 kB / 0.9333 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of [SIM] Early Inline: time 0.000528/0.00709, allocations: 0.4961 MB / 0.9338 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 1: time 0.0002895/0.00738, allocations: 204.1 kB / 0.934 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of [SIM] Alias: time 0.0006987/0.008078, allocations: 456.6 kB / 0.9345 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 2: time 0.0002524/0.008331, allocations: 200.2 kB / 0.9346 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of [SIM] Remove Stream: time 0.0002262/0.008557, allocations: 200.2 kB / 0.9348 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of [SIM] Detect States: time 0.0004412/0.008998, allocations: 343.3 kB / 0.9352 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of [SIM] Events: time 9.457e-05/0.009093, allocations: 59.72 kB / 0.9352 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of [SIM] Partitioning: time 0.0001731/0.009266, allocations: 128.5 kB / 0.9353 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of [SIM] Causalize: time 0.0002266/0.009492, allocations: 131.9 kB / 0.9355 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004972/0.00999, allocations: 0.4995 MB / 0.936 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of [INI] Simplify: time 0.0005292/0.01052, allocations: 384.2 kB / 0.9363 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of [INI] Inline: time 0.0005279/0.01105, allocations: 0.5191 MB / 0.9368 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of [INI] Partitioning: time 2.665e-05/0.01107, allocations: 12.12 kB / 0.9368 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of [INI] Cleanup: time 0.0002098/0.01128, allocations: 171.8 kB / 0.937 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of [INI] Causalize: time 0.0004462/0.01173, allocations: 272.1 kB / 0.9373 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of [INI] Tearing: time 1.234e-05/0.01174, allocations: 8 kB / 0.9373 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of [SIM] Initialization: time 4.3e-07/0.01174, allocations: 0 / 0.9373 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.01175, allocations: 0 / 0.9373 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of [SIM] Tearing: time 7.474e-06/0.01175, allocations: 12 kB / 0.9373 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of [SIM] Categorize: time 5.67e-06/0.01176, allocations: 0 / 0.9373 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of [SIM] Solve: time 0.0001024/0.01186, allocations: 55.89 kB / 0.9373 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of [SIM] Jacobian: time 6.993e-06/0.01187, allocations: 0 / 0.9373 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.21e-07/0.01187, allocations: 4 kB / 0.9373 GB, free: 2.57 MB / 0.7794 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: .................... 3 (3) {booPul3.y, booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {logicalSwitch.y, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ............ 3 (algorithm:3, 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.597e-05/0.0119, allocations: 24.69 kB / 0.9374 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of SimCode: time 0.0006631/0.01257, allocations: 434 kB / 0.9378 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of Templates: time 0.005307/0.01787, allocations: 2.4 MB / 0.9401 GB, free: 15.79 MB / 0.795 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.838121850043535] Failed to read output from testmodel.py, exit status != 0: 0.025551777333021164 0.039938801 0.031370901 Calling exit ...