Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001126/0.001126, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.001035/0.001035, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.175/1.175, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.929/1.929, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.231e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.005337/0.005358, allocations: 5.248 MB / 0.9566 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.009356, allocations: 3.283 MB / 0.9598 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.009695, allocations: 23.88 kB / 0.9598 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.01095, allocations: 0.695 MB / 0.9605 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0007627/0.01173, allocations: 497.1 kB / 0.961 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.01339, allocations: 1.041 MB / 0.962 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.01514, allocations: 2.273 MB / 0.9642 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.01644, allocations: 1.421 MB / 0.9656 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.01719, allocations: 0.9072 MB / 0.9665 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.01783, allocations: 0.8866 MB / 0.9673 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.01803, allocations: 204 kB / 0.9675 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.01859, allocations: 391.8 kB / 0.9679 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.00134/0.01994, allocations: 2.657 MB / 0.9705 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0007004/0.02065, allocations: 1.678 MB / 0.9721 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.0209, allocations: 279.1 kB / 0.9724 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0002785/0.02118, allocations: 163 kB / 0.9726 GB, free: 1.926 MB / 0.7481 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.005893/0.02708, allocations: 8.277 MB / 0.9807 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0007318/0.02782, allocations: 0.9884 MB / 0.9816 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.003745/0.03157, allocations: 4.88 MB / 0.9864 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0002363/0.03182, allocations: 283.6 kB / 0.9867 GB, free: 3.184 MB / 0.7637 GB Notification: Performance of Alias: time 0.007181/0.03901, allocations: 7.787 MB / 0.9943 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplify2: time 0.0002013/0.03923, allocations: 195.7 kB / 0.9944 GB, free: 10.55 MB / 0.7794 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - con.transition4.t_dummy}).