Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001222/0.001222, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001232/0.001232, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.168/2.168, allocations: 437 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.404e-05, allocations: 4.25 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.005362/0.005386, allocations: 4.69 MB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.009852, allocations: 3.107 MB / 1.027 GB, free: 1.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007424/0.01061, allocations: 23.88 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.01212, allocations: 0.626 MB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000991/0.01312, allocations: 414.2 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.01498, allocations: 0.9437 MB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002061/0.01705, allocations: 1.962 MB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.0186, allocations: 1.25 MB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.01964, allocations: 0.7826 MB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008456/0.0205, allocations: 0.7507 MB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.02082, allocations: 187.9 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.02144, allocations: 359.8 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001455/0.02291, allocations: 2.24 MB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0008306/0.02374, allocations: 1.385 MB / 1.037 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.02411, allocations: 243.2 kB / 1.038 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0002438/0.02435, allocations: 159 kB / 1.038 GB, free: 6.242 MB / 0.8106 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.006158/0.03052, allocations: 6.993 MB / 1.045 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0005902/0.03112, allocations: 0.6903 MB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.003688/0.03481, allocations: 4.438 MB / 1.05 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0002255/0.03505, allocations: 239.6 kB / 1.05 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of Alias: time 0.006718/0.04178, allocations: 6.902 MB / 1.057 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simplify2: time 0.0001923/0.04198, allocations: 171.8 kB / 1.057 GB, free: 1.965 MB / 0.8262 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - con.transition4.t_dummy}).