Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007935/0.0007935, allocations: 84.23 kB / 20.06 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.0009773/0.0009773, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.8434/0.8434, 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/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6606/0.6606, allocations: 154.6 MB / 414.7 MB, free: 0.7695 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.329e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001397/0.001421, allocations: 0.8266 MB / 0.6204 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003044, allocations: 1.361 MB / 0.6217 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.003097, allocations: 0 / 0.6217 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.003202, allocations: 15.8 kB / 0.6217 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.003335, allocations: 35.77 kB / 0.6218 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.003836, allocations: 267.2 kB / 0.622 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.004086, allocations: 307.3 kB / 0.6223 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.004196, allocations: 21.3 kB / 0.6223 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.004419, allocations: 171.7 kB / 0.6225 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.004562, allocations: 107.8 kB / 0.6226 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.004595, allocations: 20 kB / 0.6226 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.004664, allocations: 39.92 kB / 0.6226 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001815/0.004846, allocations: 313.8 kB / 0.6229 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 5.604e-05/0.004902, allocations: 142.2 kB / 0.6231 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.004941, allocations: 16 kB / 0.6231 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.527e-05/0.004956, allocations: 3.938 kB / 0.6231 GB, free: 9.387 MB / 0.5886 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.0007305/0.005687, allocations: 0.9664 MB / 0.624 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001474/0.005834, allocations: 120 kB / 0.6242 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0005222/0.006356, allocations: 0.8315 MB / 0.625 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0001706/0.006527, allocations: 200.2 kB / 0.6252 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0006504/0.007177, allocations: 0.6537 MB / 0.6258 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001392/0.007317, allocations: 200.2 kB / 0.626 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0001104/0.007427, allocations: 188.2 kB / 0.6262 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0003936/0.007821, allocations: 0.489 MB / 0.6266 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 7.691e-05/0.007898, allocations: 58.45 kB / 0.6267 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0002426/0.00814, allocations: 309.6 kB / 0.627 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0004449/0.008585, allocations: 443.4 kB / 0.6274 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005905/0.009176, allocations: 0.6673 MB / 0.6281 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0003855/0.009561, allocations: 444.2 kB / 0.6285 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0005217/0.01008, allocations: 0.999 MB / 0.6295 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 2.196e-05/0.0101, allocations: 25.42 kB / 0.6295 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 0.0001825/0.01029, allocations: 291.9 kB / 0.6298 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.001151/0.01144, allocations: 1.238 MB / 0.631 GB, free: 0.832 MB / 0.5886 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: 2.364320027641952] Failed to read output from testmodel.py, exit status != 0: 0.015761745162308216 0.023949825 0.017395703000000002 Calling exit ...