Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.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.001328/0.001328, allocations: 76.78 kB / 19.96 MB, free: 1.949 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.001408/0.001408, allocations: 166.7 kB / 23.23 MB, free: 4.965 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.377/1.377, allocations: 177.2 MB / 203.6 MB, free: 9.188 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.05859/0.05859, allocations: 9.138 MB / 269.2 MB, free: 7.938 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.0006597/0.0006597, allocations: 31.92 kB / 328.6 MB, free: 42.35 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.308/2.308, allocations: 275.1 MB / 0.6477 GB, free: 6.215 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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.199e-05, allocations: 5.344 kB / 0.9295 GB, free: 22.45 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.PID): time 0.004105/0.004127, allocations: 3.044 MB / 0.9325 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.008216, allocations: 2.159 MB / 0.9346 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.008786, allocations: 25.16 kB / 0.9346 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.009194, allocations: 177.7 kB / 0.9348 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.009568, allocations: 149.8 kB / 0.9349 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.01086, allocations: 0.5034 MB / 0.9354 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.01221, allocations: 1.402 MB / 0.9368 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.01282, allocations: 404.9 kB / 0.9372 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007027/0.01352, allocations: 0.6548 MB / 0.9378 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.01397, allocations: 357.7 kB / 0.9382 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.01414, allocations: 130.5 kB / 0.9383 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.01435, allocations: 136.2 kB / 0.9384 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0009335/0.01529, allocations: 1.783 MB / 0.9402 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0004478/0.01574, allocations: 1.102 MB / 0.9412 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.01586, allocations: 66.81 kB / 0.9413 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 0.0001446/0.01601, allocations: 72.7 kB / 0.9414 GB, free: 14.69 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: 218 (218) * Number of variables: 218 (218) Notification: Performance of [SIM] Bindings: time 0.003689/0.0197, allocations: 4.573 MB / 0.9458 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0008381/0.02054, allocations: 0.641 MB / 0.9465 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.001961/0.0225, allocations: 2.561 MB / 0.949 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0005323/0.02303, allocations: 371.8 kB / 0.9493 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.005329/0.02836, allocations: 5.025 MB / 0.9542 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0003287/0.02869, allocations: 272.9 kB / 0.9545 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0002184/0.0289, allocations: 248.1 kB / 0.9547 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0006224/0.02953, allocations: 0.6516 MB / 0.9554 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.0001014/0.02963, allocations: 69.59 kB / 0.9554 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0006971/0.03033, allocations: 0.6541 MB / 0.9561 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.001356/0.03168, allocations: 1.03 MB / 0.9571 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009614/0.03264, allocations: 1.301 MB / 0.9583 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.002101/0.03474, allocations: 1.598 MB / 0.9599 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.001871/0.03662, allocations: 2.415 MB / 0.9623 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 0.0001261/0.03674, allocations: 62.34 kB / 0.9623 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0007527/0.03749, allocations: 1.033 MB / 0.9633 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.00809/0.04559, allocations: 5.979 MB / 0.9692 GB, free: 15.42 MB / 0.7482 GB Notification: Performance of [INI] Tearing: time 0.0001541/0.04574, allocations: 193.2 kB / 0.9694 GB, free: 15.28 MB / 0.7482 GB Notification: Performance of [SIM] Initialization: time 1.182e-06/0.04574, allocations: 4 kB / 0.9694 GB, free: 15.28 MB / 0.7482 GB Notification: Performance of [SIM] Remove Dummies: time 1.375e-05/0.04575, allocations: 1.844 kB / 0.9694 GB, free: 15.27 MB / 0.7482 GB Notification: Performance of [SIM] Tearing: time 2.524e-05/0.04578, allocations: 37.31 kB / 0.9694 GB, free: 15.25 MB / 0.7482 GB Notification: Performance of [SIM] Categorize: time 1.416e-05/0.04579, allocations: 3.547 kB / 0.9694 GB, free: 15.25 MB / 0.7482 GB Notification: Performance of [SIM] Solve: time 0.001871/0.04766, allocations: 1.2 MB / 0.9706 GB, free: 14.77 MB / 0.7482 GB Notification: Performance of [SIM] Jacobian: time 0.000624/0.04829, allocations: 0.5011 MB / 0.9711 GB, free: 14.45 MB / 0.7482 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.338e-06/0.04829, allocations: 0 / 0.9711 GB, free: 14.45 MB / 0.7482 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {limPID.addPID.u2, limPID.D.x, limPI.addPID.u2, limPD.D.x, noLimPID.addPID.u2, noLimPID.D.x} * Number of discrete states: .................... 1 (1) {pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 70 (scalar:70, 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: ........... 192 (scalar:192, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 192 (scalar:192, 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 0.0001016/0.04839, allocations: 98.44 kB / 0.9712 GB, free: 14.36 MB / 0.7482 GB Notification: Performance of SimCode: time 0.004669/0.05306, allocations: 3.973 MB / 0.975 GB, free: 12.6 MB / 0.7482 GB Notification: Performance of Templates: time 0.01388/0.06694, allocations: 6.821 MB / 0.9817 GB, free: 9.457 MB / 0.7482 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.389364831149578] Failed to read output from testmodel.py, exit status != 0: 0.07395251840353012 0.08970987400000001 0.070596244 Calling exit ...