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.0007349/0.0007349, allocations: 80.25 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.0007235/0.0007235, 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.8262/0.8262, allocations: 177.1 MB / 203.7 MB, free: 5.699 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.03284/0.03284, allocations: 9.121 MB / 269.3 MB, free: 4.414 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.0003986/0.0003986, allocations: 31.72 kB / 328.7 MB, free: 20.6 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.4/1.4, allocations: 275 MB / 0.6476 GB, free: 2.496 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.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.23e-05/2.23e-05, allocations: 2.312 kB / 0.9295 GB, free: 8.109 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001301/0.001323, allocations: 0.6691 MB / 0.9302 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002563, allocations: 1.311 MB / 0.9314 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.002605, allocations: 1.031 kB / 0.9314 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.002636, allocations: 11.86 kB / 0.9315 GB, free: 6.133 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.002707, allocations: 26.02 kB / 0.9315 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.003234, allocations: 288.1 kB / 0.9318 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.003455, allocations: 273.2 kB / 0.932 GB, free: 5.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.00356, allocations: 16.66 kB / 0.932 GB, free: 5.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.003686, allocations: 147.8 kB / 0.9322 GB, free: 5.398 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.003785, allocations: 76.44 kB / 0.9322 GB, free: 5.324 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.003813, allocations: 25.06 kB / 0.9323 GB, free: 5.301 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-05/0.003876, allocations: 31.98 kB / 0.9323 GB, free: 5.27 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0003937/0.004269, allocations: 222.8 kB / 0.9325 GB, free: 5.051 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 2.619e-05/0.004296, allocations: 79.58 kB / 0.9326 GB, free: 4.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.004332, allocations: 16 kB / 0.9326 GB, free: 4.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.261e-05/0.004345, allocations: 0.7188 kB / 0.9326 GB, free: 4.957 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.0005727/0.004917, allocations: 0.7354 MB / 0.9333 GB, free: 4.102 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 6.045e-05/0.004978, allocations: 57.14 kB / 0.9334 GB, free: 4.035 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002777/0.005256, allocations: 0.4921 MB / 0.9339 GB, free: 3.516 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 0.0001515/0.005407, allocations: 208.9 kB / 0.9341 GB, free: 3.285 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004781/0.005885, allocations: 455.8 kB / 0.9345 GB, free: 2.77 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 0.0001314/0.006017, allocations: 212.1 kB / 0.9347 GB, free: 2.535 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 0.0001084/0.006125, allocations: 192.2 kB / 0.9349 GB, free: 2.32 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0002679/0.006393, allocations: 343.9 kB / 0.9352 GB, free: 1.922 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.566e-05/0.006469, allocations: 58.2 kB / 0.9353 GB, free: 1.871 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001164/0.006585, allocations: 128.5 kB / 0.9354 GB, free: 1.711 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0001624/0.006747, allocations: 150.3 kB / 0.9355 GB, free: 1.559 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002579/0.007005, allocations: 0.4956 MB / 0.936 GB, free: 1.062 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0002973/0.007303, allocations: 376.2 kB / 0.9364 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0002668/0.007569, allocations: 0.5191 MB / 0.9369 GB, free: 128 kB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.429e-05/0.007584, allocations: 20.12 kB / 0.9369 GB, free: 100 kB / 0.698 GB Notification: Performance of [INI] Cleanup: time 0.0001123/0.007696, allocations: 171.8 kB / 0.9371 GB, free: 15.93 MB / 0.7137 GB Notification: Performance of [INI] Causalize: time 0.0002972/0.007993, allocations: 298.2 kB / 0.9373 GB, free: 15.63 MB / 0.7137 GB Notification: Performance of [INI] Tearing: time 1.117e-05/0.008004, allocations: 7.438 kB / 0.9373 GB, free: 15.62 MB / 0.7137 GB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.008005, allocations: 0 / 0.9373 GB, free: 15.62 MB / 0.7137 GB Notification: Performance of [SIM] DAE-Mode: time 1.484e-05/0.00802, allocations: 12.12 kB / 0.9374 GB, free: 15.61 MB / 0.7137 GB Notification: Performance of [SIM] Remove Dummies: time 3.907e-06/0.008024, allocations: 0 / 0.9374 GB, free: 15.61 MB / 0.7137 GB Notification: Performance of [SIM] Tearing: time 3.576e-06/0.008027, allocations: 12 kB / 0.9374 GB, free: 15.59 MB / 0.7137 GB Notification: Performance of [SIM] Categorize: time 7.224e-06/0.008034, allocations: 0 / 0.9374 GB, free: 15.59 MB / 0.7137 GB Notification: Performance of [SIM] Solve: time 7.124e-05/0.008106, allocations: 51.95 kB / 0.9374 GB, free: 15.54 MB / 0.7137 GB Notification: Performance of [SIM] Jacobian: time 7.804e-06/0.008113, allocations: 4 kB / 0.9374 GB, free: 15.54 MB / 0.7137 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.41e-07/0.008114, allocations: 0.6562 kB / 0.9374 GB, free: 15.54 MB / 0.7137 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.78e-05/0.008152, allocations: 39.22 kB / 0.9375 GB, free: 15.52 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0005022/0.008654, allocations: 415.9 kB / 0.9379 GB, free: 15.09 MB / 0.7137 GB Notification: Performance of Templates: time 0.003338/0.01199, allocations: 2.275 MB / 0.9401 GB, free: 12.86 MB / 0.7137 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: 4.487029141746461] Failed to read output from testmodel.py, exit status != 0: 0.016633447259664536 0.024625395 0.018648819 Calling exit ...