Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001648/0.001648, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001766/0.001766, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.544/2.544, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.88 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 10.05/10.38, allocations: 3.525 GB / 4.543 GB, free: 175.7 MB / 2.373 GB Notification: Performance of NFInst.instExpressions: time 0.8668/11.25, allocations: 0.6685 GB / 5.211 GB, free: 7.219 MB / 2.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1518/11.4, allocations: 3.404 MB / 5.214 GB, free: 3.797 MB / 2.514 GB Notification: Performance of NFTyping.typeComponents: time 0.3965/11.8, allocations: 109.4 MB / 5.321 GB, free: 8.477 MB / 2.623 GB Notification: Performance of NFTyping.typeBindings: time 0.2791/12.08, allocations: 80.06 MB / 5.399 GB, free: 8.043 MB / 2.701 GB Notification: Performance of NFTyping.typeClassSections: time 0.1874/12.26, allocations: 66.9 MB / 5.465 GB, free: 5.055 MB / 2.764 GB Notification: Performance of NFFlatten.flatten: time 2.785/15.05, allocations: 369.8 MB / 5.826 GB, free: 117.7 MB / 2.764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3236/15.37, allocations: 164.1 MB / 5.986 GB, free: 21.55 MB / 2.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3239/15.7, allocations: 113.5 MB / 6.097 GB, free: 14.9 MB / 2.811 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1929/15.89, allocations: 81.56 MB / 6.177 GB, free: 5.449 MB / 2.873 GB Notification: Performance of NFPackage.collectConstants: time 0.07451/15.96, allocations: 17.91 MB / 6.194 GB, free: 3.543 MB / 2.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1637/16.13, allocations: 44.59 MB / 6.238 GB, free: 11.35 MB / 2.936 GB Notification: Performance of NFScalarize.scalarize: time 0.08372/16.21, allocations: 38.95 MB / 6.276 GB, free: 5.516 MB / 2.967 GB Notification: Performance of NFVerifyModel.verify: time 0.2031/16.41, allocations: 76.81 MB / 6.351 GB, free: 15.16 MB / 3.045 GB Notification: Performance of NFConvertDAE.convert: time 0.4445/16.86, allocations: 274.1 MB / 6.618 GB, free: 2.113 MB / 3.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/16.86, allocations: 0 / 6.618 GB, free: 2.113 MB / 3.295 GB Notification: Performance of FrontEnd: time 2.284e-06/16.86, allocations: 0 / 6.618 GB, free: 2.113 MB / 3.295 GB Notification: Performance of Transformations before backend: time 0.007875/16.87, allocations: 0 / 6.618 GB, free: 2.113 MB / 3.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18453 * Number of variables: 18453 Notification: Performance of Generate backend data structure: time 2.091/18.96, allocations: 153.3 MB / 6.768 GB, free: 2.124 GB / 3.342 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/18.96, allocations: 7.875 kB / 6.768 GB, free: 2.124 GB / 3.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1625/19.12, allocations: 26.34 MB / 6.794 GB, free: 2.113 GB / 3.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.358/19.48, allocations: 151.7 MB / 6.942 GB, free: 2.009 GB / 3.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01331/19.49, allocations: 7.267 MB / 6.949 GB, free: 2.005 GB / 3.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03897/19.53, allocations: 7.626 MB / 6.957 GB, free: 2.003 GB / 3.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.345/19.88, allocations: 115.3 MB / 7.069 GB, free: 1.892 GB / 3.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004785/19.88, allocations: 170.5 kB / 7.069 GB, free: 1.892 GB / 3.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03125/19.91, allocations: 3.036 MB / 7.072 GB, free: 1.889 GB / 3.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/19.91, allocations: 2.702 MB / 7.075 GB, free: 1.887 GB / 3.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.255/20.17, allocations: 103.1 MB / 7.176 GB, free: 1.786 GB / 3.342 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.8204/20.99, allocations: 0.494 GB / 7.67 GB, free: 1.277 GB / 3.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.148/21.14, allocations: 81.54 MB / 7.749 GB, free: 1.199 GB / 3.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.07628/21.21, allocations: 37.9 MB / 7.786 GB, free: 1.161 GB / 3.342 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.34/21.55, allocations: 155 MB / 7.938 GB, free: 1.007 GB / 3.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0949/21.65, allocations: 41.84 MB / 7.978 GB, free: 0.9662 GB / 3.342 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04484/21.69, allocations: 4.593 MB / 7.983 GB, free: 0.9616 GB / 3.342 GB Notification: Performance of pre-optimization done (n=4253): time 0.0001996/21.69, allocations: 3.984 kB / 7.983 GB, free: 0.9616 GB / 3.342 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[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/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[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/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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed