Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.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.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 107 kB / 16.42 MB, free: 6.512 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.001051/0.001051, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.129/1.129, 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.246/1.246, allocations: 251.7 MB / 0.51 GB, free: 440 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.221e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.001169/0.00119, allocations: 0.5595 MB / 0.7269 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.002644, allocations: 1.278 MB / 0.7282 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.002674, allocations: 0 / 0.7282 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.184e-05/0.00275, allocations: 3.938 kB / 0.7282 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.401e-05/0.002789, allocations: 0 / 0.7282 GB, free: 2.93 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.000594/0.003396, allocations: 291.2 kB / 0.7284 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.003522, allocations: 71.88 kB / 0.7285 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.003561, allocations: 4 kB / 0.7285 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.003609, allocations: 43.89 kB / 0.7286 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.378e-05/0.003688, allocations: 35.95 kB / 0.7286 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.00371, allocations: 4 kB / 0.7286 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.004044, allocations: 231.6 kB / 0.7288 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of combineBinaries: time 7.857e-05/0.004132, allocations: 63.62 kB / 0.7289 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 8.035e-06/0.004145, allocations: 15.75 kB / 0.7289 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.004169, allocations: 12 kB / 0.7289 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.792e-06/0.00418, allocations: 0 / 0.7289 GB, free: 2.172 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (1) * Number of variables: 6 (4) Notification: Performance of Bindings: time 0.0003063/0.00449, allocations: 261 kB / 0.7291 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001544/0.00465, allocations: 103.7 kB / 0.7292 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0002844/0.004941, allocations: 280.2 kB / 0.7295 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simplify1: time 1.869e-05/0.004966, allocations: 11.92 kB / 0.7295 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of Alias: time 7.092e-05/0.005042, allocations: 72.61 kB / 0.7296 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simplify2: time 1.019e-05/0.005057, allocations: 8 kB / 0.7296 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of Events: time 8.167e-05/0.005142, allocations: 47.89 kB / 0.7296 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001318/0.005279, allocations: 112 kB / 0.7298 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of Partitioning: time 9.878e-05/0.005384, allocations: 80.02 kB / 0.7298 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0003636/0.005753, allocations: 319.7 kB / 0.7301 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.000211/0.005972, allocations: 224.2 kB / 0.7303 GB, free: 472 kB / 0.5606 GB Error: Internal error NBInitialization.main failed to apply modules!