Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001063/0.001063, allocations: 183.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.181/2.181, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.185e-05, allocations: 2.281 kB / 1.055 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004252/0.004273, allocations: 3.84 MB / 1.058 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.006386, allocations: 1.729 MB / 1.06 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.006503, allocations: 11.94 kB / 1.06 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.007641, allocations: 0.4928 MB / 1.061 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.008012, allocations: 218.9 kB / 1.061 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.008388, allocations: 207.5 kB / 1.061 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.008945, allocations: 0.5256 MB / 1.061 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.009414, allocations: 321.5 kB / 1.062 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.009641, allocations: 195.3 kB / 1.062 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.009929, allocations: 175.3 kB / 1.062 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.009977, allocations: 24 kB / 1.062 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.01027, allocations: 187.5 kB / 1.062 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003278/0.0106, allocations: 499 kB / 1.063 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001796/0.01079, allocations: 304.1 kB / 1.063 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.01084, allocations: 51.81 kB / 1.063 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.082e-05/0.01088, allocations: 8 kB / 1.063 GB, free: 15.06 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 (60) * Number of variables: 78 (53) Notification: Performance of Bindings: time 0.001171/0.01205, allocations: 1.398 MB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.679e-05/0.01215, allocations: 75.81 kB / 1.065 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0006906/0.01284, allocations: 0.7946 MB / 1.065 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simplify1: time 5.527e-05/0.01291, allocations: 59.94 kB / 1.065 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of Alias: time 0.0009474/0.01386, allocations: 0.9434 MB / 1.066 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simplify2: time 5.016e-05/0.01392, allocations: 63.91 kB / 1.066 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Events: time 0.0001265/0.01405, allocations: 91.81 kB / 1.066 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001609/0.01422, allocations: 190.3 kB / 1.067 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002762/0.0145, allocations: 312.7 kB / 1.067 GB, free: 10.8 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {res1.v[1], res1.v[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: res1.v. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) res1.LossPower = res1.v * res1.i ($RES_SIM_10)