Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.0007182/0.0007182, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.0007042/0.0007042, allocations: 173.9 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.8272/0.8272, allocations: 177.1 MB / 203.7 MB, free: 5.719 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.03204/0.03204, allocations: 9.129 MB / 269.3 MB, free: 4.426 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.0003939/0.0003939, allocations: 27.94 kB / 328.7 MB, free: 5.785 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.424/1.424, allocations: 274.9 MB / 0.6476 GB, free: 2.805 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.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.234e-05, allocations: 2.312 kB / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001308/0.001331, allocations: 0.8318 MB / 0.9303 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.002563, allocations: 1.361 MB / 0.9316 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.002621, allocations: 1.438 kB / 0.9316 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 9.439e-05/0.002715, allocations: 14.58 kB / 0.9316 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.002832, allocations: 29.83 kB / 0.9317 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.003401, allocations: 279 kB / 0.9319 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.003681, allocations: 302.1 kB / 0.9322 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.003791, allocations: 27.06 kB / 0.9323 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.004045, allocations: 174.5 kB / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.004197, allocations: 102.7 kB / 0.9325 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.004237, allocations: 27.25 kB / 0.9325 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.004316, allocations: 42 kB / 0.9326 GB, free: 19 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.000179/0.004495, allocations: 314.7 kB / 0.9329 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 4.49e-05/0.00454, allocations: 133.2 kB / 0.933 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.004583, allocations: 15.38 kB / 0.933 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.736e-05/0.004601, allocations: 6.5 kB / 0.933 GB, free: 18.74 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: 28 (24) * Number of variables: 28 (24) Notification: Performance of [SIM] Bindings: time 0.0007235/0.005324, allocations: 0.9637 MB / 0.934 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001547/0.005479, allocations: 128.2 kB / 0.9341 GB, free: 17.97 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0005691/0.006048, allocations: 0.8244 MB / 0.9349 GB, free: 17.54 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001975/0.006246, allocations: 207.8 kB / 0.9351 GB, free: 17.44 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0006745/0.00692, allocations: 0.6432 MB / 0.9357 GB, free: 17.03 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0001624/0.007083, allocations: 206 kB / 0.9359 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 0.0001332/0.007216, allocations: 187.5 kB / 0.9361 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0004087/0.007624, allocations: 0.4891 MB / 0.9366 GB, free: 16.48 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 7.68e-05/0.007701, allocations: 61.7 kB / 0.9366 GB, free: 16.45 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0002586/0.00796, allocations: 307 kB / 0.9369 GB, free: 16.29 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0005003/0.00846, allocations: 447.1 kB / 0.9374 GB, free: 16.17 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004479/0.008908, allocations: 0.6636 MB / 0.938 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0004754/0.009383, allocations: 444.9 kB / 0.9384 GB, free: 15.6 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0005948/0.009978, allocations: 1.004 MB / 0.9394 GB, free: 15.07 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 2.06e-05/0.009999, allocations: 22.16 kB / 0.9394 GB, free: 15.05 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0002291/0.01023, allocations: 282 kB / 0.9397 GB, free: 14.92 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.001264/0.01149, allocations: 1.254 MB / 0.9409 GB, free: 14.52 MB / 0.7293 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (1) ($RES_SIM_14) [----] triMovMea.y := sum(triMovMea.ySample) / CAST(Real, triMovMea.counter); Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.5717908395454288] Failed to read output from testmodel.py, exit status != 0: 0.015694749541580677 0.022912886 0.016884833000000002 Calling exit ...