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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00114/0.00114, allocations: 117.3 kB / 16.42 MB, free: 6.363 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.00122/0.00122, allocations: 194.8 kB / 17.35 MB, free: 5.816 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.162/1.162, 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 12.0.0-master/package.mo): time 2.279/2.279, allocations: 472.6 MB / 0.7459 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.345e-05, allocations: 8.469 kB / 1.07 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003096/0.003118, allocations: 2.498 MB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004242, allocations: 0.7906 MB / 1.073 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.004333, allocations: 4 kB / 1.073 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.005319, allocations: 0.5258 MB / 1.074 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.005573, allocations: 107.5 kB / 1.074 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.005847, allocations: 107.2 kB / 1.074 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.006114, allocations: 223.3 kB / 1.074 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.006402, allocations: 129.4 kB / 1.074 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.006505, allocations: 71.77 kB / 1.074 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.006663, allocations: 79.61 kB / 1.074 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.006699, allocations: 12 kB / 1.074 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.006849, allocations: 79.8 kB / 1.075 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001466/0.007004, allocations: 210 kB / 1.075 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 7.594e-05/0.007085, allocations: 134.3 kB / 1.075 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.007118, allocations: 15.94 kB / 1.075 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.155e-05/0.007144, allocations: 4 kB / 1.075 GB, free: 4.707 MB / 0.8419 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.0006388/0.007787, allocations: 0.6747 MB / 1.076 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.631e-05/0.007869, allocations: 55.83 kB / 1.076 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003376/0.008213, allocations: 360.1 kB / 1.076 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of simplify1: time 2.673e-05/0.008248, allocations: 23.97 kB / 1.076 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of Alias: time 0.0006025/0.008855, allocations: 0.5193 MB / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of simplify2: time 1.837e-05/0.008882, allocations: 7.984 kB / 1.076 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of Detect States: time 9.298e-05/0.00898, allocations: 100 kB / 1.077 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of Events: time 6.2e-05/0.009049, allocations: 31.91 kB / 1.077 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001227/0.009178, allocations: 112.2 kB / 1.077 GB, free: 2.566 MB / 0.8419 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)