Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 110.4 kB / 16.42 MB, free: 6.477 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.001058/0.001058, allocations: 188.3 kB / 17.36 MB, free: 5.703 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.133/1.133, 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.1.0-maint.11.x/package.mo): time 2.234/2.234, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.744e-05, allocations: 4.469 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5486/0.5487, allocations: 162.4 MB / 1.224 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.5523, allocations: 2.913 MB / 1.227 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.5525, allocations: 18.59 kB / 1.227 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.5531, allocations: 219.4 kB / 1.227 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.5546, allocations: 0.7958 MB / 1.228 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.5552, allocations: 349.8 kB / 1.229 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.5562, allocations: 1.107 MB / 1.23 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.5565, allocations: 228 kB / 1.23 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.557, allocations: 383.1 kB / 1.23 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006646/0.5576, allocations: 304.5 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.066e-05/0.5577, allocations: 36.69 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008327/0.5585, allocations: 0.626 MB / 1.231 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.0004748/0.559, allocations: 0.7033 MB / 1.232 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.0002154/0.5592, allocations: 439.6 kB / 1.232 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.5593, allocations: 67.78 kB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.711e-05/0.5594, allocations: 15.75 kB / 1.232 GB, free: 12.93 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 (58) * Number of variables: 59 (57) Notification: Performance of Bindings: time 0.001231/0.5606, allocations: 1.512 MB / 1.234 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 9.382e-05/0.5607, allocations: 79.91 kB / 1.234 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.0005211/0.5613, allocations: 0.5838 MB / 1.234 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simplify1: time 0.000121/0.5614, allocations: 130.3 kB / 1.235 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of Alias: time 0.001138/0.5625, allocations: 0.9668 MB / 1.236 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of simplify2: time 8.818e-05/0.5626, allocations: 89.5 kB / 1.236 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0001776/0.5628, allocations: 132.2 kB / 1.236 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of Events: time 9.722e-05/0.5629, allocations: 71.77 kB / 1.236 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.000144/0.5631, allocations: 152.9 kB / 1.236 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of Causalize: time 0.0006043/0.5637, allocations: 0.5585 MB / 1.236 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.0002686/0.564, allocations: 313.8 kB / 1.237 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of Inline: time 0.0009913/0.565, allocations: 0.8903 MB / 1.238 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of Partitioning: time 3.608e-05/0.565, allocations: 26.36 kB / 1.238 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of Cleanup: time 8.998e-05/0.5651, allocations: 119.8 kB / 1.238 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of Causalize: time 0.001079/0.5662, allocations: 0.9383 MB / 1.239 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of Tearing: time 9.668e-06/0.5662, allocations: 0 / 1.239 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of Initialization: time 3.1e-07/0.5662, allocations: 0 / 1.239 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of Tearing: time 0.0002683/0.5665, allocations: 330.1 kB / 1.239 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of Categorize: time 8.867e-06/0.5665, allocations: 4.031 kB / 1.239 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of Solve: time 0.0002675/0.5668, allocations: 217.9 kB / 1.239 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of Jacobian: time 0.000355/0.5671, allocations: 426.9 kB / 1.24 GB, free: 5.254 MB / 0.9512 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * 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: ............................. 3 (3) {vol.dynBal.U, vol.dynBal.m, vol.dynBal.medium.Xi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (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:20, array:8, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 49 (scalar:39, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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 3.574e-05/0.5672, allocations: 35.5 kB / 1.24 GB, free: 5.223 MB / 0.9512 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_2)