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.001251/0.001251, allocations: 78.42 kB / 19.95 MB, free: 1.945 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.001364/0.001364, allocations: 163.1 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.376/1.376, allocations: 177.2 MB / 203.6 MB, free: 9.184 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.05986/0.05986, allocations: 9.15 MB / 269.2 MB, free: 7.926 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.0007349/0.0007349, allocations: 23.89 kB / 328.6 MB, free: 42.36 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.337/2.337, allocations: 275.1 MB / 0.6477 GB, free: 6.215 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.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.163e-05/2.163e-05, allocations: 2.281 kB / 0.9294 GB, free: 22.48 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001657/0.001679, allocations: 0.8307 MB / 0.9302 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003199, allocations: 1.353 MB / 0.9316 GB, free: 21 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.003258, allocations: 4.875 kB / 0.9316 GB, free: 21 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.461e-05/0.003352, allocations: 14.55 kB / 0.9316 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.003472, allocations: 37.64 kB / 0.9316 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.004135, allocations: 272.2 kB / 0.9319 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.004428, allocations: 305.6 kB / 0.9322 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004532, allocations: 28.98 kB / 0.9322 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.004818, allocations: 181.2 kB / 0.9324 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.00499, allocations: 103 kB / 0.9325 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.005046, allocations: 23.78 kB / 0.9325 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.005143, allocations: 37.09 kB / 0.9325 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002646/0.005408, allocations: 319.5 kB / 0.9328 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.55e-05/0.005474, allocations: 136.9 kB / 0.933 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.00552, allocations: 20.09 kB / 0.933 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.4e-05/0.005534, allocations: 2.406 kB / 0.933 GB, free: 20.29 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: 28 (24) * Number of variables: 28 (24) Notification: Performance of [SIM] Bindings: time 0.0008861/0.00642, allocations: 0.9558 MB / 0.9339 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001619/0.006582, allocations: 138.2 kB / 0.9341 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0007106/0.007293, allocations: 0.8192 MB / 0.9349 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0002486/0.007541, allocations: 209.1 kB / 0.9351 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.0008204/0.008362, allocations: 0.632 MB / 0.9357 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0002341/0.008596, allocations: 200.7 kB / 0.9359 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0001803/0.008776, allocations: 188.5 kB / 0.936 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0005078/0.009284, allocations: 496.5 kB / 0.9365 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 8.428e-05/0.009368, allocations: 64.88 kB / 0.9366 GB, free: 18 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0003258/0.009694, allocations: 310.8 kB / 0.9369 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0005553/0.01025, allocations: 414.5 kB / 0.9373 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005502/0.0108, allocations: 0.6588 MB / 0.9379 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0005536/0.01135, allocations: 448.7 kB / 0.9383 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0008417/0.01219, allocations: 0.9866 MB / 0.9393 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 2.732e-05/0.01222, allocations: 22.16 kB / 0.9393 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0002896/0.01251, allocations: 297.8 kB / 0.9396 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.001554/0.01407, allocations: 1.15 MB / 0.9407 GB, free: 16.13 MB / 0.7325 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: 5.302120950073004] Failed to read output from testmodel.py, exit status != 0: 0.02040492743253708 0.031779738 0.023773912 Calling exit ...