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.001376/0.001376, allocations: 111.5 kB / 16.42 MB, free: 6.531 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.001703/0.001703, allocations: 186 kB / 17.36 MB, free: 5.723 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.362/1.362, allocations: 222.9 MB / 241 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.002111/0.002111, allocations: 294.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.576e-05, allocations: 4.953 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004092/0.004126, allocations: 2.484 MB / 0.6844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.00563, allocations: 0.7945 MB / 0.6852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.005803, allocations: 4 kB / 0.6852 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.007073, allocations: 0.5181 MB / 0.6857 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.007422, allocations: 111.5 kB / 0.6858 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.007803, allocations: 111.7 kB / 0.6859 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.008176, allocations: 219.3 kB / 0.6861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.008557, allocations: 140.4 kB / 0.6863 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.008706, allocations: 79.75 kB / 0.6864 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.00892, allocations: 71.69 kB / 0.6864 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.008954, allocations: 8 kB / 0.6864 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.009161, allocations: 83.8 kB / 0.6865 GB, free: 2.449 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001949/0.009365, allocations: 205.9 kB / 0.6867 GB, free: 2.246 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001015/0.009473, allocations: 130.3 kB / 0.6868 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.009519, allocations: 23.94 kB / 0.6869 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.75e-05/0.009562, allocations: 0 / 0.6869 GB, free: 2.094 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.0008365/0.0104, allocations: 0.6726 MB / 0.6875 GB, free: 1.32 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001093/0.01052, allocations: 55.78 kB / 0.6876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of Early Inline: time 0.000383/0.01091, allocations: 360.1 kB / 0.6879 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simplify1: time 4.454e-05/0.01096, allocations: 23.95 kB / 0.6879 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Alias: time 0.0007378/0.01171, allocations: 0.5192 MB / 0.6884 GB, free: 240 kB / 494.1 MB Notification: Performance of simplify2: time 2.79e-05/0.01175, allocations: 19.95 kB / 0.6885 GB, free: 220 kB / 494.1 MB Notification: Performance of Detect States: time 0.0001177/0.01187, allocations: 76.2 kB / 0.6885 GB, free: 128 kB / 494.1 MB Notification: Performance of Events: time 7.285e-05/0.01195, allocations: 31.91 kB / 0.6886 GB, free: 96 kB / 494.1 MB Notification: Performance of Partitioning: time 0.3385/0.3505, allocations: 119 kB / 0.6887 GB, free: 13.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_12)