Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001124/0.001124, allocations: 108.9 kB / 16.42 MB, free: 6.477 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.001093/0.001093, allocations: 188.3 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.137/1.137, 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 11.1.0-maint.11.x/package.mo): time 2.204/2.204, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.606e-05, allocations: 6.219 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.005585/0.005609, allocations: 5.234 MB / 1.071 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00432/0.009941, allocations: 3.301 MB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.01031, allocations: 27.88 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.01166, allocations: 0.6916 MB / 1.075 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.01244, allocations: 0.4932 MB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.01411, allocations: 1.046 MB / 1.076 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.01583, allocations: 2.238 MB / 1.079 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3944/0.4102, allocations: 1.142 MB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.4114, allocations: 0.9152 MB / 1.081 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.4121, allocations: 0.8738 MB / 1.081 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.4124, allocations: 203.3 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.4131, allocations: 400.2 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001144/0.4142, allocations: 2.661 MB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0005331/0.4147, allocations: 1.679 MB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.415, allocations: 268.3 kB / 1.086 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003396/0.4154, allocations: 164.1 kB / 1.087 GB, free: 8.91 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.004376/0.4198, allocations: 5.926 MB / 1.092 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0004644/0.4202, allocations: 0.5396 MB / 1.093 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.003165/0.4234, allocations: 3.526 MB / 1.096 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0005701/0.424, allocations: 477.6 kB / 1.097 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of Alias: time 0.005275/0.4293, allocations: 4.749 MB / 1.101 GB, free: 500 kB / 0.8419 GB Notification: Performance of simplify2: time 0.0003423/0.4296, allocations: 307.8 kB / 1.102 GB, free: 328 kB / 0.8419 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - con.transition4.t_dummy).