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.001372/0.001372, allocations: 85.94 kB / 19.96 MB, free: 1.941 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.001528/0.001528, allocations: 159.5 kB / 23.23 MB, free: 4.969 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.452/1.452, allocations: 177.2 MB / 203.6 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.188/1.188, allocations: 154.7 MB / 414.7 MB, free: 5.203 MB / 382.1 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 178] 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 1.893e-05/1.893e-05, allocations: 5.094 kB / 0.6195 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002065/0.002084, allocations: 0.8228 MB / 0.6203 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.004202, allocations: 1.349 MB / 0.6216 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.004295, allocations: 4 kB / 0.6216 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.004407, allocations: 11.81 kB / 0.6216 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.004578, allocations: 39.69 kB / 0.6217 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.005432, allocations: 269.9 kB / 0.6219 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.005871, allocations: 303.3 kB / 0.6222 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.005983, allocations: 17.31 kB / 0.6222 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.006352, allocations: 179.7 kB / 0.6224 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.006581, allocations: 111.2 kB / 0.6225 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.00665, allocations: 24 kB / 0.6225 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.006761, allocations: 39.92 kB / 0.6226 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0003524/0.007114, allocations: 309.9 kB / 0.6229 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0001114/0.007225, allocations: 134.2 kB / 0.623 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.007291, allocations: 16 kB / 0.623 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.092e-05/0.007311, allocations: 7.938 kB / 0.623 GB, free: 0.9727 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.001302/0.008614, allocations: 0.9563 MB / 0.624 GB, free: 15.89 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002442/0.008858, allocations: 131.9 kB / 0.6241 GB, free: 15.75 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001042/0.0099, allocations: 0.8237 MB / 0.6249 GB, free: 14.9 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0004001/0.0103, allocations: 241.8 kB / 0.6251 GB, free: 14.62 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.001131/0.01143, allocations: 0.6537 MB / 0.6258 GB, free: 13.89 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003305/0.01176, allocations: 229.7 kB / 0.626 GB, free: 13.62 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002722/0.01203, allocations: 188.2 kB / 0.6262 GB, free: 13.41 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0007492/0.01278, allocations: 490.4 kB / 0.6266 GB, free: 12.87 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0001224/0.01291, allocations: 66.41 kB / 0.6267 GB, free: 12.8 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0004443/0.01335, allocations: 310.4 kB / 0.627 GB, free: 12.46 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0006984/0.01405, allocations: 408.2 kB / 0.6274 GB, free: 12.06 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000768/0.01482, allocations: 0.6595 MB / 0.628 GB, free: 11.4 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0008496/0.01567, allocations: 0.4966 MB / 0.6285 GB, free: 10.84 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.001333/0.017, allocations: 0.9874 MB / 0.6295 GB, free: 9.844 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 4.363e-05/0.01704, allocations: 21.44 kB / 0.6295 GB, free: 9.812 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0004861/0.01753, allocations: 287.7 kB / 0.6298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.001951/0.01948, allocations: 1.145 MB / 0.6309 GB, free: 8.387 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.6639658249914646] Failed to read output from testmodel.py, exit status != 0: 0.02764161303639412 0.042512748 0.032151365 Calling exit ...