Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001127/0.001127, allocations: 109.6 kB / 16.42 MB, free: 6.48 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.001104/0.001104, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.142/1.142, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.231/1.231, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.177e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.002352/0.002384, allocations: 1.739 MB / 0.728 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.004549, allocations: 1.854 MB / 0.7299 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.004616, allocations: 3.938 kB / 0.7299 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.004746, allocations: 27.8 kB / 0.7299 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.004851, allocations: 27.72 kB / 0.7299 GB, free: 1.082 MB / 0.5606 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 7.0.3-maint.7.0.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.0009682/0.005831, allocations: 330 kB / 0.7302 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.006077, allocations: 251.4 kB / 0.7305 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.006176, allocations: 33.48 kB / 0.7305 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.006384, allocations: 159.6 kB / 0.7307 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.006497, allocations: 75.67 kB / 0.7307 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.00653, allocations: 16 kB / 0.7307 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.006898, allocations: 283.5 kB / 0.731 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0001572/0.007066, allocations: 233.2 kB / 0.7312 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 7.18e-05/0.007144, allocations: 149.7 kB / 0.7314 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.007182, allocations: 23.94 kB / 0.7314 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.649e-05/0.007203, allocations: 11.92 kB / 0.7314 GB, free: 15.54 MB / 0.5762 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