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.001189/0.001189, allocations: 105.4 kB / 16.38 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.001383/0.001383, allocations: 192.7 kB / 17.32 MB, free: 5.797 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 297.7 kB / 291.4 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 0.9606/0.9606, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.007e-05, allocations: 2.281 kB / 0.5966 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001671/0.001719, allocations: 0.6099 MB / 0.5972 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.00204, allocations: 67.91 kB / 0.5973 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.00207, allocations: 0 / 0.5973 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.002106, allocations: 4 kB / 0.5973 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002153, allocations: 4.562 kB / 0.5973 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.002435, allocations: 48.44 kB / 0.5973 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.002521, allocations: 26.59 kB / 0.5973 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.002569, allocations: 0 / 0.5973 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.002597, allocations: 11.98 kB / 0.5973 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.002788, allocations: 67.88 kB / 0.5974 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.002811, allocations: 0.9375 kB / 0.5974 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.571e-05/0.002911, allocations: 35.91 kB / 0.5974 GB, free: 13.64 MB / 414.1 MB Notification: Performance of combineBinaries: time 4.912e-05/0.002967, allocations: 39.62 kB / 0.5975 GB, free: 13.6 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 9.648e-06/0.002983, allocations: 16.28 kB / 0.5975 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.003003, allocations: 5.5 kB / 0.5975 GB, free: 13.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.895e-06/0.003015, allocations: 0 / 0.5975 GB, free: 13.58 MB / 414.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.0003217/0.003341, allocations: 248.5 kB / 0.5977 GB, free: 13.24 MB / 414.1 MB Notification: Performance of FunctionAlias: time 1.691e-05/0.003364, allocations: 8.484 kB / 0.5978 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Early Inline: time 6.364e-05/0.003434, allocations: 57.33 kB / 0.5978 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplify1: time 1.184e-05/0.003452, allocations: 12.59 kB / 0.5978 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Alias: time 6.323e-05/0.003521, allocations: 65.77 kB / 0.5979 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplify2: time 7.584e-06/0.003535, allocations: 12.53 kB / 0.5979 GB, free: 13.03 MB / 414.1 MB Notification: Performance of Events: time 0.0001035/0.003642, allocations: 55.55 kB / 0.5979 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Detect States: time 8.295e-05/0.003732, allocations: 69.2 kB / 0.598 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001087/0.003847, allocations: 98.52 kB / 0.5981 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Causalize: time 0.0004827/0.004336, allocations: 418.7 kB / 0.5985 GB, free: 12.3 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 9.898e-05/0.004445, allocations: 109.4 kB / 0.5986 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Inline: time 0.0001303/0.004583, allocations: 137.7 kB / 0.5987 GB, free: 12 MB / 414.1 MB Notification: Performance of Partitioning: time 2.038e-05/0.00461, allocations: 24.84 kB / 0.5988 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Cleanup: time 9.137e-06/0.004623, allocations: 0 / 0.5988 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Causalize: time 0.0003386/0.004969, allocations: 350.8 kB / 0.5991 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Tearing: time 7.133e-06/0.004987, allocations: 1.188 kB / 0.5991 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Initialization: time 1.874e-06/0.004993, allocations: 4 kB / 0.5991 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Tearing: time 2.805e-06/0.005, allocations: 4.562 kB / 0.5991 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Categorize: time 7.344e-06/0.005012, allocations: 2 kB / 0.5991 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Solve: time 6.839e-05/0.005084, allocations: 27.97 kB / 0.5991 GB, free: 11.6 MB / 414.1 MB Notification: Performance of Jacobian: time 3.577e-06/0.005093, allocations: 7.875 kB / 0.5991 GB, free: 11.59 MB / 414.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.255e-05/0.005142, allocations: 17.75 kB / 0.5992 GB, free: 11.59 MB / 414.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: BuildingSystems.Utilities.Math.Functions.isMonotonic(x_incStrict, false)