Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001267/0.001267, allocations: 78.19 kB / 19.96 MB, free: 1.949 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.001385/0.001385, allocations: 170 kB / 23.23 MB, free: 4.965 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.407/1.407, allocations: 177.2 MB / 203.6 MB, free: 9.176 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.05775/0.05775, allocations: 9.155 MB / 269.2 MB, free: 7.906 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.0006798/0.0006798, allocations: 31.92 kB / 328.6 MB, free: 42.34 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.309/2.309, allocations: 275.1 MB / 0.6477 GB, free: 6.184 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 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.692e-05, allocations: 5.891 kB / 0.9294 GB, free: 22.5 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001553/0.00157, allocations: 0.7234 MB / 0.9301 GB, free: 22.05 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002862, allocations: 1.203 MB / 0.9313 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.002915, allocations: 0.9062 kB / 0.9313 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.002948, allocations: 6.594 kB / 0.9313 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.003016, allocations: 12.98 kB / 0.9313 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.003497, allocations: 141.4 kB / 0.9315 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.003674, allocations: 141 kB / 0.9316 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.003769, allocations: 17.19 kB / 0.9316 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003884, allocations: 74.06 kB / 0.9317 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.003969, allocations: 35.42 kB / 0.9317 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.004002, allocations: 11.31 kB / 0.9317 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.004075, allocations: 35.47 kB / 0.9318 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001333/0.004209, allocations: 131.7 kB / 0.9319 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.434e-05/0.004243, allocations: 70.12 kB / 0.932 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.004287, allocations: 16.78 kB / 0.932 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.11e-05/0.004299, allocations: 1.188 kB / 0.932 GB, free: 20.83 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0005796/0.004878, allocations: 0.5252 MB / 0.9325 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 9.758e-05/0.004976, allocations: 62.92 kB / 0.9326 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.000322/0.005298, allocations: 355 kB / 0.9329 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0001349/0.005433, allocations: 107.8 kB / 0.933 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0005468/0.00598, allocations: 379.1 kB / 0.9334 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0001054/0.006085, allocations: 101 kB / 0.9335 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 9.549e-05/0.00618, allocations: 102.9 kB / 0.9336 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.000248/0.006428, allocations: 218.5 kB / 0.9338 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 7.707e-05/0.006506, allocations: 45.92 kB / 0.9338 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0001432/0.006649, allocations: 120.4 kB / 0.9339 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0002148/0.006863, allocations: 142.1 kB / 0.9341 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002199/0.007083, allocations: 271.2 kB / 0.9343 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.000255/0.007338, allocations: 206.9 kB / 0.9345 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0002975/0.007636, allocations: 359.3 kB / 0.9349 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.374e-05/0.007649, allocations: 20.08 kB / 0.9349 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 8.521e-05/0.007735, allocations: 87.53 kB / 0.935 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.0003006/0.008035, allocations: 215.6 kB / 0.9352 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 9.207e-06/0.008044, allocations: 5.312 kB / 0.9352 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.008045, allocations: 5.438 kB / 0.9352 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 3.297e-06/0.008048, allocations: 0 / 0.9352 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 2.555e-06/0.008051, allocations: 5.438 kB / 0.9352 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 5.64e-06/0.008056, allocations: 1.625 kB / 0.9352 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0001092/0.008166, allocations: 70.25 kB / 0.9352 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 7.774e-06/0.008173, allocations: 0 / 0.9352 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.5e-07/0.008174, allocations: 1.844 kB / 0.9352 GB, free: 18.56 MB / 0.7325 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: .................... 3 (3) {triSam1.y, triSam.y, booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {triSam.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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 12 (scalar:12, 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 3.095e-05/0.008205, allocations: 27.48 kB / 0.9353 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005213/0.008726, allocations: 353.7 kB / 0.9356 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.003957/0.01268, allocations: 1.305 MB / 0.9369 GB, free: 18.19 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.119518987834454] Failed to read output from testmodel.py, exit status != 0: 0.018922340124845505 0.030655108 0.023854162 Calling exit ...