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.001279/0.001289, allocations: 112.8 kB / 16.42 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.001403/0.001403, allocations: 182 kB / 17.36 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002218/0.002218, allocations: 291 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.442e-05, allocations: 2.281 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.7012/0.7012, allocations: 185 MB / 0.8627 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.7122, allocations: 6.974 MB / 0.8695 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.7134, allocations: 31.81 kB / 0.8696 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.7146, allocations: 405.5 kB / 0.87 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.7186, allocations: 1.505 MB / 0.8714 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.7225, allocations: 1.176 MB / 0.8726 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00356/0.726, allocations: 2.042 MB / 0.8746 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.7274, allocations: 0.6696 MB / 0.8752 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.7298, allocations: 0.8953 MB / 0.8761 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.7317, allocations: 0.5726 MB / 0.8767 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/0.732, allocations: 60 kB / 0.8767 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005268/0.7373, allocations: 1.87 MB / 0.8785 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.002533/0.7399, allocations: 1.339 MB / 0.8799 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.001576/0.7415, allocations: 0.8646 MB / 0.8807 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.7422, allocations: 131.6 kB / 0.8808 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.0004305/0.7426, allocations: 35.81 kB / 0.8809 GB, free: 2.309 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: 131 (118) * Number of variables: 131 (107) Notification: Performance of Bindings: time 0.006351/0.749, allocations: 3.586 MB / 0.8844 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0005831/0.7496, allocations: 228.9 kB / 0.8846 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.003363/0.753, allocations: 1.867 MB / 0.8864 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0004451/0.7534, allocations: 143.8 kB / 0.8865 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of Alias: time 0.003922/0.7574, allocations: 2.425 MB / 0.8889 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0002874/0.7577, allocations: 111.9 kB / 0.889 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0006499/0.7583, allocations: 421.5 kB / 0.8894 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of Events: time 0.000453/0.7588, allocations: 207.6 kB / 0.8896 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.000902/0.7597, allocations: 0.5897 MB / 0.8902 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004394/0.7641, allocations: 2.985 MB / 0.8931 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001686/0.7658, allocations: 1.237 MB / 0.8943 GB, free: 4.031 MB / 0.6544 GB Error: Internal error NBInitialization.main failed to apply modules!