Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 105.1 kB / 16.42 MB, free: 6.527 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.0009697/0.00097, allocations: 189.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4488/0.4488, allocations: 95.48 MB / 366.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.422e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.4616/0.4617, allocations: 158.4 MB / 0.6589 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.4717, allocations: 7.787 MB / 0.6665 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.4728, allocations: 27.81 kB / 0.6666 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.4739, allocations: 369.5 kB / 0.6669 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.4763, allocations: 0.8902 MB / 0.6678 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.4795, allocations: 1.004 MB / 0.6688 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.4831, allocations: 2.17 MB / 0.6709 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.4844, allocations: 0.8265 MB / 0.6717 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.4864, allocations: 0.8829 MB / 0.6725 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/0.4873, allocations: 0.6506 MB / 0.6732 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.4874, allocations: 80 kB / 0.6733 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.4885, allocations: 395.4 kB / 0.6736 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.001237/0.4898, allocations: 1.532 MB / 0.6751 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0006546/0.4904, allocations: 0.9753 MB / 0.6761 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.4907, allocations: 159.6 kB / 0.6762 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002111/0.4909, allocations: 27.88 kB / 0.6763 GB, free: 14.55 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 (152) * Number of variables: 170 (136) Notification: Performance of Bindings: time 0.003827/0.4947, allocations: 4.243 MB / 0.6804 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0003035/0.495, allocations: 247.4 kB / 0.6806 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.002149/0.4972, allocations: 2.092 MB / 0.6827 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0002093/0.4974, allocations: 151.8 kB / 0.6828 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of Alias: time 0.003273/0.5007, allocations: 2.922 MB / 0.6857 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0001518/0.5008, allocations: 103.8 kB / 0.6858 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of Events: time 0.0004518/0.5013, allocations: 334.7 kB / 0.6861 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0005569/0.5019, allocations: 0.5045 MB / 0.6866 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0007165/0.5026, allocations: 0.7276 MB / 0.6873 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of Causalize: time 0.00469/0.5073, allocations: 4.736 MB / 0.6919 GB, free: 13.84 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.001506/0.5088, allocations: 1.401 MB / 0.6933 GB, free: 12.4 MB / 0.545 GB Notification: Performance of Inline: time 0.003282/0.5121, allocations: 3.074 MB / 0.6963 GB, free: 9.258 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0001754/0.5123, allocations: 147.7 kB / 0.6964 GB, free: 9.098 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0001225/0.5124, allocations: 107.8 kB / 0.6965 GB, free: 8.992 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency sou.C_in_internal could not be divided by the body size 2 without rest. Error: Internal error NBInitialization.main failed to apply modules!