Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.0007532/0.0007532, 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.0008445/0.0008445, 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.8355/0.8355, allocations: 177.2 MB / 203.7 MB, free: 5.691 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.03312/0.03312, allocations: 9.13 MB / 269.3 MB, free: 4.398 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.0004176/0.0004176, allocations: 38.53 kB / 328.7 MB, free: 5.762 MB / 298.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.393/1.393, allocations: 274.9 MB / 0.6476 GB, free: 2.805 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.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.181e-05, allocations: 5.688 kB / 0.9296 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.002681/0.002703, allocations: 2.787 MB / 0.9323 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.004823, allocations: 1.755 MB / 0.934 GB, free: 17.68 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.005156, allocations: 23.5 kB / 0.934 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.00545, allocations: 164 kB / 0.9342 GB, free: 17.55 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.005664, allocations: 130.6 kB / 0.9343 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.0062, allocations: 364 kB / 0.9347 GB, free: 17.22 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0007519/0.006952, allocations: 1.206 MB / 0.9359 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.007428, allocations: 426.8 kB / 0.9363 GB, free: 16.32 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.00787, allocations: 0.6003 MB / 0.9368 GB, free: 15.98 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.008119, allocations: 318 kB / 0.9371 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.008233, allocations: 118.5 kB / 0.9373 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.008321, allocations: 118.3 kB / 0.9374 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0005999/0.008921, allocations: 1.699 MB / 0.939 GB, free: 14.66 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 0.0002955/0.009216, allocations: 1.075 MB / 0.9401 GB, free: 13.94 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.009288, allocations: 59.09 kB / 0.9401 GB, free: 13.94 MB / 0.7293 GB Notification: Performance of FrontEnd: time 0.0001142/0.009403, allocations: 78.09 kB / 0.9402 GB, free: 13.89 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 (229) * Number of variables: 229 (229) Notification: Performance of [SIM] Bindings: time 0.002241/0.01164, allocations: 4.392 MB / 0.9445 GB, free: 10.77 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004442/0.01209, allocations: 0.6083 MB / 0.9451 GB, free: 10.37 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.001308/0.0134, allocations: 2.452 MB / 0.9475 GB, free: 8.727 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0003501/0.01375, allocations: 318.7 kB / 0.9478 GB, free: 8.57 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.00465/0.0184, allocations: 5.302 MB / 0.953 GB, free: 5.527 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0002004/0.0186, allocations: 214.9 kB / 0.9532 GB, free: 5.418 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 0.0001067/0.0187, allocations: 186.5 kB / 0.9534 GB, free: 5.273 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0004251/0.01913, allocations: 0.5552 MB / 0.9539 GB, free: 4.852 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 8.635e-05/0.01921, allocations: 52.73 kB / 0.9539 GB, free: 4.824 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0005126/0.01973, allocations: 0.6448 MB / 0.9546 GB, free: 4.457 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0009919/0.02072, allocations: 1.114 MB / 0.9557 GB, free: 4.184 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006273/0.02135, allocations: 1.111 MB / 0.9567 GB, free: 3.48 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.001331/0.02268, allocations: 1.274 MB / 0.958 GB, free: 2.77 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.001137/0.02381, allocations: 2.027 MB / 0.96 GB, free: 1.48 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 9.441e-05/0.02391, allocations: 61.56 kB / 0.96 GB, free: 1.434 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0004149/0.02432, allocations: 0.8221 MB / 0.9608 GB, free: 0.8711 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.005482/0.02981, allocations: 5.652 MB / 0.9664 GB, free: 15.5 MB / 0.7449 GB Notification: Performance of [INI] Tearing: time 9.288e-05/0.0299, allocations: 167 kB / 0.9665 GB, free: 15.38 MB / 0.7449 GB Notification: Performance of [SIM] Initialization: time 1.883e-06/0.0299, allocations: 1.375 kB / 0.9665 GB, free: 15.38 MB / 0.7449 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004513/0.03035, allocations: 378.4 kB / 0.9669 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of [SIM] Remove Dummies: time 5.72e-06/0.03036, allocations: 5.969 kB / 0.9669 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of [SIM] Tearing: time 2.609e-05/0.03038, allocations: 70.75 kB / 0.9669 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of [SIM] Categorize: time 1.38e-05/0.0304, allocations: 2.812 kB / 0.967 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of [SIM] Solve: time 0.001855/0.03225, allocations: 1.78 MB / 0.9687 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of [SIM] Jacobian: time 0.0008847/0.03314, allocations: 1.096 MB / 0.9698 GB, free: 13.82 MB / 0.7449 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.929e-06/0.03314, allocations: 4 kB / 0.9698 GB, free: 13.81 MB / 0.7449 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: ............................. 10 (10) {limPIDPar.addPID.u2, limPIDPar.D.x, intWitRes1.y, limPIDInp.addPID.u2, limPIDInp.D.x, intWitRes2.y, limPIPar.addPID.u2, intWitRes3.y, limPIInp.addPID.u2, intWitRes4.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {setPoi.u, $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: ........... 71 (scalar:71, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 168 (scalar:168, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 168 (scalar:168, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 7.625e-05/0.03322, allocations: 90.19 kB / 0.9699 GB, free: 13.73 MB / 0.7449 GB Notification: Performance of SimCode: time 0.003385/0.0366, allocations: 3.971 MB / 0.9737 GB, free: 11.67 MB / 0.7449 GB Notification: Performance of Templates: time 0.009399/0.046, allocations: 7.558 MB / 0.9811 GB, free: 7.875 MB / 0.7449 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.651626294478774] Failed to read output from testmodel.py, exit status != 0: 0.05082544218748808 0.057961315000000006 0.047085129 Calling exit ...