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.001072/0.001072, allocations: 107 kB / 16.42 MB, free: 6.035 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.001053, allocations: 189.4 kB / 17.36 MB, free: 5.621 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.139/1.139, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001844, allocations: 283.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8222/0.8222, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.244e-05, allocations: 2.281 kB / 0.682 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004271/0.004291, allocations: 3.819 MB / 0.6857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.006446, allocations: 1.733 MB / 0.6874 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.006564, allocations: 4 kB / 0.6874 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.007728, allocations: 0.4931 MB / 0.6879 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.008094, allocations: 218.9 kB / 0.6881 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.008489, allocations: 215.5 kB / 0.6883 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.008976, allocations: 0.5256 MB / 0.6889 GB, free: 36 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2329/0.2419, allocations: 305.7 kB / 0.6891 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.2422, allocations: 187.6 kB / 0.6893 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.2425, allocations: 175.8 kB / 0.6895 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.2426, allocations: 26.5 kB / 0.6895 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.243, allocations: 196.9 kB / 0.6897 GB, free: 12.64 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0003007/0.2433, allocations: 486.8 kB / 0.6902 GB, free: 12.44 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001467/0.2434, allocations: 313 kB / 0.6905 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.2435, allocations: 50.19 kB / 0.6905 GB, free: 12.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.248e-05/0.2436, allocations: 7.328 kB / 0.6905 GB, free: 12.26 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.001027/0.2446, allocations: 1.41 MB / 0.6919 GB, free: 11.63 MB / 494.1 MB Notification: Performance of FunctionAlias: time 8.564e-05/0.2447, allocations: 74.7 kB / 0.692 GB, free: 11.62 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0006802/0.2454, allocations: 0.7861 MB / 0.6927 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simplify1: time 5.858e-05/0.2454, allocations: 60.83 kB / 0.6928 GB, free: 11.53 MB / 494.1 MB Notification: Performance of Alias: time 0.0008729/0.2463, allocations: 0.9474 MB / 0.6937 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplify2: time 5.138e-05/0.2464, allocations: 54.06 kB / 0.6938 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Events: time 0.0001263/0.2465, allocations: 98.44 kB / 0.6939 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Detect States: time 0.000163/0.2467, allocations: 197.6 kB / 0.6941 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Partitioning: time 0.000257/0.2469, allocations: 304.5 kB / 0.6943 GB, free: 10.92 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)