Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.0007548/0.0007548, 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.0009058/0.0009058, allocations: 177.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.8027/0.8027, allocations: 177.2 MB / 203.7 MB, free: 5.199 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.03276/0.03276, allocations: 9.121 MB / 269.2 MB, free: 4.324 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.0003789/0.0003789, allocations: 35.62 kB / 328.7 MB, free: 20.59 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.375/1.375, allocations: 275 MB / 0.6476 GB, free: 2.469 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.87e-05/1.87e-05, allocations: 8.438 kB / 0.9295 GB, free: 8.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001425/0.001444, allocations: 1.074 MB / 0.9306 GB, free: 7.035 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.003053, allocations: 2.232 MB / 0.9328 GB, free: 4.793 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.003106, allocations: 4 kB / 0.9328 GB, free: 4.789 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.00314, allocations: 19.69 kB / 0.9328 GB, free: 4.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.003259, allocations: 104.4 kB / 0.9329 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.004631, allocations: 1.34 MB / 0.9342 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.005276, allocations: 1.245 MB / 0.9354 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.005325, allocations: 20.91 kB / 0.9354 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.005729, allocations: 0.6477 MB / 0.9361 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.00598, allocations: 364.7 kB / 0.9364 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.006075, allocations: 108 kB / 0.9365 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.00619, allocations: 112 kB / 0.9366 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0004807/0.006671, allocations: 1.022 MB / 0.9376 GB, free: 15.82 MB / 0.7137 GB Notification: Performance of replaceArrayConstructors: time 9.987e-05/0.00677, allocations: 280.9 kB / 0.9379 GB, free: 15.55 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.006859, allocations: 80.5 kB / 0.938 GB, free: 15.47 MB / 0.7137 GB Notification: Performance of FrontEnd: time 1.547e-05/0.006875, allocations: 8 kB / 0.938 GB, free: 15.46 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 (15) * Number of variables: 15 (15) Notification: Performance of [SIM] Bindings: time 0.00159/0.008465, allocations: 2.812 MB / 0.9407 GB, free: 12.53 MB / 0.7137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001092/0.008574, allocations: 159.8 kB / 0.9409 GB, free: 12.36 MB / 0.7137 GB Notification: Performance of [SIM] Early Inline: time 0.001144/0.009718, allocations: 2.142 MB / 0.9429 GB, free: 10.19 MB / 0.7137 GB Notification: Performance of [SIM] Simplify 1: time 0.0005632/0.01028, allocations: 0.8507 MB / 0.9438 GB, free: 9.312 MB / 0.7137 GB Notification: Performance of [SIM] Alias: time 0.0005312/0.01081, allocations: 0.8824 MB / 0.9446 GB, free: 8.379 MB / 0.7137 GB Notification: Performance of [SIM] Simplify 2: time 0.000522/0.01133, allocations: 0.843 MB / 0.9455 GB, free: 7.508 MB / 0.7137 GB Notification: Performance of [SIM] Remove Stream: time 0.0004719/0.01181, allocations: 0.8274 MB / 0.9463 GB, free: 6.652 MB / 0.7137 GB Notification: Performance of [SIM] Detect States: time 0.0007763/0.01258, allocations: 1.28 MB / 0.9475 GB, free: 5.309 MB / 0.7137 GB Notification: Performance of [SIM] Events: time 0.0002182/0.0128, allocations: 291.7 kB / 0.9478 GB, free: 5.016 MB / 0.7137 GB Notification: Performance of [SIM] Partitioning: time 0.0003499/0.01315, allocations: 0.5627 MB / 0.9484 GB, free: 4.309 MB / 0.7137 GB Notification: Performance of [SIM] Causalize: time 0.000582/0.01373, allocations: 0.7241 MB / 0.9491 GB, free: 3.473 MB / 0.7137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001217/0.01495, allocations: 2.396 MB / 0.9514 GB, free: 1.074 MB / 0.7137 GB Notification: Performance of [INI] Simplify: time 0.001062/0.01601, allocations: 1.533 MB / 0.9529 GB, free: 15.49 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.001244/0.01726, allocations: 2.468 MB / 0.9553 GB, free: 13.02 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 3.068e-05/0.01729, allocations: 29.38 kB / 0.9553 GB, free: 12.98 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0005/0.01779, allocations: 0.8155 MB / 0.9561 GB, free: 12.16 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0009035/0.01869, allocations: 1.214 MB / 0.9573 GB, free: 10.95 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.785e-05/0.01871, allocations: 32 kB / 0.9573 GB, free: 10.92 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 4.81e-07/0.01871, allocations: 0 / 0.9573 GB, free: 10.92 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 8.34e-05/0.01879, allocations: 189.7 kB / 0.9575 GB, free: 10.62 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 4.088e-06/0.0188, allocations: 3.938 kB / 0.9575 GB, free: 10.61 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 8.476e-06/0.0188, allocations: 27.94 kB / 0.9576 GB, free: 10.59 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 1.063e-05/0.01882, allocations: 11.94 kB / 0.9576 GB, free: 10.57 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0002136/0.01903, allocations: 234.2 kB / 0.9578 GB, free: 10.35 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 8.035e-06/0.01904, allocations: 4 kB / 0.9578 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.61e-07/0.01904, allocations: 0 / 0.9578 GB, free: 10.34 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: ......... 15 * 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: .................... 15 (15) {booPul_c5.y, booPul_b5.y, booPul_a5.y, booPul_c4.y, booPul_b4.y, booPul_a4.y, booPul_c3.y, booPul_b3.y, booPul_a3.y, booPul_c2.y, booPul_b2.y, booPul_a2.y, booPul_c1.y, booPul_b1.y, booPul_a1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 30 (30) {$TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_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: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 15 (algorithm:0, when:15, 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: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 15 (algorithm:15, 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 4.922e-05/0.01909, allocations: 59.92 kB / 0.9579 GB, free: 10.3 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0008304/0.01992, allocations: 1.342 MB / 0.9592 GB, free: 8.93 MB / 0.7293 GB Notification: Performance of Templates: time 0.007595/0.02751, allocations: 10.1 MB / 0.969 GB, free: 15.02 MB / 0.7449 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.617334173992276] Failed to read output from testmodel.py, exit status != 0: 0.03118336107581854 0.039046436000000004 0.030707029 Calling exit ...