Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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_latest_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_latest_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.00114/0.00114, allocations: 108.3 kB / 16.42 MB, free: 6.48 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.001076/0.001076, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.17/1.17, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.29/2.29, allocations: 472.6 MB / 0.7459 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.083e-05, allocations: 4.391 kB / 1.07 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.006022/0.006051, allocations: 5.243 MB / 1.075 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00498/0.01104, allocations: 3.297 MB / 1.078 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009404/0.012, allocations: 31.81 kB / 1.078 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.01368, allocations: 0.6838 MB / 1.079 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.4066/0.4203, allocations: 495.2 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.4226, allocations: 1.047 MB / 1.081 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.4246, allocations: 2.257 MB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.4259, allocations: 1.428 MB / 1.084 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.4266, allocations: 0.9122 MB / 1.085 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.4273, allocations: 0.8775 MB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.4275, allocations: 202.3 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/0.4281, allocations: 398.9 kB / 1.087 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001127/0.4293, allocations: 2.661 MB / 1.089 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0005452/0.4298, allocations: 1.687 MB / 1.091 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.4301, allocations: 282 kB / 1.091 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002835/0.4303, allocations: 160.4 kB / 1.091 GB, free: 7.23 MB / 0.8419 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.005549/0.4359, allocations: 8.261 MB / 1.099 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0007165/0.4366, allocations: 1.003 MB / 1.1 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.004325/0.441, allocations: 4.883 MB / 1.105 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0003044/0.4413, allocations: 280.6 kB / 1.105 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of Alias: time 0.00818/0.4495, allocations: 7.792 MB / 1.113 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0002193/0.4497, allocations: 192.8 kB / 1.113 GB, free: 9.043 MB / 0.8575 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - con.transition4.t_dummy}).