Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 112.2 kB / 16.43 MB, free: 6.457 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.001316/0.001316, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.335/2.335, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.74e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002649/0.002674, allocations: 1.779 MB / 1.056 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004044, allocations: 0.9316 MB / 1.057 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004168, allocations: 4 kB / 1.057 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.004667, allocations: 170.8 kB / 1.057 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.005058, allocations: 174.1 kB / 1.058 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.005503, allocations: 203.5 kB / 1.058 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.005823, allocations: 275.3 kB / 1.058 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.005982, allocations: 53.66 kB / 1.058 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.006162, allocations: 111.6 kB / 1.058 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.006351, allocations: 131.6 kB / 1.058 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.006394, allocations: 16 kB / 1.058 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-05/0.006497, allocations: 47.97 kB / 1.058 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002245/0.006728, allocations: 320.7 kB / 1.059 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 9.629e-05/0.00683, allocations: 189.3 kB / 1.059 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.00687, allocations: 27.88 kB / 1.059 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.93e-05/0.006904, allocations: 4 kB / 1.059 GB, free: 3.375 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: 12 (12) * Number of variables: 12 (11) Notification: Performance of Bindings: time 0.0007866/0.007695, allocations: 0.8166 MB / 1.06 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.905e-05/0.007779, allocations: 44.22 kB / 1.06 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.000177/0.007965, allocations: 196.2 kB / 1.06 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simplify1: time 2.464e-05/0.007995, allocations: 7.984 kB / 1.06 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of Alias: time 0.0004415/0.008443, allocations: 325.8 kB / 1.06 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simplify2: time 1.702e-05/0.008469, allocations: 11.98 kB / 1.06 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of Events: time 4.99e-05/0.008523, allocations: 27.89 kB / 1.06 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of Detect States: time 7.688e-05/0.008607, allocations: 64.19 kB / 1.06 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.517e-05/0.008708, allocations: 72.09 kB / 1.06 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003556/0.009069, allocations: 327.2 kB / 1.061 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001441/0.009221, allocations: 164.3 kB / 1.061 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of Inline: time 0.0006417/0.00987, allocations: 0.6636 MB / 1.062 GB, free: 428 kB / 0.8262 GB Notification: Performance of Partitioning: time 3.168e-05/0.00991, allocations: 32.12 kB / 1.062 GB, free: 388 kB / 0.8262 GB Notification: Performance of Cleanup: time 1.814e-05/0.009933, allocations: 11.92 kB / 1.062 GB, free: 376 kB / 0.8262 GB Error: Internal error NBSlice.resolveSkips failed because skip of 4 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: linPieTwo.y2Tab.table[3, 1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (10) linPieTwo.y2Tab.tab.table = {{(-1.0) + linPieTwo.y2Tab.table[1, 1], linPieTwo.y2Tab.table[1, 2]}, {linPieTwo.y2Tab.table[1, 1], linPieTwo.y2Tab.table[1, 2]}, {linPieTwo.y2Tab.table[2, 1], linPieTwo.y2Tab.table[2, 2]}, {linPieTwo.y2Tab.table[3, 1], linPieTwo.y2Tab.table[3, 2]}, {1.0 + linPieTwo.y2Tab.table[3, 1], linPieTwo.y2Tab.table[3, 2]}} + linPieTwo.y2Tab.offsetVector ($RES_BND_23) Error: Internal error NBInitialization.main failed to apply modules!