Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001213, allocations: 107.3 kB / 16.42 MB, free: 6.461 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.001228/0.001228, allocations: 188.3 kB / 17.35 MB, free: 5.691 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.208/1.208, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.278/2.278, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.63e-05, allocations: 2.5 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6163/0.6163, allocations: 185.1 MB / 1.247 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008639/0.625, allocations: 6.972 MB / 1.253 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007308/0.6258, allocations: 31.81 kB / 1.253 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.6268, allocations: 409.5 kB / 1.254 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.6298, allocations: 1.508 MB / 1.255 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.6323, allocations: 1.186 MB / 1.256 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.6342, allocations: 2.022 MB / 1.258 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006414/0.6349, allocations: 0.5369 MB / 1.259 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.6361, allocations: 0.8871 MB / 1.26 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009192/0.637, allocations: 0.5783 MB / 1.26 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.005e-05/0.6371, allocations: 64 kB / 1.26 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.6396, allocations: 1.871 MB / 1.262 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.0009593/0.6406, allocations: 1.339 MB / 1.264 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0005243/0.6411, allocations: 0.8685 MB / 1.264 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.6413, allocations: 123.7 kB / 1.264 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0001472/0.6414, allocations: 27.81 kB / 1.265 GB, free: 12.23 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 (118) * Number of variables: 131 (107) Notification: Performance of Bindings: time 0.00244/0.6439, allocations: 2.795 MB / 1.267 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0002331/0.6441, allocations: 234.7 kB / 1.267 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.001371/0.6455, allocations: 1.422 MB / 1.269 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simplify1: time 0.0002569/0.6457, allocations: 235.6 kB / 1.269 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of Alias: time 0.001855/0.6476, allocations: 1.569 MB / 1.271 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simplify2: time 0.000201/0.6478, allocations: 199.4 kB / 1.271 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of Detect States: time 0.0003453/0.6482, allocations: 310.3 kB / 1.271 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Events: time 0.0002497/0.6484, allocations: 199.9 kB / 1.271 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.0004117/0.6489, allocations: 404.1 kB / 1.272 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of Causalize: time 0.002396/0.6513, allocations: 2.279 MB / 1.274 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of After Index Reduction Inline: time 0.0008318/0.6521, allocations: 0.8816 MB / 1.275 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of Inline: time 0.002131/0.6542, allocations: 1.987 MB / 1.277 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Partitioning: time 7.108e-05/0.6543, allocations: 39.62 kB / 1.277 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of Cleanup: time 0.000358/0.6547, allocations: 467.3 kB / 1.277 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of Causalize: time 0.005959/0.6606, allocations: 5.463 MB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of Tearing: time 1.987e-05/0.6607, allocations: 11.94 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of Initialization: time 4.91e-07/0.6607, allocations: 0 / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of Tearing: time 6.392e-06/0.6607, allocations: 0 / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of Categorize: time 1.516e-05/0.6607, allocations: 7.938 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of Solve: time 0.001247/0.662, allocations: 1.48 MB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of Jacobian: time 0.001186/0.6632, allocations: 1.176 MB / 1.285 GB, free: 6.316 MB / 0.9981 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {vol.dynBal.U, vol.dynBal.m, vol.dynBal.medium.Xi, senDenFlo.d} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (12) {$SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 91 (scalar:71, array:20, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 112 (scalar:90, array:22, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 112 (scalar:90, array:22, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.192e-05/0.6632, allocations: 74.55 kB / 1.285 GB, free: 6.246 MB / 0.9981 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_8)