Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 115.4 kB / 16.43 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.001121/0.001121, 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.186/1.186, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.302/2.302, allocations: 469.8 MB / 0.7431 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.844e-05, allocations: 2.281 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6112/0.6113, allocations: 186.8 MB / 1.248 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006663/0.618, allocations: 4.56 MB / 1.253 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006172/0.6186, allocations: 27.81 kB / 1.253 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009701/0.6196, allocations: 429.4 kB / 1.253 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.6224, allocations: 1.409 MB / 1.255 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.6241, allocations: 0.7594 MB / 1.255 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.6262, allocations: 2.043 MB / 1.257 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.6269, allocations: 0.5363 MB / 1.258 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.6292, allocations: 1.148 MB / 1.259 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.6299, allocations: 0.5698 MB / 1.259 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.63, allocations: 60 kB / 1.26 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.632, allocations: 1.341 MB / 1.261 GB, free: 132 kB / 0.9669 GB Notification: Performance of combineBinaries: time 0.0009407/0.633, allocations: 1.316 MB / 1.262 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0005201/0.6335, allocations: 0.8462 MB / 1.263 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.6337, allocations: 123.6 kB / 1.263 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0001774/0.6338, allocations: 27.88 kB / 1.263 GB, free: 13.8 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: 129 (116) * Number of variables: 129 (105) Notification: Performance of Bindings: time 0.002421/0.6363, allocations: 2.721 MB / 1.266 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0002269/0.6365, allocations: 212.3 kB / 1.266 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.001324/0.6378, allocations: 1.338 MB / 1.267 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simplify1: time 0.0002557/0.6381, allocations: 227.5 kB / 1.267 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Alias: time 0.001739/0.6398, allocations: 1.404 MB / 1.269 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simplify2: time 0.0002162/0.6401, allocations: 203.5 kB / 1.269 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of Detect States: time 0.0004921/0.6406, allocations: 317.7 kB / 1.269 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of Events: time 0.0002425/0.6408, allocations: 179.6 kB / 1.269 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.0004249/0.6413, allocations: 408.1 kB / 1.27 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of Causalize: time 0.002617/0.6439, allocations: 2.376 MB / 1.272 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of After Index Reduction Inline: time 0.0008745/0.6448, allocations: 0.8865 MB / 1.273 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of Inline: time 0.002257/0.647, allocations: 1.996 MB / 1.275 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of Partitioning: time 7.033e-05/0.6471, allocations: 39.62 kB / 1.275 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of Cleanup: time 0.0003778/0.6475, allocations: 483.2 kB / 1.276 GB, free: 472 kB / 0.9825 GB Notification: Performance of Causalize: time 0.006541/0.654, allocations: 5.662 MB / 1.281 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of Tearing: time 2.03e-05/0.6541, allocations: 4 kB / 1.281 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of Initialization: time 5.51e-07/0.6541, allocations: 0 / 1.281 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of Tearing: time 1.309e-05/0.6541, allocations: 7.938 kB / 1.281 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of Categorize: time 1.741e-05/0.6541, allocations: 4 kB / 1.281 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of Solve: time 0.0014/0.6555, allocations: 1.503 MB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of Jacobian: time 0.001313/0.6569, allocations: 1.219 MB / 1.284 GB, free: 7.875 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, senMasFra1.X} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {$SEV_9, $SEV_8, $SEV_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: ........... 95 (scalar:73, array:22, 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: ........... 117 (scalar:93, array:24, 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: ........... 117 (scalar:93, array:24, 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.538e-05/0.6569, allocations: 65.23 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_8)