Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 115.2 kB / 16.43 MB, free: 6.496 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.001062/0.001062, allocations: 187.7 kB / 17.35 MB, free: 5.754 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.098/1.098, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.115/2.115, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.573e-05, allocations: 4.25 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004707/0.004731, allocations: 4.727 MB / 1.059 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.007053, allocations: 2.695 MB / 1.062 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.007132, allocations: 0 / 1.062 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.007346, allocations: 43.69 kB / 1.062 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.007568, allocations: 99.34 kB / 1.062 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.008553, allocations: 0.5078 MB / 1.063 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.008804, allocations: 251.8 kB / 1.063 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.008846, allocations: 17.09 kB / 1.063 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.009024, allocations: 119.5 kB / 1.063 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.009137, allocations: 83.67 kB / 1.063 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.009167, allocations: 8 kB / 1.063 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.009718, allocations: 359.3 kB / 1.063 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001783/0.009905, allocations: 277.1 kB / 1.064 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.427e-05/0.01, allocations: 169.7 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.01004, allocations: 27.94 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-05/0.01006, allocations: 7.938 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.0007325/0.0108, allocations: 0.8587 MB / 1.065 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 3.816e-05/0.01084, allocations: 35.86 kB / 1.065 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004105/0.01126, allocations: 427.4 kB / 1.065 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simplify1: time 4.35e-05/0.01131, allocations: 35.97 kB / 1.065 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007452/0.01206, allocations: 0.6902 MB / 1.066 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simplify2: time 3.319e-05/0.0121, allocations: 31.95 kB / 1.066 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Events: time 0.0001099/0.01222, allocations: 85.22 kB / 1.066 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001137/0.01234, allocations: 120.1 kB / 1.066 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001857/0.01253, allocations: 213.1 kB / 1.066 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005545/0.01309, allocations: 0.5795 MB / 1.067 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002523/0.01335, allocations: 313.3 kB / 1.067 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003899/0.01375, allocations: 486.2 kB / 1.068 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.515e-05/0.01378, allocations: 24.12 kB / 1.068 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.703e-05/0.01381, allocations: 31.91 kB / 1.068 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005108/0.01433, allocations: 491 kB / 1.068 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of Tearing: time 6.422e-06/0.01434, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of Initialization: time 3.81e-07/0.01435, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of Tearing: time 5.58e-06/0.01436, allocations: 7.938 kB / 1.068 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Categorize: time 1.069e-05/0.01437, allocations: 3.984 kB / 1.068 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001341/0.01451, allocations: 91.86 kB / 1.068 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.725e-06/0.01452, allocations: 0 / 1.068 GB, free: 9.301 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: ................. 7 (7) {$SEV_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: ........... 28 (scalar:26, array:2, 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: ........... 28 (scalar:26, array:2, 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 2.936e-05/0.01455, allocations: 24.56 kB / 1.068 GB, free: 9.281 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)