Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 110.3 kB / 16.42 MB, free: 6.48 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.001221/0.001221, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.317/2.317, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.643e-05, allocations: 6.219 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003448/0.003484, allocations: 2.268 MB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005218, allocations: 0.9505 MB / 1.058 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.005526, allocations: 8 kB / 1.058 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.00577, allocations: 63.28 kB / 1.058 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.006088, allocations: 51.52 kB / 1.058 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.006756, allocations: 271.6 kB / 1.058 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.007454, allocations: 0.6089 MB / 1.059 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006908/0.008152, allocations: 0.5008 MB / 1.059 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.008534, allocations: 267.3 kB / 1.059 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.008905, allocations: 259 kB / 1.06 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.009041, allocations: 75.94 kB / 1.06 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.009219, allocations: 91.98 kB / 1.06 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0004643/0.009692, allocations: 0.707 MB / 1.061 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.000241/0.00994, allocations: 437.3 kB / 1.061 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.01008, allocations: 79.75 kB / 1.061 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0001254/0.01021, allocations: 75.48 kB / 1.061 GB, free: 1.059 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 (131) * Number of variables: 128 (122) Notification: Performance of Bindings: time 0.002165/0.01238, allocations: 2.149 MB / 1.063 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0003591/0.01274, allocations: 211.6 kB / 1.063 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001672/0.01442, allocations: 1.593 MB / 1.065 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simplify1: time 0.000198/0.01463, allocations: 107.8 kB / 1.065 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Alias: time 0.003074/0.01771, allocations: 2.716 MB / 1.068 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001308/0.01786, allocations: 75.89 kB / 1.068 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of Events: time 0.0004732/0.01834, allocations: 369 kB / 1.068 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0006719/0.01902, allocations: 0.6376 MB / 1.069 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007252/0.01975, allocations: 0.6205 MB / 1.069 GB, free: 8.141 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {con.alternative.outPort.occupied}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: con.alternative.outPort.occupied. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) con.alternative.join.occupied = {con.alternative.outPort.occupied for $i1 in 1:2} ($RES_SIM_67)