Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 108.7 kB / 16.38 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 188.7 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.105/1.105, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.496/1.496, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/1.988e-05, allocations: 6.281 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002491/0.002524, allocations: 1.727 MB / 0.6745 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004627, allocations: 1.85 MB / 0.6763 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.004687, allocations: 3.938 kB / 0.6764 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.004814, allocations: 31.78 kB / 0.6764 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.004927, allocations: 23.73 kB / 0.6764 GB, free: 2.211 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function 'Buildings.Utilities.IO.Python36.Functions.exchange' contains a call to impure function 'Modelica.Utilities.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.005874, allocations: 325 kB / 0.6767 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.00612, allocations: 247.4 kB / 0.677 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.006217, allocations: 33.55 kB / 0.677 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.006417, allocations: 159.6 kB / 0.6771 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.006529, allocations: 71.67 kB / 0.6772 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.00657, allocations: 12 kB / 0.6772 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.006907, allocations: 283.5 kB / 0.6775 GB, free: 1.105 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001576/0.007074, allocations: 241.2 kB / 0.6777 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 6.092e-05/0.007141, allocations: 145.7 kB / 0.6779 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.007188, allocations: 35.88 kB / 0.6779 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.265e-05/0.007205, allocations: 0 / 0.6779 GB, free: 0.6875 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for for i in 1:1 loop ran.uRWri_temp[i] = pre(ran.uR[i]); ran.uRWri[i] = pre(ran.uR[i]); end for