Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Combined.Examples.AllElectricCWStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loaHea.1..bui.QReqHea_flow|loaHea.1..bui.QHea_flow|loaHea.2..bui.QReqHea_flow|loaHea.2..bui.QHea_flow|loaCoo.1..bui.QReqCoo_flow|loaCoo.1..bui.QCoo_flow|loaCoo.2..bui.QReqCoo_flow|loaCoo.2..bui.QCoo_flow|pla.PHea|pla.PCoo|pla.PFan|pla.PPum|pla.THeaWatSup.T|pla.THeaWatPriRet.T|pla.TChiWatSup.T|pla.TChiWatPriRet.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage") translateModel(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loaHea.1..bui.QReqHea_flow|loaHea.1..bui.QHea_flow|loaHea.2..bui.QReqHea_flow|loaHea.2..bui.QHea_flow|loaCoo.1..bui.QReqCoo_flow|loaCoo.1..bui.QCoo_flow|loaCoo.2..bui.QReqCoo_flow|loaCoo.2..bui.QCoo_flow|pla.PHea|pla.PCoo|pla.PFan|pla.PPum|pla.THeaWatSup.T|pla.THeaWatPriRet.T|pla.TChiWatSup.T|pla.TChiWatPriRet.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001152/0.001152, allocations: 172.9 kB / 16.27 MB, free: 6.664 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 10.72 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.617/8.953, allocations: 3.458 GB / 4.517 GB, free: 0.9922 MB / 2.201 GB Notification: Performance of NFInst.instExpressions: time 2.891/11.84, allocations: 0.662 GB / 5.179 GB, free: 14.14 MB / 2.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2132/12.06, allocations: 3.013 MB / 5.182 GB, free: 11.11 MB / 2.295 GB Notification: Performance of NFTyping.typeComponents: time 0.6044/12.66, allocations: 102.1 MB / 5.282 GB, free: 14.39 MB / 2.389 GB Notification: Performance of NFTyping.typeBindings: time 0.276/12.94, allocations: 74.63 MB / 5.354 GB, free: 14.54 MB / 2.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.1748/13.11, allocations: 62.33 MB / 5.415 GB, free: 5.559 MB / 2.498 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.02349647118779809, 0.04699294237559619, 0.06400762840813964}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.008223764915729332, 0.01644752983145866, 0.02240266994284887}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01644752983145866, 0.03289505966291733, 0.04480533988569774}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01174823559389905, 0.02349647118779809, 0.03200381420406982}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01150275356512994, 0.02300550713025987, 0.03133508729811259}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘1.0 / pla.chiHea.COPCasCoo_nominal‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01096501988763911, 0.02193003977527822, 0.02987022659046516}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01150825201329683, 0.02301650402659365, 0.03135006582932583}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01150825201329683, 0.02301650402659365, 0.03135006582932583}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.006529917436273292, 0.01305983487254658, 0.01778839577467552}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.006529917436273292, 0.01305983487254658, 0.01778839577467552}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 4.86/17.97, allocations: 430.1 MB / 5.835 GB, free: 127.1 MB / 2.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2958/18.27, allocations: 129.5 MB / 5.962 GB, free: 69.35 MB / 2.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2141/18.48, allocations: 77.88 MB / 6.038 GB, free: 15.66 MB / 2.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.165/18.65, allocations: 69.73 MB / 6.106 GB, free: 9.859 MB / 2.67 GB Notification: Performance of NFPackage.collectConstants: time 0.04588/18.69, allocations: 3.91 MB / 6.11 GB, free: 5.949 MB / 2.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1478/18.84, allocations: 29.79 MB / 6.139 GB, free: 2.492 MB / 2.686 GB Notification: Performance of NFScalarize.scalarize: time 0.06076/18.9, allocations: 23.23 MB / 6.162 GB, free: 1.664 MB / 2.701 GB Notification: Performance of NFVerifyModel.verify: time 0.1652/19.07, allocations: 58.26 MB / 6.218 GB, free: 10.81 MB / 2.748 GB Notification: Performance of NFConvertDAE.convert: time 0.3781/19.45, allocations: 247.6 MB / 6.46 GB, free: 6.625 MB / 2.951 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/19.45, allocations: 0 / 6.46 GB, free: 6.625 MB / 2.951 GB Notification: Performance of FrontEnd: time 3.827e-06/19.45, allocations: 4 kB / 6.46 GB, free: 6.621 MB / 2.951 GB Notification: Performance of Transformations before backend: time 0.008888/19.45, allocations: 0 / 6.46 GB, free: 6.621 MB / 2.951 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18475 * Number of variables: 18475 Notification: Performance of Generate backend data structure: time 0.3223/19.78, allocations: 126.6 MB / 6.584 GB, free: 8.449 MB / 3.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/19.78, allocations: 8.875 kB / 6.584 GB, free: 8.441 MB / 3.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1449/19.92, allocations: 26.72 MB / 6.61 GB, free: 13.58 MB / 3.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.017/21.94, allocations: 157.5 MB / 6.764 GB, free: 1.883 GB / 3.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01413/21.95, allocations: 7.382 MB / 6.771 GB, free: 1.88 GB / 3.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0356/21.99, allocations: 7.631 MB / 6.778 GB, free: 1.877 GB / 3.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.359/22.35, allocations: 115.1 MB / 6.891 GB, free: 1.812 GB / 3.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004187/22.35, allocations: 149.8 kB / 6.891 GB, free: 1.812 GB / 3.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02919/22.38, allocations: 3.026 MB / 6.894 GB, free: 1.81 GB / 3.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/22.38, allocations: 2.711 MB / 6.897 GB, free: 1.81 GB / 3.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2749/22.66, allocations: 103.5 MB / 6.998 GB, free: 1.747 GB / 3.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9123/23.57, allocations: 499.7 MB / 7.486 GB, free: 1.242 GB / 3.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1638/23.73, allocations: 82.35 MB / 7.566 GB, free: 1.164 GB / 3.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08504/23.82, allocations: 38.14 MB / 7.603 GB, free: 1.127 GB / 3.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.3569/24.18, allocations: 152.2 MB / 7.752 GB, free: 0.9755 GB / 3.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1073/24.28, allocations: 41.92 MB / 7.793 GB, free: 0.9345 GB / 3.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.06756/24.35, allocations: 6.992 MB / 7.8 GB, free: 0.9277 GB / 3.139 GB Notification: Performance of pre-optimization done (n=4296): time 0.0002292/24.35, allocations: 0 / 7.8 GB, free: 0.9277 GB / 3.139 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) pla.ctl.staPla.hol.u[2] pla.ctl.staPla.hol.u[3] 0.0 = pla.ctl.staPla.nChiHeaAndCooUnb.y + pla.ctl.staPla.hol.u[3] + pla.ctl.staPla.hol.u[2] + pla.ctl.staPla.numOpeCooChiHea.y + pla.ctl.staPla.staHea.idxSta + (-pla.ctl.staPla.numOpeCooChiHea.y) - pla.ctl.staPla.hol.u[3] - pla.ctl.staPla.nChiHeaAndCooUnb.y - pla.ctl.staPla.hol.u[4] pla.ctl.staPla.hol.u[2] = pla.ctl.staPla.numOpeCooChiHea.y - pla.ctl.staPla.hol.u[3] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: pla.ctl.staPla.hol.u[2] pla.ctl.staPla.hol.u[3] equations: 0.0 = pla.ctl.staPla.nChiHeaAndCooUnb.y + pla.ctl.staPla.hol.u[3] + pla.ctl.staPla.hol.u[2] + pla.ctl.staPla.numOpeCooChiHea.y + pla.ctl.staPla.staHea.idxSta + (-pla.ctl.staPla.numOpeCooChiHea.y) - pla.ctl.staPla.hol.u[3] - pla.ctl.staPla.nChiHeaAndCooUnb.y - pla.ctl.staPla.hol.u[4] pla.ctl.staPla.hol.u[2] = pla.ctl.staPla.numOpeCooChiHea.y - pla.ctl.staPla.hol.u[3] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed