Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.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.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 113.5 kB / 16.43 MB, free: 6.461 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.001039/0.001039, allocations: 185.9 kB / 17.36 MB, free: 5.73 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.142/1.142, 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.889/1.889, allocations: 390.2 MB / 0.6654 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.404e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ElectricalFollowing): time 0.0331/0.03313, allocations: 41.16 MB / 0.9917 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.04674, allocations: 11.11 MB / 1.003 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.04889, allocations: 87.62 kB / 1.003 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.05122, allocations: 0.9968 MB / 1.004 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.05492, allocations: 1.593 MB / 1.005 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.05875, allocations: 2.151 MB / 1.007 GB, free: 14.43 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004805/0.06357, allocations: 5.511 MB / 1.013 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002866/0.06644, allocations: 3.133 MB / 1.016 GB, free: 5.691 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.06867, allocations: 1.966 MB / 1.018 GB, free: 3.719 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.07002, allocations: 1.707 MB / 1.019 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.07041, allocations: 420 kB / 1.02 GB, free: 1.594 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.07245, allocations: 1.572 MB / 1.021 GB, free: 20 kB / 0.795 GB Notification: Performance of combineBinaries: time 0.002666/0.07513, allocations: 5.164 MB / 1.026 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.001431/0.07657, allocations: 3.272 MB / 1.029 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.0771, allocations: 0.5531 MB / 1.03 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0006494/0.07776, allocations: 250.2 kB / 1.03 GB, free: 6.676 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: 669 (638) * Number of variables: 649 (615) Notification: Performance of Bindings: time 0.01137/0.08914, allocations: 16.51 MB / 1.046 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.001575/0.09072, allocations: 2.32 MB / 1.049 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.007832/0.09856, allocations: 10.49 MB / 1.059 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0004668/0.09904, allocations: 0.5656 MB / 1.059 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of Alias: time 0.01616/0.1152, allocations: 18.32 MB / 1.077 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0003413/0.1156, allocations: 387.5 kB / 1.078 GB, free: 4.352 MB / 0.8575 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - eleFol.opeMod.transition4.t_dummy}).