Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001198/0.001198, allocations: 103.1 kB / 16.42 MB, free: 6.469 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.001071/0.001071, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002216, allocations: 288.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.639e-05, allocations: 4.812 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.741/0.741, allocations: 176 MB / 0.8539 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.7587, allocations: 12.74 MB / 0.8664 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7607, allocations: 31.81 kB / 0.8664 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.7622, allocations: 444.6 kB / 0.8668 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.7659, allocations: 0.9606 MB / 0.8678 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005208/0.7711, allocations: 1.862 MB / 0.8696 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.7749, allocations: 2.496 MB / 0.872 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.7773, allocations: 1.651 MB / 0.8736 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/0.7817, allocations: 1.416 MB / 0.875 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.783, allocations: 0.8051 MB / 0.8758 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.7832, allocations: 156 kB / 0.8759 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.7863, allocations: 1.376 MB / 0.8773 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.001853/0.7881, allocations: 2.52 MB / 0.8797 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.001003/0.7891, allocations: 1.599 MB / 0.8813 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.7897, allocations: 275.1 kB / 0.8816 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.0006282/0.7903, allocations: 71.56 kB / 0.8816 GB, free: 1.402 MB / 0.6387 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.006831/0.7971, allocations: 7.19 MB / 0.8887 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0009677/0.7981, allocations: 0.9413 MB / 0.8896 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.004443/0.8026, allocations: 4.391 MB / 0.8939 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0004373/0.803, allocations: 335.6 kB / 0.8942 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of Alias: time 0.01091/0.8139, allocations: 8.059 MB / 0.9021 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simplify2: time 0.000666/0.8146, allocations: 243.7 kB / 0.9023 GB, free: 11.42 MB / 0.67 GB Notification: Performance of Events: time 0.001114/0.8158, allocations: 0.6439 MB / 0.9029 GB, free: 10.76 MB / 0.67 GB Notification: Performance of Detect States: time 0.001141/0.8169, allocations: 0.807 MB / 0.9037 GB, free: 9.93 MB / 0.67 GB Notification: Performance of Partitioning: time 0.001818/0.8188, allocations: 1.113 MB / 0.9048 GB, free: 8.672 MB / 0.67 GB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid.