Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001243/0.001243, allocations: 85.22 kB / 19.95 MB, free: 1.766 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.001323/0.001323, allocations: 171 kB / 23.23 MB, free: 4.875 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.386/1.386, allocations: 177.2 MB / 203.6 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.154/1.154, allocations: 155 MB / 415 MB, free: 4.918 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.542e-05, allocations: 5.891 kB / 0.6198 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001716/0.001731, allocations: 0.8316 MB / 0.6206 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.0036, allocations: 1.35 MB / 0.6219 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.003646, allocations: 0.5625 kB / 0.6219 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003748, allocations: 16.5 kB / 0.622 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.003871, allocations: 28.48 kB / 0.622 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.004573, allocations: 281.2 kB / 0.6223 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.004932, allocations: 307.4 kB / 0.6225 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005036, allocations: 17.31 kB / 0.6226 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.00533, allocations: 179.7 kB / 0.6227 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.005504, allocations: 99.78 kB / 0.6228 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.005562, allocations: 20 kB / 0.6229 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.005662, allocations: 51.84 kB / 0.6229 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0002811/0.005943, allocations: 309.8 kB / 0.6232 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 9.671e-05/0.00604, allocations: 134.3 kB / 0.6233 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.006083, allocations: 19.94 kB / 0.6233 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.398e-05/0.006097, allocations: 3.938 kB / 0.6233 GB, free: 0.6445 MB / 0.5294 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.001131/0.007228, allocations: 0.9601 MB / 0.6243 GB, free: 15.56 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001548/0.007382, allocations: 123.9 kB / 0.6244 GB, free: 15.43 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001047/0.00843, allocations: 0.9633 MB / 0.6253 GB, free: 14.44 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.000378/0.008808, allocations: 301.7 kB / 0.6256 GB, free: 14.1 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.0009589/0.009767, allocations: 0.6577 MB / 0.6263 GB, free: 13.37 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003559/0.01012, allocations: 290.4 kB / 0.6266 GB, free: 13.04 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002554/0.01038, allocations: 228.2 kB / 0.6268 GB, free: 12.79 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0006289/0.01101, allocations: 0.531 MB / 0.6273 GB, free: 12.2 MB / 0.545 GB Notification: Performance of [SIM] Events: time 8.911e-05/0.0111, allocations: 43.86 kB / 0.6273 GB, free: 12.15 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0003816/0.01148, allocations: 310.9 kB / 0.6276 GB, free: 11.82 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0005993/0.01208, allocations: 392.6 kB / 0.628 GB, free: 11.42 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006778/0.01275, allocations: 0.7102 MB / 0.6287 GB, free: 10.71 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0007604/0.01352, allocations: 0.5487 MB / 0.6292 GB, free: 10.09 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.001003/0.01452, allocations: 1.054 MB / 0.6303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 3.255e-05/0.01455, allocations: 17.44 kB / 0.6303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0003407/0.01489, allocations: 311.6 kB / 0.6306 GB, free: 8.703 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.001689/0.01658, allocations: 1.137 MB / 0.6317 GB, free: 7.559 MB / 0.545 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.5261686109006405] Failed to read output from testmodel.py, exit status != 0: 0.024045897647738457 0.038434369 0.029362794 Calling exit ...