Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 108.8 kB / 16.42 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.001069/0.001069, allocations: 189.5 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.134/1.134, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 283.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8168/0.8168, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.513e-05, allocations: 4.953 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.00452/0.004544, allocations: 3.847 MB / 0.6858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.00705, allocations: 1.769 MB / 0.6875 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.007248, allocations: 11.94 kB / 0.6875 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.008374, allocations: 442.2 kB / 0.6879 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.008837, allocations: 254.8 kB / 0.6882 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.009324, allocations: 247.5 kB / 0.6884 GB, free: 480 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2196/0.2289, allocations: 0.5448 MB / 0.6889 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.2297, allocations: 322.5 kB / 0.6892 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.23, allocations: 194.2 kB / 0.6894 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.2304, allocations: 198.4 kB / 0.6896 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.2304, allocations: 25 kB / 0.6896 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.2308, allocations: 143.8 kB / 0.6898 GB, free: 13.38 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0003713/0.2312, allocations: 0.5151 MB / 0.6903 GB, free: 13.14 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001752/0.2313, allocations: 329.6 kB / 0.6906 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.2314, allocations: 52.88 kB / 0.6907 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.8e-05/0.2315, allocations: 9.812 kB / 0.6907 GB, free: 12.95 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: 82 (65) * Number of variables: 82 (56) Notification: Performance of Bindings: time 0.001175/0.2327, allocations: 1.484 MB / 0.6921 GB, free: 12.28 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001577/0.2329, allocations: 122.3 kB / 0.6922 GB, free: 12.26 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0008317/0.2337, allocations: 0.8699 MB / 0.6931 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simplify1: time 8.693e-05/0.2338, allocations: 68.36 kB / 0.6931 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Alias: time 0.001206/0.235, allocations: 1.169 MB / 0.6943 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simplify2: time 7.377e-05/0.2351, allocations: 51.86 kB / 0.6943 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Events: time 0.0001725/0.2353, allocations: 136.9 kB / 0.6945 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001845/0.2355, allocations: 207.1 kB / 0.6947 GB, free: 11.18 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0003083/0.2358, allocations: 320.9 kB / 0.695 GB, free: 10.99 MB / 494.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {sen.terminal_n.v[1], sen.terminal_n.v[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sen.terminal_n.v. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sen.P = sen.terminal_n.v * sen.terminal_n.i ($RES_SIM_1)