Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_Buildings.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.001102/0.001102, allocations: 111 kB / 16.42 MB, free: 6.523 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.001079/0.001079, allocations: 182 kB / 17.36 MB, free: 5.746 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.146/1.146, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.125/2.125, allocations: 437 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.488e-05, allocations: 2.281 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.626/0.626, allocations: 189.7 MB / 1.204 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007243/0.6333, allocations: 4.268 MB / 1.209 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.6347, allocations: 23.53 kB / 1.209 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.6361, allocations: 0.5209 MB / 1.209 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.6399, allocations: 1.631 MB / 1.211 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.6429, allocations: 1.361 MB / 1.212 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002391/0.6453, allocations: 2.45 MB / 1.214 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.6464, allocations: 1.134 MB / 1.216 GB, free: 12.74 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009844/0.6474, allocations: 1.016 MB / 1.216 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008088/0.6482, allocations: 0.8871 MB / 1.217 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.6484, allocations: 140.5 kB / 1.217 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.65, allocations: 1.209 MB / 1.219 GB, free: 10.94 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.001567/0.6516, allocations: 2.405 MB / 1.221 GB, free: 9.238 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0008258/0.6524, allocations: 1.316 MB / 1.222 GB, free: 8.273 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.6526, allocations: 195.8 kB / 1.222 GB, free: 8.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0001562/0.6528, allocations: 36.81 kB / 1.223 GB, free: 8.137 MB / 0.92 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.004381/0.6571, allocations: 5.493 MB / 1.228 GB, free: 2.492 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0004397/0.6576, allocations: 377.2 kB / 1.228 GB, free: 2.141 MB / 0.92 GB Notification: Performance of Early Inline: time 0.001838/0.6594, allocations: 2.1 MB / 1.23 GB, free: 8 kB / 0.92 GB Notification: Performance of simplify1: time 0.0001916/0.6596, allocations: 183.7 kB / 1.23 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of Alias: time 0.003086/0.6627, allocations: 2.932 MB / 1.233 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simplify2: time 0.0001297/0.6629, allocations: 147.8 kB / 1.233 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of Detect States: time 0.0004843/0.6634, allocations: 0.5772 MB / 1.234 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Events: time 0.0004851/0.6639, allocations: 442.9 kB / 1.234 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0008158/0.6647, allocations: 0.8774 MB / 1.235 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Causalize: time 0.003019/0.6677, allocations: 3.186 MB / 1.238 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of After Index Reduction Inline: time 0.001675/0.6694, allocations: 1.751 MB / 1.24 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of Inline: time 0.005543/0.6749, allocations: 5.794 MB / 1.246 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0002228/0.6752, allocations: 215.6 kB / 1.246 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of Cleanup: time 0.000388/0.6756, allocations: 483.2 kB / 1.246 GB, free: 14.67 MB / 0.9512 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!