Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001124/0.001124, allocations: 182 kB / 17.36 MB, free: 5.746 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 277.2 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.963/0.963, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/2.841e-05, allocations: 6.219 kB / 0.682 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.00484/0.004878, allocations: 3.06 MB / 0.685 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.006865, allocations: 1.332 MB / 0.6863 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.006984, allocations: 8 kB / 0.6863 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.007928, allocations: 326.7 kB / 0.6866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.008238, allocations: 147.2 kB / 0.6868 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.008586, allocations: 138.8 kB / 0.6869 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.008972, allocations: 346.9 kB / 0.6872 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.00933, allocations: 190.3 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.009476, allocations: 119.6 kB / 0.6875 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.009707, allocations: 107.5 kB / 0.6876 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.009747, allocations: 16 kB / 0.6876 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.009962, allocations: 135.6 kB / 0.6878 GB, free: 1.125 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002338/0.0102, allocations: 312.8 kB / 0.6881 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000116/0.01033, allocations: 197.5 kB / 0.6883 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.01037, allocations: 31.88 kB / 0.6883 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.485e-05/0.01041, allocations: 4 kB / 0.6883 GB, free: 0.5859 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: 50 (37) * Number of variables: 50 (34) Notification: Performance of Bindings: time 0.4047/0.4151, allocations: 0.9468 MB / 0.6892 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001143/0.4152, allocations: 54.47 kB / 0.6893 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0005808/0.4158, allocations: 0.5085 MB / 0.6898 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simplify1: time 5.227e-05/0.4159, allocations: 35.17 kB / 0.6898 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Alias: time 0.0008636/0.4167, allocations: 0.6366 MB / 0.6904 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplify2: time 3.647e-05/0.4168, allocations: 25.95 kB / 0.6904 GB, free: 13.02 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001489/0.4169, allocations: 119.4 kB / 0.6906 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Events: time 0.0001255/0.4171, allocations: 66.88 kB / 0.6906 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002153/0.4173, allocations: 180.7 kB / 0.6908 GB, free: 12.92 MB / 494.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {short_circuit.i[1], short_circuit.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: short_circuit.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) short_circuit.LossPower = short_circuit.v * short_circuit.i ($RES_SIM_10)