Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage") translateModel(Buildings.Experimental.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.Experimental.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.001019/0.001019, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 186.9 kB / 16.92 MB, free: 6.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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.754/2.754, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003529, allocations: 9.094 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3578, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.592/8.95, allocations: 3.459 GB / 4.518 GB, free: 14.37 MB / 2.217 GB Notification: Performance of NFInst.instExpressions: time 2.887/11.84, allocations: 0.6627 GB / 5.181 GB, free: 13.24 MB / 2.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1838/12.02, allocations: 3.013 MB / 5.184 GB, free: 10.21 MB / 2.295 GB Notification: Performance of NFTyping.typeComponents: time 0.5676/12.59, allocations: 102.2 MB / 5.284 GB, free: 13.72 MB / 2.389 GB Notification: Performance of NFTyping.typeBindings: time 0.2642/12.85, allocations: 74.63 MB / 5.356 GB, free: 13.89 MB / 2.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.1718/13.02, allocations: 62.43 MB / 5.417 GB, free: 4.727 MB / 2.498 GB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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.886/17.91, allocations: 430.2 MB / 5.838 GB, free: 126.9 MB / 2.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3131/18.22, allocations: 129.5 MB / 5.964 GB, free: 68.84 MB / 2.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1953/18.42, allocations: 77.91 MB / 6.04 GB, free: 14.91 MB / 2.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1507/18.57, allocations: 69.75 MB / 6.108 GB, free: 9.102 MB / 2.67 GB Notification: Performance of NFPackage.collectConstants: time 0.04522/18.62, allocations: 3.914 MB / 6.112 GB, free: 5.188 MB / 2.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1262/18.74, allocations: 29.79 MB / 6.141 GB, free: 1.73 MB / 2.686 GB Notification: Performance of NFScalarize.scalarize: time 0.05183/18.79, allocations: 23.25 MB / 6.164 GB, free: 0.8867 MB / 2.701 GB Notification: Performance of NFVerifyModel.verify: time 0.133/18.93, allocations: 58.28 MB / 6.221 GB, free: 10.04 MB / 2.748 GB Notification: Performance of NFConvertDAE.convert: time 0.2617/19.19, allocations: 231.1 MB / 6.446 GB, free: 5.254 MB / 2.936 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/19.19, allocations: 0 / 6.446 GB, free: 5.254 MB / 2.936 GB Notification: Performance of FrontEnd: time 2.505e-06/19.19, allocations: 4 kB / 6.446 GB, free: 5.25 MB / 2.936 GB Notification: Performance of Transformations before backend: time 0.006251/19.19, allocations: 0 / 6.446 GB, free: 5.25 MB / 2.936 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.2988/19.49, allocations: 126.7 MB / 6.57 GB, free: 7.305 MB / 3.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/19.49, allocations: 8.031 kB / 6.57 GB, free: 7.297 MB / 3.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1391/19.63, allocations: 26.71 MB / 6.596 GB, free: 12.44 MB / 3.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.858/21.49, allocations: 157.8 MB / 6.75 GB, free: 1.892 GB / 3.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0114/21.5, allocations: 7.395 MB / 6.757 GB, free: 1.89 GB / 3.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03143/21.53, allocations: 7.643 MB / 6.765 GB, free: 1.888 GB / 3.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3277/21.86, allocations: 115.1 MB / 6.877 GB, free: 1.832 GB / 3.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003653/21.87, allocations: 146.7 kB / 6.877 GB, free: 1.832 GB / 3.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02815/21.89, allocations: 3.032 MB / 6.88 GB, free: 1.83 GB / 3.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/21.9, allocations: 2.709 MB / 6.883 GB, free: 1.829 GB / 3.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2613/22.16, allocations: 103.5 MB / 6.984 GB, free: 1.776 GB / 3.155 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.8351/22.99, allocations: 0.4883 GB / 7.473 GB, free: 1.272 GB / 3.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1565/23.15, allocations: 82.43 MB / 7.553 GB, free: 1.194 GB / 3.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.07902/23.23, allocations: 38.17 MB / 7.59 GB, free: 1.156 GB / 3.155 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.3344/23.56, allocations: 152.5 MB / 7.739 GB, free: 1.005 GB / 3.155 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09504/23.66, allocations: 42.13 MB / 7.78 GB, free: 0.9637 GB / 3.155 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05449/23.71, allocations: 6.996 MB / 7.787 GB, free: 0.9569 GB / 3.155 GB Notification: Performance of pre-optimization done (n=4303): time 0.0001533/23.71, allocations: 0 / 7.787 GB, free: 0.9569 GB / 3.155 GB [/var/lib/jenkins1/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[3] pla.ctl.staPla.hol.u[2] 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/jenkins1/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[3] pla.ctl.staPla.hol.u[2] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed