Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0007863/0.0007863, 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.000757/0.000757, allocations: 178.3 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.8131/0.8131, allocations: 177.2 MB / 203.7 MB, free: 5.234 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.03293/0.03293, allocations: 9.118 MB / 269.2 MB, free: 4.352 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.0003885/0.0003885, allocations: 35.69 kB / 328.7 MB, free: 5.797 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.43/1.43, allocations: 275 MB / 0.6476 GB, free: 2.816 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.339e-05, allocations: 2.312 kB / 0.9295 GB, free: 20.99 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001261/0.001284, allocations: 0.6646 MB / 0.9301 GB, free: 20.57 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.002279, allocations: 1.12 MB / 0.9312 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.002326, allocations: 5.219 kB / 0.9312 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002352, allocations: 4.594 kB / 0.9312 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.00241, allocations: 10.22 kB / 0.9312 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.002686, allocations: 49.8 kB / 0.9313 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.002786, allocations: 72.36 kB / 0.9314 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.002877, allocations: 17.52 kB / 0.9314 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.00295, allocations: 37.11 kB / 0.9314 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.002996, allocations: 29.88 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003014, allocations: 6.125 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.562e-05/0.003069, allocations: 24.97 kB / 0.9315 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of combineBinaries: time 6.961e-05/0.003139, allocations: 99 kB / 0.9316 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 1.702e-05/0.003156, allocations: 53.28 kB / 0.9316 GB, free: 19.55 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.003174, allocations: 4.219 kB / 0.9316 GB, free: 19.55 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.178e-05/0.003185, allocations: 5.219 kB / 0.9316 GB, free: 19.54 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0004093/0.003595, allocations: 426.9 kB / 0.932 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001382/0.003733, allocations: 85.16 kB / 0.9321 GB, free: 19.08 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0002121/0.003945, allocations: 278 kB / 0.9324 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 6.417e-05/0.004009, allocations: 66.02 kB / 0.9324 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0003921/0.004401, allocations: 288.2 kB / 0.9327 GB, free: 18.6 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 4.625e-05/0.004448, allocations: 60.89 kB / 0.9328 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 2.88e-05/0.004476, allocations: 57.84 kB / 0.9328 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0001798/0.004656, allocations: 196.5 kB / 0.933 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 6.566e-05/0.004722, allocations: 41.42 kB / 0.9331 GB, free: 18.26 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001407/0.004863, allocations: 156.5 kB / 0.9332 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0002342/0.005097, allocations: 198.1 kB / 0.9334 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001241/0.005221, allocations: 214.5 kB / 0.9336 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0001729/0.005394, allocations: 166.9 kB / 0.9338 GB, free: 17.83 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0001816/0.005575, allocations: 323.1 kB / 0.9341 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.369e-05/0.005589, allocations: 17.62 kB / 0.9341 GB, free: 17.63 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 3.931e-05/0.005628, allocations: 60.95 kB / 0.9341 GB, free: 17.6 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.0003288/0.005957, allocations: 315.8 kB / 0.9344 GB, free: 17.52 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.329e-05/0.00597, allocations: 14.66 kB / 0.9345 GB, free: 17.51 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 7.92e-07/0.005971, allocations: 1.469 kB / 0.9345 GB, free: 17.51 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 5.038e-05/0.006022, allocations: 29.2 kB / 0.9345 GB, free: 17.49 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 4.779e-06/0.006026, allocations: 1.344 kB / 0.9345 GB, free: 17.49 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 3.376e-06/0.00603, allocations: 18.94 kB / 0.9345 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 8.967e-06/0.006039, allocations: 6.141 kB / 0.9345 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.000148/0.006187, allocations: 145.7 kB / 0.9346 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 9.335e-05/0.00628, allocations: 189.7 kB / 0.9348 GB, free: 17.21 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.32e-07/0.006281, allocations: 0 / 0.9348 GB, free: 17.21 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: ............... 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) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $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: ........... 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: ........... 20 (scalar:20, 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 3.703e-05/0.006318, allocations: 31.66 kB / 0.9349 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0005196/0.006837, allocations: 346.8 kB / 0.9352 GB, free: 16.99 MB / 0.7293 GB Notification: Performance of Templates: time 0.002481/0.009319, allocations: 0.9059 MB / 0.9361 GB, free: 16.88 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.665183120407164] Failed to read output from testmodel.py, exit status != 0: 0.015045075677335262 0.022214903 0.017386366 Calling exit ...