Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001812/0.001812, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.002153/0.002153, allocations: 173.3 kB / 23.24 MB, free: 4.195 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.342/1.342, allocations: 177.2 MB / 203.6 MB, free: 8.219 MB / 190.1 MB " [Timeout remaining time 178] 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.05948/0.05948, allocations: 9.146 MB / 269.2 MB, free: 11.5 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.0007544/0.0007544, allocations: 27.94 kB / 328.6 MB, free: 15.92 MB / 318.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.056/2.056, allocations: 275.2 MB / 0.6477 GB, free: 464 kB / 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.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/1.899e-05, allocations: 4.953 kB / 0.9295 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001618/0.001637, allocations: 0.6629 MB / 0.9301 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.003229, allocations: 1.198 MB / 0.9313 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.003269, allocations: 0 / 0.9313 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.003299, allocations: 3.938 kB / 0.9313 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.003357, allocations: 11.92 kB / 0.9313 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.003829, allocations: 148.9 kB / 0.9314 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.004041, allocations: 147.7 kB / 0.9316 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.004123, allocations: 8 kB / 0.9316 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.004252, allocations: 83.86 kB / 0.9317 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.004349, allocations: 39.92 kB / 0.9317 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.004382, allocations: 12 kB / 0.9317 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.004451, allocations: 31.92 kB / 0.9317 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of combineBinaries: time 0.0001674/0.004619, allocations: 143.2 kB / 0.9319 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of replaceArrayConstructors: time 3.493e-05/0.004653, allocations: 43.34 kB / 0.9319 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.004702, allocations: 24 kB / 0.9319 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.652e-05/0.004718, allocations: 7.875 kB / 0.932 GB, free: 8.551 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0009336/0.005652, allocations: 0.5432 MB / 0.9325 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001383/0.00579, allocations: 84.03 kB / 0.9326 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of [SIM] Early Inline: time 0.0004948/0.006285, allocations: 420 kB / 0.933 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 1: time 0.0001729/0.006458, allocations: 120.2 kB / 0.9331 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of [SIM] Alias: time 0.0007329/0.007191, allocations: 352.4 kB / 0.9334 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 2: time 0.0001728/0.007363, allocations: 116.3 kB / 0.9335 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of [SIM] Remove Stream: time 0.000148/0.007512, allocations: 112.3 kB / 0.9336 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of [SIM] Detect States: time 0.0004474/0.007959, allocations: 272.6 kB / 0.9339 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of [SIM] Events: time 0.0001394/0.008098, allocations: 63.95 kB / 0.934 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of [SIM] Partitioning: time 0.0002527/0.008351, allocations: 176.4 kB / 0.9341 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of [SIM] Causalize: time 0.0003478/0.008699, allocations: 218 kB / 0.9343 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003811/0.00908, allocations: 379.7 kB / 0.9347 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of [INI] Simplify: time 0.0003535/0.009433, allocations: 237.4 kB / 0.9349 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of [INI] Inline: time 0.0004264/0.00986, allocations: 431.6 kB / 0.9353 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of [INI] Partitioning: time 1.941e-05/0.009879, allocations: 12.12 kB / 0.9353 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of [INI] Cleanup: time 0.0001236/0.01, allocations: 119.8 kB / 0.9355 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of [INI] Causalize: time 0.0004853/0.01049, allocations: 298.6 kB / 0.9357 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of [INI] Tearing: time 1.542e-05/0.0105, allocations: 12 kB / 0.9358 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.0105, allocations: 0 / 0.9358 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.01051, allocations: 0 / 0.9358 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of [SIM] Tearing: time 5.48e-06/0.01051, allocations: 8 kB / 0.9358 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of [SIM] Categorize: time 5.751e-06/0.01052, allocations: 0 / 0.9358 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of [SIM] Solve: time 0.0001498/0.01067, allocations: 79.94 kB / 0.9358 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of [SIM] Jacobian: time 7.234e-06/0.01068, allocations: 0 / 0.9358 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.61e-07/0.01068, allocations: 4 kB / 0.9358 GB, free: 4.09 MB / 0.7794 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: ......... 1 * 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: .................... 5 (5) {booPul.y, thrTim.passed, thrTim.entryTime, noThr.passed, noThr.entryTime} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {noThr.u, $SEV_2, $SEV_1, $SEV_0, $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: ........... 8 (scalar:8, 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: ........... 17 (scalar:17, 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 7.632e-05/0.01075, allocations: 31.48 kB / 0.9359 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of SimCode: time 0.0006035/0.01136, allocations: 360.5 kB / 0.9362 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.004461/0.01582, allocations: 1.561 MB / 0.9377 GB, free: 2.203 MB / 0.7794 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.902385361492634] Failed to read output from testmodel.py, exit status != 0: 0.023202892392873764 0.037710221 0.029998627000000003 Calling exit ...