Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001047/0.001047, allocations: 189.9 kB / 17.36 MB, free: 5.75 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.131/1.131, 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 9.1.3-maint.9.1.x/package.mo): time 1.915/1.915, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.372e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.004978/0.005, allocations: 4.678 MB / 0.956 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.00905, allocations: 3.092 MB / 0.9591 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.009394, allocations: 27.88 kB / 0.9591 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.01062, allocations: 0.6214 MB / 0.9597 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0006523/0.01128, allocations: 409.6 kB / 0.9601 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.01279, allocations: 0.9393 MB / 0.961 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.01423, allocations: 1.962 MB / 0.9629 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.01532, allocations: 1.258 MB / 0.9641 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.01594, allocations: 0.7865 MB / 0.9649 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.01649, allocations: 0.7429 MB / 0.9656 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.01667, allocations: 184 kB / 0.9658 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.01716, allocations: 363.8 kB / 0.9662 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001145/0.01831, allocations: 2.248 MB / 0.9684 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0005781/0.0189, allocations: 1.385 MB / 0.9697 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.0191, allocations: 239.2 kB / 0.9699 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.000216/0.01932, allocations: 151 kB / 0.9701 GB, free: 4.531 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: 320 (304) * Number of variables: 300 (284) Notification: Performance of Bindings: time 0.005044/0.02437, allocations: 7.008 MB / 0.9769 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0005344/0.02492, allocations: 0.6848 MB / 0.9776 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.003374/0.0283, allocations: 4.422 MB / 0.9819 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0001998/0.02851, allocations: 243.6 kB / 0.9821 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of Alias: time 0.006311/0.03483, allocations: 6.909 MB / 0.9889 GB, free: 420 kB / 0.7637 GB Notification: Performance of simplify2: time 0.0001482/0.03499, allocations: 175.8 kB / 0.9891 GB, free: 244 kB / 0.7637 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - con.transition4.t_dummy}).