Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00109/0.00109, allocations: 113.5 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.001049/0.001049, 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.115/1.115, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.04/2.04, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.305e-05, allocations: 8.328 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002267/0.002287, allocations: 1.783 MB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003457, allocations: 0.924 MB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.00352, allocations: 3.938 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.003914, allocations: 187 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.004206, allocations: 163.4 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.00456, allocations: 204.5 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.004811, allocations: 259.4 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004941, allocations: 57.66 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.005064, allocations: 103.7 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.005211, allocations: 135.5 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.005243, allocations: 16 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.005321, allocations: 43.98 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002043/0.005531, allocations: 324.7 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 9.294e-05/0.005629, allocations: 189.3 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.00566, allocations: 27.88 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.892e-05/0.005686, allocations: 11.94 kB / 1.023 GB, free: 5.043 MB / 0.795 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.0006861/0.006376, allocations: 0.8244 MB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.195e-05/0.006453, allocations: 47.31 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001502/0.006609, allocations: 184.3 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simplify1: time 1.914e-05/0.006634, allocations: 11.98 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of Alias: time 0.0003766/0.007015, allocations: 333.8 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of simplify2: time 1.249e-05/0.007036, allocations: 11.97 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of Detect States: time 7.759e-05/0.007118, allocations: 60.17 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of Events: time 4.61e-05/0.007169, allocations: 23.92 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of Partitioning: time 7.858e-05/0.007253, allocations: 72.98 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003372/0.007595, allocations: 313.5 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001447/0.007747, allocations: 168.2 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of Inline: time 0.002198/0.00995, allocations: 0.8044 MB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of Partitioning: time 3.166e-05/0.009991, allocations: 32.11 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of Cleanup: time 1.424e-05/0.01001, allocations: 15.92 kB / 1.026 GB, free: 1.957 MB / 0.795 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!