Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.001433/0.001433, allocations: 74.72 kB / 19.96 MB, free: 1.594 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.001546/0.001546, allocations: 167.6 kB / 23.24 MB, free: 4.754 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.321/1.321, allocations: 177.2 MB / 203.6 MB, free: 9.141 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.05575/0.05575, allocations: 9.142 MB / 269.2 MB, free: 7.879 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.0006588/0.0006588, allocations: 25.88 kB / 328.6 MB, free: 42.33 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.177/2.177, allocations: 275.1 MB / 0.6477 GB, free: 6.203 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 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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.254e-05, allocations: 6 kB / 0.9294 GB, free: 22.46 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.002847/0.00286, allocations: 2.398 MB / 0.9318 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.005112, allocations: 2.163 MB / 0.9339 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.005349, allocations: 16.78 kB / 0.9339 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.005622, allocations: 128.2 kB / 0.934 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.005877, allocations: 145.4 kB / 0.9341 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.007153, allocations: 0.7759 MB / 0.9349 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009583/0.008112, allocations: 1.38 MB / 0.9362 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.008552, allocations: 328.1 kB / 0.9366 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005833/0.009135, allocations: 0.6938 MB / 0.9372 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.009491, allocations: 367.6 kB / 0.9376 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.009669, allocations: 135 kB / 0.9377 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.009862, allocations: 148.7 kB / 0.9379 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0008092/0.01067, allocations: 1.632 MB / 0.9395 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0003002/0.01097, allocations: 0.891 MB / 0.9403 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.01109, allocations: 74 kB / 0.9404 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.961e-05/0.01118, allocations: 57.12 kB / 0.9404 GB, free: 15.48 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: 169 (169) * Number of variables: 169 (169) Notification: Performance of [SIM] Bindings: time 0.002827/0.01401, allocations: 4.254 MB / 0.9446 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004015/0.01441, allocations: 0.4922 MB / 0.9451 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.001899/0.01631, allocations: 2.613 MB / 0.9476 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0006321/0.01694, allocations: 0.5214 MB / 0.9481 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.004252/0.02119, allocations: 4.281 MB / 0.9523 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0004931/0.02169, allocations: 456.1 kB / 0.9528 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0003786/0.02206, allocations: 432.5 kB / 0.9532 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0007944/0.02286, allocations: 0.9128 MB / 0.9541 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.0002005/0.02306, allocations: 168.8 kB / 0.9542 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0006393/0.0237, allocations: 0.65 MB / 0.9549 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.001187/0.02488, allocations: 1.018 MB / 0.9559 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00128/0.02617, allocations: 1.797 MB / 0.9576 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.001832/0.028, allocations: 1.534 MB / 0.9591 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.001965/0.02996, allocations: 2.528 MB / 0.9616 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 0.0001068/0.03007, allocations: 56.69 kB / 0.9616 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.001016/0.03108, allocations: 1.239 MB / 0.9628 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.006683/0.03777, allocations: 5.393 MB / 0.9681 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 7.301e-05/0.03784, allocations: 156.1 kB / 0.9683 GB, free: 436 kB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 1.933e-06/0.03784, allocations: 5.25 kB / 0.9683 GB, free: 432 kB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 1.259e-05/0.03786, allocations: 4.594 kB / 0.9683 GB, free: 428 kB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 1.254e-05/0.03787, allocations: 37.53 kB / 0.9683 GB, free: 400 kB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 1.311e-05/0.03788, allocations: 3.812 kB / 0.9683 GB, free: 400 kB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.001364/0.03925, allocations: 0.8699 MB / 0.9692 GB, free: 44 kB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 0.0004953/0.03974, allocations: 426.1 kB / 0.9696 GB, free: 15.75 MB / 0.7482 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.659e-06/0.03975, allocations: 1.094 kB / 0.9696 GB, free: 15.75 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: ......... 1 * 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: ............................. 4 (4) {PIDWitInpGai.addPID.u2, PIDWitInpGai.D.x, PID.addPID.u2, PID.D.x} * Number of discrete states: .................... 5 (5) {Td.booPul.y, Ti.booPul.y, k.booPul.y, resSig.y, pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 20 (20) {PIDWitInpGai.greThrkTd.greHys.y, PIDWitInpGai.assMeskTd.u, lesThr.lesHys.y, or2.u1, or2.u2, or2.y, $SEV_2, $SEV_1, $SEV_0, $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: ........... 67 (scalar:67, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 151 (scalar:151, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, 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: ........... 151 (scalar:151, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, 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 9.239e-05/0.03984, allocations: 80.47 kB / 0.9696 GB, free: 15.68 MB / 0.7482 GB Notification: Performance of SimCode: time 0.003943/0.04378, allocations: 3.418 MB / 0.973 GB, free: 14.15 MB / 0.7482 GB Notification: Performance of Templates: time 0.01429/0.05807, allocations: 8.185 MB / 0.981 GB, free: 10.24 MB / 0.7482 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.985959626734257] Failed to read output from testmodel.py, exit status != 0: 0.06452102586627007 0.07815696500000001 0.06426124100000001 Calling exit ...