Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.0008386/0.0008386, 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.0008922/0.0008922, allocations: 178.3 kB / 23.36 MB, free: 1.156 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.8307/0.8307, allocations: 177.1 MB / 203.7 MB, free: 5.695 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.03322/0.03322, allocations: 9.124 MB / 269.2 MB, free: 4.41 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.0003867/0.0003867, allocations: 27.72 kB / 328.7 MB, free: 5.766 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.395/1.395, allocations: 274.9 MB / 0.6476 GB, free: 2.859 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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/1.931e-05, allocations: 2.312 kB / 0.9296 GB, free: 20.85 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002051/0.00207, allocations: 1.885 MB / 0.9314 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.00343, allocations: 1.721 MB / 0.9331 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.003559, allocations: 11.75 kB / 0.9331 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.003737, allocations: 93.31 kB / 0.9332 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003868, allocations: 96.34 kB / 0.9333 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.004446, allocations: 422.8 kB / 0.9337 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.004943, allocations: 0.8619 MB / 0.9345 GB, free: 17.51 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.005209, allocations: 244 kB / 0.9348 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.005488, allocations: 451.5 kB / 0.9352 GB, free: 17.12 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.005671, allocations: 234.2 kB / 0.9354 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.005744, allocations: 86.69 kB / 0.9355 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.005839, allocations: 98.12 kB / 0.9356 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0004303/0.006269, allocations: 1.111 MB / 0.9367 GB, free: 16.27 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 0.0001873/0.006456, allocations: 0.6427 MB / 0.9373 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.006533, allocations: 52.53 kB / 0.9374 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of FrontEnd: time 4.391e-05/0.006577, allocations: 47.16 kB / 0.9374 GB, free: 15.8 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: 131 (131) * Number of variables: 131 (131) Notification: Performance of [SIM] Bindings: time 0.004836/0.01141, allocations: 2.967 MB / 0.9403 GB, free: 13.7 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003004/0.01171, allocations: 391.8 kB / 0.9407 GB, free: 13.45 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0009445/0.01266, allocations: 1.732 MB / 0.9424 GB, free: 12.33 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0003248/0.01298, allocations: 324.3 kB / 0.9427 GB, free: 12.18 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.00252/0.0155, allocations: 3.238 MB / 0.9458 GB, free: 10.25 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0002295/0.01573, allocations: 252 kB / 0.9461 GB, free: 10.14 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 0.0001398/0.01587, allocations: 228.8 kB / 0.9463 GB, free: 10 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.000393/0.01626, allocations: 0.5706 MB / 0.9469 GB, free: 9.566 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 7.592e-05/0.01634, allocations: 59.55 kB / 0.9469 GB, free: 9.539 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0003445/0.01668, allocations: 460.2 kB / 0.9473 GB, free: 9.266 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0006561/0.01734, allocations: 0.7594 MB / 0.9481 GB, free: 9.062 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005265/0.01787, allocations: 1.017 MB / 0.9491 GB, free: 8.453 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0009469/0.01881, allocations: 1.007 MB / 0.9501 GB, free: 7.938 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0008784/0.01969, allocations: 1.59 MB / 0.9516 GB, free: 6.969 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 5.347e-05/0.01975, allocations: 43.28 kB / 0.9517 GB, free: 6.938 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0003887/0.02013, allocations: 0.7315 MB / 0.9524 GB, free: 6.461 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.003694/0.02383, allocations: 3.961 MB / 0.9562 GB, free: 5.586 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 4.438e-05/0.02387, allocations: 116.5 kB / 0.9564 GB, free: 5.5 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 2.094e-06/0.02388, allocations: 0 / 0.9564 GB, free: 5.5 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002658/0.02414, allocations: 243.8 kB / 0.9566 GB, free: 5.398 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 5.971e-06/0.02415, allocations: 4 kB / 0.9566 GB, free: 5.395 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 1.249e-05/0.02416, allocations: 44.38 kB / 0.9566 GB, free: 5.363 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 1.357e-05/0.02417, allocations: 6.734 kB / 0.9566 GB, free: 5.359 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.001057/0.02523, allocations: 1.138 MB / 0.9577 GB, free: 4.93 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 0.000466/0.0257, allocations: 0.7893 MB / 0.9585 GB, free: 4.344 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.859e-06/0.0257, allocations: 0 / 0.9585 GB, free: 4.344 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: ............... 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: ............................. 6 (6) {pidSca.addPID.u2, pidSca.D.x, pla1.y, pidNoSca.addPID.u2, pidNoSca.D.x, pla2.y} * Number of discrete states: .................... 2 (2) {booPul.y, pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {pidSca.trigger, $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: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 111 (scalar:111, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: ........... 111 (scalar:111, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 5.106e-05/0.02575, allocations: 62.08 kB / 0.9586 GB, free: 4.285 MB / 0.7293 GB Notification: Performance of SimCode: time 0.002128/0.02788, allocations: 2.634 MB / 0.9612 GB, free: 3.082 MB / 0.7293 GB Notification: Performance of Templates: time 0.007617/0.0355, allocations: 6.154 MB / 0.9672 GB, free: 1.266 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.642275920137763] Failed to read output from testmodel.py, exit status != 0: 0.03942899499088526 0.047542018000000005 0.039397646 Calling exit ...