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.0007433/0.0007433, allocations: 84.23 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.0007481/0.0007481, 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.8714/0.8714, allocations: 177.1 MB / 203.7 MB, free: 5.723 MB / 186.7 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-535:34: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-535:42: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 0.697/0.697, allocations: 154.6 MB / 414.7 MB, free: 0.8047 MB / 378.7 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.93e-05/1.93e-05, allocations: 3.406 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.00142/0.001439, allocations: 0.8286 MB / 0.6203 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.002612, allocations: 1.353 MB / 0.6216 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.002659, allocations: 7.938 kB / 0.6217 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.622e-05/0.002745, allocations: 11.86 kB / 0.6217 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.002854, allocations: 31.78 kB / 0.6217 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.003303, allocations: 271.2 kB / 0.622 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.003544, allocations: 303.3 kB / 0.6222 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003646, allocations: 21.28 kB / 0.6223 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.003847, allocations: 175.7 kB / 0.6224 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.003973, allocations: 106.7 kB / 0.6225 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.004005, allocations: 24 kB / 0.6226 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.004067, allocations: 43.91 kB / 0.6226 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001643/0.004231, allocations: 313.8 kB / 0.6229 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 4.942e-05/0.00428, allocations: 142.2 kB / 0.623 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.004315, allocations: 16 kB / 0.623 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.109e-05/0.004326, allocations: 0 / 0.623 GB, free: 9.5 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.0006795/0.005006, allocations: 0.9602 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001282/0.005134, allocations: 123.9 kB / 0.6241 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0004788/0.005613, allocations: 0.8315 MB / 0.6249 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0001625/0.005776, allocations: 204.1 kB / 0.6251 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.000635/0.006411, allocations: 0.6422 MB / 0.6257 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001356/0.006546, allocations: 204.1 kB / 0.6259 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0001086/0.006655, allocations: 192.6 kB / 0.6261 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0003614/0.007016, allocations: 493.9 kB / 0.6266 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 8.144e-05/0.007098, allocations: 66.5 kB / 0.6266 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0002241/0.007322, allocations: 309 kB / 0.6269 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0003927/0.007714, allocations: 438.8 kB / 0.6274 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003455/0.00806, allocations: 0.6673 MB / 0.628 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0003768/0.008437, allocations: 448.4 kB / 0.6284 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0005132/0.00895, allocations: 0.9951 MB / 0.6294 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 2.064e-05/0.008971, allocations: 21.42 kB / 0.6294 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 0.0001837/0.009154, allocations: 295.7 kB / 0.6297 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.001085/0.01024, allocations: 1.234 MB / 0.6309 GB, free: 0.9492 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.465455004014075] Failed to read output from testmodel.py, exit status != 0: 0.014182268641889095 0.021429878000000003 0.015699144 Calling exit ...