Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001125/0.001125, allocations: 106 kB / 16.42 MB, free: 6.535 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.001053/0.001054, allocations: 190 kB / 17.36 MB, free: 5.719 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 293.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9938/0.9938, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.498e-05, allocations: 5.375 kB / 0.682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005259/0.005293, allocations: 3.823 MB / 0.6857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.008336, allocations: 1.73 MB / 0.6874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.008555, allocations: 11.94 kB / 0.6875 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.009976, allocations: 0.4892 MB / 0.6879 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.01055, allocations: 218.9 kB / 0.6881 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.01108, allocations: 219.5 kB / 0.6883 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.0117, allocations: 0.5178 MB / 0.6889 GB, free: 44 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4041/0.4158, allocations: 312 kB / 0.6891 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.4164, allocations: 189.1 kB / 0.6893 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.4169, allocations: 179.4 kB / 0.6895 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.417, allocations: 23.59 kB / 0.6895 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.4175, allocations: 188.8 kB / 0.6897 GB, free: 12.68 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0004455/0.418, allocations: 491.6 kB / 0.6902 GB, free: 12.48 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000228/0.4182, allocations: 312.1 kB / 0.6905 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.4183, allocations: 50.66 kB / 0.6905 GB, free: 12.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.758e-05/0.4184, allocations: 11.08 kB / 0.6905 GB, free: 12.3 MB / 494.1 MB 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.001506/0.4199, allocations: 1.412 MB / 0.6919 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001154/0.42, allocations: 69.39 kB / 0.692 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0008866/0.4209, allocations: 0.7863 MB / 0.6927 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplify1: time 7.717e-05/0.421, allocations: 57.67 kB / 0.6928 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Alias: time 0.001221/0.4222, allocations: 0.9595 MB / 0.6937 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simplify2: time 7.027e-05/0.4223, allocations: 50.05 kB / 0.6938 GB, free: 11.13 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001984/0.4225, allocations: 171.1 kB / 0.6939 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Events: time 0.0001742/0.4227, allocations: 102.8 kB / 0.694 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0003257/0.423, allocations: 297.7 kB / 0.6943 GB, free: 10.97 MB / 494.1 MB 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)