Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001738/0.001738, allocations: 110.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.001766/0.001766, allocations: 190 kB / 17.36 MB, free: 5.699 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.109/1.109, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.843/1.843, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.566e-05, allocations: 8.75 kB / 0.9514 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003054/0.003077, allocations: 2.504 MB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.004199, allocations: 0.7829 MB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.004285, allocations: 4 kB / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009876/0.005278, allocations: 0.5336 MB / 0.9552 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.005512, allocations: 103.5 kB / 0.9553 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.005777, allocations: 115.7 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.006033, allocations: 219.4 kB / 0.9556 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.006301, allocations: 125.3 kB / 0.9557 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.006405, allocations: 87.62 kB / 0.9558 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.006557, allocations: 75.67 kB / 0.9559 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.006582, allocations: 8 kB / 0.9559 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.006719, allocations: 95.72 kB / 0.956 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001447/0.00687, allocations: 202 kB / 0.9562 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.529e-05/0.006951, allocations: 126.3 kB / 0.9563 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.006982, allocations: 19.94 kB / 0.9563 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.737e-05/0.007003, allocations: 0 / 0.9563 GB, free: 2.73 MB / 0.7325 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.0006046/0.007613, allocations: 0.6709 MB / 0.9569 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 7.474e-05/0.007693, allocations: 47.94 kB / 0.957 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003103/0.00801, allocations: 364.1 kB / 0.9573 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simplify1: time 2.237e-05/0.008041, allocations: 19.97 kB / 0.9574 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of Alias: time 0.0005827/0.008629, allocations: 0.5347 MB / 0.9579 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simplify2: time 1.832e-05/0.008657, allocations: 11.98 kB / 0.9579 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of Detect States: time 8.639e-05/0.008749, allocations: 80.19 kB / 0.958 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of Events: time 5.708e-05/0.008812, allocations: 31.95 kB / 0.958 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001172/0.008935, allocations: 120.2 kB / 0.9581 GB, free: 0.5938 MB / 0.7325 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)