Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001219/0.001219, allocations: 110.3 kB / 16.38 MB, free: 6.441 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.001264/0.001264, allocations: 187.1 kB / 17.31 MB, free: 5.789 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 293.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.828e-05, allocations: 6.438 kB / 0.5966 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.5291/0.5291, allocations: 185 MB / 0.7773 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.5399, allocations: 6.963 MB / 0.7841 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.5411, allocations: 29.72 kB / 0.7841 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5421, allocations: 408.2 kB / 0.7845 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.5459, allocations: 1.451 MB / 0.7859 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.5489, allocations: 1.155 MB / 0.787 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00246/0.5514, allocations: 2.037 MB / 0.789 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/0.5523, allocations: 0.6813 MB / 0.7897 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.5538, allocations: 0.8641 MB / 0.7905 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.5549, allocations: 0.5994 MB / 0.7911 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.555, allocations: 64 kB / 0.7912 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.5582, allocations: 1.855 MB / 0.793 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.001072/0.5593, allocations: 1.343 MB / 0.7943 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0005428/0.5598, allocations: 0.8372 MB / 0.7951 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.56, allocations: 135.6 kB / 0.7953 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0001991/0.5602, allocations: 31.88 kB / 0.7953 GB, free: 6.789 MB / 0.5137 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.003199/0.5634, allocations: 3.536 MB / 0.7987 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002633/0.5637, allocations: 246 kB / 0.799 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.00185/0.5656, allocations: 1.859 MB / 0.8008 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simplify1: time 0.000139/0.5657, allocations: 131.8 kB / 0.8009 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of Alias: time 0.002429/0.5682, allocations: 2.22 MB / 0.8031 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0001104/0.5683, allocations: 119.8 kB / 0.8032 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of Events: time 0.0002605/0.5685, allocations: 215.5 kB / 0.8034 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Detect States: time 0.000416/0.569, allocations: 434.9 kB / 0.8038 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0005905/0.5696, allocations: 0.6016 MB / 0.8044 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of Causalize: time 0.00367/0.5732, allocations: 3.916 MB / 0.8082 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001157/0.5744, allocations: 1.234 MB / 0.8094 GB, free: 7.879 MB / 0.5294 GB Error: Internal error NBInitialization.main failed to apply modules!