Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 110.5 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.001063/0.001063, 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.126/2.126, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/1.9e-05, allocations: 6.5 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.006066/0.006094, allocations: 5.249 MB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004928/0.01103, allocations: 3.282 MB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008673/0.01191, allocations: 35.75 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.01355, allocations: 0.6926 MB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.01483, allocations: 497.2 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.01695, allocations: 1.052 MB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.01937, allocations: 2.262 MB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.02118, allocations: 1.433 MB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.02242, allocations: 0.9071 MB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.02347, allocations: 0.8712 MB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.02389, allocations: 208 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007786/0.02467, allocations: 395.7 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001764/0.02645, allocations: 2.672 MB / 1.038 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.000978/0.02743, allocations: 1.67 MB / 1.04 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.02788, allocations: 283.1 kB / 1.04 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0003001/0.02819, allocations: 163 kB / 1.04 GB, free: 3.699 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 (332) * Number of variables: 328 (312) Notification: Performance of Bindings: time 0.006128/0.03432, allocations: 8.266 MB / 1.048 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0007435/0.03507, allocations: 1.002 MB / 1.049 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.003832/0.03891, allocations: 4.884 MB / 1.054 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0002278/0.03915, allocations: 275.6 kB / 1.054 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of Alias: time 0.007153/0.04631, allocations: 7.774 MB / 1.062 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001701/0.04649, allocations: 203.7 kB / 1.062 GB, free: 12.33 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - con.transition4.t_dummy}).