Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001153/0.001153, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.00128/0.001281, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.616e-05, allocations: 4.953 kB / 0.9514 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002926/0.002962, allocations: 1.791 MB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004381, allocations: 0.9161 MB / 0.9541 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.004466, allocations: 4 kB / 0.9541 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.004944, allocations: 190.1 kB / 0.9543 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.0053, allocations: 157.8 kB / 0.9544 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.005743, allocations: 223.2 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.006061, allocations: 259.4 kB / 0.9549 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.006231, allocations: 65.64 kB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.006398, allocations: 107.6 kB / 0.955 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.006591, allocations: 127.6 kB / 0.9552 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.006634, allocations: 16 kB / 0.9552 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.006734, allocations: 47.98 kB / 0.9552 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002539/0.006994, allocations: 324.7 kB / 0.9555 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0001027/0.007102, allocations: 185.4 kB / 0.9557 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.007142, allocations: 23.88 kB / 0.9557 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.072e-05/0.007178, allocations: 7.938 kB / 0.9557 GB, free: 3.332 MB / 0.7325 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.00082/0.008005, allocations: 0.8206 MB / 0.9565 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 8.242e-05/0.008093, allocations: 38.5 kB / 0.9566 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001717/0.008272, allocations: 184.3 kB / 0.9568 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simplify1: time 2.425e-05/0.008305, allocations: 11.98 kB / 0.9568 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of Alias: time 0.0004607/0.00877, allocations: 341.7 kB / 0.9571 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simplify2: time 1.52e-05/0.008798, allocations: 15.98 kB / 0.9571 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of Detect States: time 8.611e-05/0.008889, allocations: 56.22 kB / 0.9572 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of Events: time 5.949e-05/0.008955, allocations: 27.91 kB / 0.9572 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.205e-05/0.009044, allocations: 60.12 kB / 0.9572 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003711/0.009421, allocations: 331.5 kB / 0.9576 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001416/0.009571, allocations: 160.4 kB / 0.9577 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of Inline: time 0.0006419/0.01022, allocations: 0.6681 MB / 0.9584 GB, free: 384 kB / 0.7325 GB Notification: Performance of Partitioning: time 3.148e-05/0.01026, allocations: 28.12 kB / 0.9584 GB, free: 348 kB / 0.7325 GB Notification: Performance of Cleanup: time 1.689e-05/0.01028, allocations: 19.92 kB / 0.9584 GB, free: 328 kB / 0.7325 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!