Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112.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.001293/0.001293, allocations: 183.2 kB / 17.35 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.555/1.555, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 277 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.876e-05/4.877e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002769/0.002831, allocations: 0.6074 MB / 0.6827 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004909/0.00334, allocations: 71.78 kB / 0.6827 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.00339, allocations: 0 / 0.6827 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.003441, allocations: 3.938 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.003522, allocations: 11.98 kB / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.003927, allocations: 39.89 kB / 0.6828 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.004064, allocations: 31.95 kB / 0.6828 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.004134, allocations: 0 / 0.6828 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.004171, allocations: 11.98 kB / 0.6828 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.004391, allocations: 63.88 kB / 0.6829 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.00442, allocations: 8 kB / 0.6829 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.00454, allocations: 39.95 kB / 0.6829 GB, free: 6.125 MB / 494.1 MB Notification: Performance of combineBinaries: time 5.156e-05/0.004598, allocations: 19.75 kB / 0.6829 GB, free: 6.105 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.491e-05/0.004628, allocations: 27.67 kB / 0.683 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.004648, allocations: 4 kB / 0.683 GB, free: 6.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.154e-05/0.004664, allocations: 0 / 0.683 GB, free: 6.074 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 (6) * Number of variables: 21 (6) Notification: Performance of Bindings: time 0.0003668/0.005037, allocations: 252.7 kB / 0.6832 GB, free: 5.727 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.554e-05/0.005058, allocations: 7.938 kB / 0.6832 GB, free: 5.719 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001055/0.005168, allocations: 64.36 kB / 0.6833 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simplify1: time 1.349e-05/0.005188, allocations: 7.969 kB / 0.6833 GB, free: 5.621 MB / 494.1 MB Notification: Performance of Alias: time 6.557e-05/0.005259, allocations: 68.48 kB / 0.6834 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simplify2: time 8.596e-06/0.005273, allocations: 11.98 kB / 0.6834 GB, free: 5.504 MB / 494.1 MB Notification: Performance of Detect States: time 6.747e-05/0.005344, allocations: 50.34 kB / 0.6834 GB, free: 5.441 MB / 494.1 MB Notification: Performance of Events: time 0.0001273/0.005478, allocations: 55.77 kB / 0.6835 GB, free: 5.387 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001171/0.005602, allocations: 100.7 kB / 0.6836 GB, free: 5.242 MB / 494.1 MB Notification: Performance of Causalize: time 0.0006327/0.00624, allocations: 390.6 kB / 0.6839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001142/0.006368, allocations: 108.2 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of Inline: time 0.0001426/0.006519, allocations: 140.4 kB / 0.6842 GB, free: 4.512 MB / 494.1 MB Notification: Performance of Partitioning: time 2.771e-05/0.006553, allocations: 16.06 kB / 0.6842 GB, free: 4.488 MB / 494.1 MB Notification: Performance of Cleanup: time 1.376e-05/0.006572, allocations: 8 kB / 0.6842 GB, free: 4.48 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004094/0.006986, allocations: 343.3 kB / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of Tearing: time 9.748e-06/0.007005, allocations: 0 / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of Initialization: time 3.31e-07/0.00701, allocations: 0 / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of Tearing: time 3.928e-06/0.007018, allocations: 3.938 kB / 0.6845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of Categorize: time 1.111e-05/0.007034, allocations: 4 kB / 0.6845 GB, free: 4.141 MB / 494.1 MB Notification: Performance of Solve: time 7.4e-05/0.007112, allocations: 27.95 kB / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of Jacobian: time 2.715e-06/0.007121, allocations: 0 / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:6, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:6, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.26e-05/0.007168, allocations: 21.66 kB / 0.6846 GB, free: 4.105 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: BuildingSystems.Utilities.Math.Functions.isMonotonic(x_incStrict, false)