Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001078/0.001078, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001031/0.001031, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.128/1.128, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 288 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8091/0.8091, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.747e-05, allocations: 2.281 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003388/0.003413, allocations: 2.488 MB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004611, allocations: 0.7944 MB / 0.6852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.004726, allocations: 4 kB / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.005785, allocations: 0.522 MB / 0.6857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.006059, allocations: 107.5 kB / 0.6858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.006356, allocations: 107.8 kB / 0.6859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.006656, allocations: 223.3 kB / 0.6861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.006962, allocations: 133.3 kB / 0.6863 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.007085, allocations: 79.75 kB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.007261, allocations: 71.69 kB / 0.6864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.007294, allocations: 8 kB / 0.6864 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.007454, allocations: 91.78 kB / 0.6865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001565/0.007618, allocations: 201.9 kB / 0.6867 GB, free: 2.211 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 8.151e-05/0.007706, allocations: 134.3 kB / 0.6868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.007741, allocations: 19.94 kB / 0.6869 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.564e-05/0.007772, allocations: 0 / 0.6869 GB, free: 2.059 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: 37 (27) * Number of variables: 37 (25) Notification: Performance of Bindings: time 0.000668/0.008444, allocations: 0.667 MB / 0.6875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of FunctionAlias: time 7.631e-05/0.008526, allocations: 43.91 kB / 0.6875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0003442/0.008877, allocations: 376 kB / 0.6879 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simplify1: time 2.749e-05/0.008913, allocations: 19.98 kB / 0.6879 GB, free: 0.832 MB / 494.1 MB Notification: Performance of Alias: time 0.0006459/0.009563, allocations: 0.5231 MB / 0.6884 GB, free: 204 kB / 494.1 MB Notification: Performance of simplify2: time 2.548e-05/0.009599, allocations: 15.98 kB / 0.6884 GB, free: 188 kB / 494.1 MB Notification: Performance of Events: time 5.843e-05/0.009663, allocations: 27.97 kB / 0.6885 GB, free: 160 kB / 494.1 MB Notification: Performance of Detect States: time 8.574e-05/0.009755, allocations: 84.12 kB / 0.6886 GB, free: 60 kB / 494.1 MB Notification: Performance of Partitioning: time 0.2154/0.2251, allocations: 114.4 kB / 0.6887 GB, free: 14.52 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_12)