Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.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.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 113 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.001925/0.001925, 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.413/2.413, allocations: 472.6 MB / 0.7459 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.316e-05, allocations: 2.281 kB / 1.07 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.003744/0.003776, allocations: 2.402 MB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.006136, allocations: 1.243 MB / 1.074 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.006476, allocations: 11.94 kB / 1.074 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.006912, allocations: 115.2 kB / 1.074 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.007398, allocations: 111.2 kB / 1.074 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.008325, allocations: 331.4 kB / 1.074 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009585/0.009293, allocations: 0.6783 MB / 1.075 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.009989, allocations: 466.9 kB / 1.075 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.01048, allocations: 303 kB / 1.076 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.0109, allocations: 290.9 kB / 1.076 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.01107, allocations: 72 kB / 1.076 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.01135, allocations: 112 kB / 1.076 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005759/0.01193, allocations: 0.8075 MB / 1.077 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003124/0.01225, allocations: 476.8 kB / 1.077 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.0124, allocations: 87.73 kB / 1.077 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001312/0.01254, allocations: 63.61 kB / 1.077 GB, free: 2.137 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: 125 (119) * Number of variables: 117 (111) Notification: Performance of Bindings: time 0.5182/0.5308, allocations: 2.339 MB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0004512/0.5313, allocations: 190.5 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001908/0.5332, allocations: 1.639 MB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001686/0.5334, allocations: 108.7 kB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of Alias: time 0.002798/0.5362, allocations: 2.5 MB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simplify2: time 9.173e-05/0.5363, allocations: 81.55 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - varSpePumSta.con1.t_dummy}).