Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108.7 kB / 16.42 MB, free: 6.047 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.001326/0.001327, allocations: 189.9 kB / 17.36 MB, free: 5.59 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.423/1.423, 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.002265/0.002265, allocations: 298.4 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 1.012/1.012, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/2.972e-05, allocations: 2.281 kB / 0.682 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6216/0.6216, allocations: 189.7 MB / 0.8672 GB, free: 188 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009454/0.6311, allocations: 4.282 MB / 0.8714 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.6333, allocations: 27.81 kB / 0.8714 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.6357, allocations: 0.5162 MB / 0.872 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005612/0.6413, allocations: 1.631 MB / 0.8735 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.6459, allocations: 1.358 MB / 0.8749 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00421/0.6501, allocations: 2.45 MB / 0.8773 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.6522, allocations: 1.139 MB / 0.8784 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.6546, allocations: 1.024 MB / 0.8794 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.6565, allocations: 0.8835 MB / 0.8802 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.6571, allocations: 140 kB / 0.8804 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.6602, allocations: 1.212 MB / 0.8816 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.003112/0.6633, allocations: 2.405 MB / 0.8839 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.00151/0.6648, allocations: 1.309 MB / 0.8852 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.6656, allocations: 191.4 kB / 0.8854 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0004017/0.666, allocations: 47.81 kB / 0.8854 GB, free: 13.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 (112) * Number of variables: 119 (110) Notification: Performance of Bindings: time 0.007726/0.6738, allocations: 5.506 MB / 0.8908 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0009145/0.6747, allocations: 366.9 kB / 0.8911 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.003513/0.6782, allocations: 2.104 MB / 0.8932 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0003984/0.6787, allocations: 171.8 kB / 0.8934 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of Alias: time 0.004445/0.6831, allocations: 2.944 MB / 0.8962 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0003409/0.6835, allocations: 143.8 kB / 0.8964 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0007755/0.6843, allocations: 0.5792 MB / 0.8969 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of Events: time 0.0007898/0.6851, allocations: 435 kB / 0.8973 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.001172/0.6863, allocations: 0.8851 MB / 0.8982 GB, free: 15.77 MB / 0.67 GB Notification: Performance of Causalize: time 0.004363/0.6906, allocations: 3.181 MB / 0.9013 GB, free: 12.39 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.002265/0.6929, allocations: 1.755 MB / 0.903 GB, free: 10.61 MB / 0.67 GB Notification: Performance of Inline: time 0.009225/0.7022, allocations: 5.798 MB / 0.9087 GB, free: 4.758 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0003549/0.7026, allocations: 211.6 kB / 0.9089 GB, free: 4.535 MB / 0.67 GB Notification: Performance of Cleanup: time 0.0009925/0.7036, allocations: 499.2 kB / 0.9094 GB, free: 4.039 MB / 0.67 GB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: mixBox.damRec.yU. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) mixBox.damRec.cU = {(log(mixBox.damRec.k1) - mixBox.damRec.a) / ((1.0 + mixBox.damRec.yU ^ 2.0) - 2.0 * mixBox.damRec.yU), -((mixBox.damRec.yU ^ 2.0 * mixBox.damRec.b + 2.0 * mixBox.damRec.yU * log(mixBox.damRec.k1) + mixBox.damRec.b) - (2.0 * mixBox.damRec.b + 2.0 * mixBox.damRec.a) * mixBox.damRec.yU) / ((1.0 + mixBox.damRec.yU ^ 2.0) - 2.0 * mixBox.damRec.yU), ((mixBox.damRec.b + mixBox.damRec.b * mixBox.damRec.yU ^ 2.0 + log(mixBox.damRec.k1) * mixBox.damRec.yU ^ 2.0 + mixBox.damRec.a) - mixBox.damRec.yU * (2.0 * mixBox.damRec.a + 2.0 * mixBox.damRec.b)) / ((1.0 + mixBox.damRec.yU ^ 2.0) - 2.0 * mixBox.damRec.yU)} ($RES_BND_294) Error: Internal error NBInitialization.main failed to apply modules!