Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 111.7 kB / 16.43 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.001144/0.001144, allocations: 186.1 kB / 17.35 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.19/1.19, allocations: 222.9 MB / 241.1 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.304/2.304, allocations: 469.8 MB / 0.7431 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/1.906e-05, allocations: 4.188 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6281/0.6282, allocations: 176.8 MB / 1.238 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.643, allocations: 12.82 MB / 1.251 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.6443, allocations: 31.81 kB / 1.251 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.6455, allocations: 484.4 kB / 1.251 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.6479, allocations: 1.052 MB / 1.252 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.6518, allocations: 1.889 MB / 1.254 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.6544, allocations: 2.652 MB / 1.257 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.6559, allocations: 1.255 MB / 1.258 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.6591, allocations: 1.47 MB / 1.26 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007931/0.6599, allocations: 0.8285 MB / 1.26 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.6601, allocations: 156 kB / 1.261 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.6623, allocations: 1.373 MB / 1.262 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.001578/0.6639, allocations: 2.563 MB / 1.264 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0008452/0.6648, allocations: 1.595 MB / 1.266 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.6651, allocations: 283.2 kB / 1.266 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0003209/0.6654, allocations: 79.38 kB / 1.266 GB, free: 10.46 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: 346 (317) * Number of variables: 346 (311) Notification: Performance of Bindings: time 0.004339/0.6697, allocations: 5.438 MB / 1.272 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0004802/0.6702, allocations: 485.6 kB / 1.272 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.003019/0.6733, allocations: 3.274 MB / 1.275 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of simplify1: time 0.0005466/0.6738, allocations: 0.5111 MB / 1.276 GB, free: 396 kB / 0.9825 GB Notification: Performance of Alias: time 0.00585/0.6797, allocations: 5.19 MB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simplify2: time 0.0003532/0.68, allocations: 339.1 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of Detect States: time 0.0005736/0.6806, allocations: 0.55 MB / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of Events: time 0.0005718/0.6812, allocations: 496.5 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.00078/0.682, allocations: 0.7955 MB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of Causalize: time 0.004155/0.6862, allocations: 3.788 MB / 1.287 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of After Index Reduction Inline: time 0.001731/0.6879, allocations: 1.786 MB / 1.288 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of Inline: time 0.00678/0.6947, allocations: 4.794 MB / 1.293 GB, free: 13.72 MB / 1.014 GB Notification: Performance of Partitioning: time 0.0001527/0.6948, allocations: 87.59 kB / 1.293 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Cleanup: time 0.0006512/0.6955, allocations: 0.7802 MB / 1.294 GB, free: 12.83 MB / 1.014 GB Notification: Performance of Causalize: time 0.006299/0.7018, allocations: 5.359 MB / 1.299 GB, free: 7.406 MB / 1.014 GB Notification: Performance of Tearing: time 0.0004179/0.7022, allocations: 414.1 kB / 1.3 GB, free: 6.953 MB / 1.014 GB Notification: Performance of Initialization: time 1.754e-06/0.7023, allocations: 0 / 1.3 GB, free: 6.953 MB / 1.014 GB Notification: Performance of Tearing: time 0.0003304/0.7026, allocations: 430 kB / 1.3 GB, free: 6.484 MB / 1.014 GB Notification: Performance of Categorize: time 2.887e-05/0.7026, allocations: 7.938 kB / 1.3 GB, free: 6.477 MB / 1.014 GB Notification: Performance of Solve: time 0.001261/0.7039, allocations: 0.7929 MB / 1.301 GB, free: 5.672 MB / 1.014 GB Notification: Performance of Jacobian: time 3.206e-06/0.7039, allocations: 3.938 kB / 1.301 GB, free: 5.668 MB / 1.014 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 19 * 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: .................... 5 (5) {weaDat.decAng.tNext, weaDat.eqnTim.tNext, weaDat.conTim.tNext, weaDat.conTimMin.tNext, weaDat.locTim.tNext} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 42 (42) {$SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_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: ........... 154 (scalar:141, array:13, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 240 (scalar:224, array:14, record:2) * Number of multi strong components: ............ 5 (algorithm:5, 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: 1, nonlinear:0) Notification: Performance of backend: time 7.584e-05/0.704, allocations: 87.06 kB / 1.301 GB, free: 5.59 MB / 1.014 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_40)