Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 114.1 kB / 16.43 MB, free: 6.512 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.001059/0.001059, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.14/1.14, 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.206/2.206, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.287e-05, allocations: 2.5 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002988/0.003009, allocations: 2.507 MB / 1.057 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.004061, allocations: 0.7906 MB / 1.058 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.004135, allocations: 4 kB / 1.058 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.005075, allocations: 0.5237 MB / 1.058 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.005277, allocations: 115.5 kB / 1.058 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.005506, allocations: 111.7 kB / 1.059 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.005745, allocations: 211.4 kB / 1.059 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.00601, allocations: 137.3 kB / 1.059 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.632e-05/0.006096, allocations: 75.73 kB / 1.059 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.006239, allocations: 71.7 kB / 1.059 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.006267, allocations: 12 kB / 1.059 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.006394, allocations: 79.8 kB / 1.059 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001454/0.006546, allocations: 205.9 kB / 1.059 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.264e-05/0.006624, allocations: 134.3 kB / 1.059 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.006653, allocations: 19.94 kB / 1.059 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.444e-05/0.006671, allocations: 4 kB / 1.059 GB, free: 2.785 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 (27) * Number of variables: 37 (25) Notification: Performance of Bindings: time 0.0006558/0.007331, allocations: 0.6708 MB / 1.06 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.707e-05/0.007409, allocations: 59.72 kB / 1.06 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.000334/0.007749, allocations: 368.1 kB / 1.061 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simplify1: time 2.624e-05/0.007783, allocations: 19.97 kB / 1.061 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Alias: time 0.0005889/0.008377, allocations: 0.5154 MB / 1.061 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simplify2: time 1.866e-05/0.008406, allocations: 19.95 kB / 1.061 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of Events: time 5.071e-05/0.008462, allocations: 31.88 kB / 1.061 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of Detect States: time 9.025e-05/0.008558, allocations: 84.2 kB / 1.061 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001326/0.008697, allocations: 120.1 kB / 1.061 GB, free: 0.6406 MB / 0.8262 GB 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_12)