Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 106.7 kB / 16.42 MB, free: 6.516 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.001064/0.001064, allocations: 187.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.15/1.15, 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.001857/0.001857, allocations: 285.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8062/0.8062, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.242e-05, allocations: 8.891 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00351/0.00353, allocations: 3.08 MB / 0.685 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.005662, allocations: 1.718 MB / 0.6867 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.005753, allocations: 7.938 kB / 0.6867 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.006572, allocations: 333.8 kB / 0.687 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.006931, allocations: 211 kB / 0.6872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.007283, allocations: 183.6 kB / 0.6874 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.007639, allocations: 350.9 kB / 0.6877 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.007926, allocations: 177.9 kB / 0.6879 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.008088, allocations: 131.5 kB / 0.688 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.008298, allocations: 127.4 kB / 0.6882 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.008332, allocations: 16 kB / 0.6882 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.008592, allocations: 207.6 kB / 0.6884 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002314/0.008831, allocations: 356.4 kB / 0.6887 GB, free: 172 kB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.215/0.2238, allocations: 208.7 kB / 0.6889 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.224, allocations: 32.78 kB / 0.6889 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.403e-05/0.224, allocations: 4.562 kB / 0.6889 GB, free: 13.01 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: 59 (41) * Number of variables: 59 (40) Notification: Performance of Bindings: time 0.0008485/0.2249, allocations: 1.043 MB / 0.69 GB, free: 12.71 MB / 494.1 MB Notification: Performance of FunctionAlias: time 9.337e-05/0.225, allocations: 64.36 kB / 0.69 GB, free: 12.7 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0006945/0.2257, allocations: 0.8074 MB / 0.6908 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simplify1: time 6.127e-05/0.2258, allocations: 59.39 kB / 0.6909 GB, free: 12.63 MB / 494.1 MB Notification: Performance of Alias: time 0.000573/0.2263, allocations: 0.6192 MB / 0.6915 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simplify2: time 5.884e-05/0.2264, allocations: 63.22 kB / 0.6915 GB, free: 12.37 MB / 494.1 MB Notification: Performance of Events: time 8.658e-05/0.2265, allocations: 74.77 kB / 0.6916 GB, free: 12.36 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001874/0.2267, allocations: 195.5 kB / 0.6918 GB, free: 12.32 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002153/0.2269, allocations: 264.4 kB / 0.692 GB, free: 12.25 MB / 494.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {sen.terminal_n.i[1], sen.terminal_n.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sen.terminal_n.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sen.I = sen.terminal_n.i / ((sen.terminal_n.i * sen.terminal_n.i * (sen.terminal_n.i * sen.terminal_n.i) + 1.0000000000000002e-10) ^ 0.25 * sen.terminal_n.i) ($RES_BND_40)