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.001814/0.001814, allocations: 102.2 kB / 16.27 MB, free: 6 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.002004/0.002004, allocations: 191 kB / 17.2 MB, free: 5.609 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.504/1.504, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.532/2.532, allocations: 437.1 MB / 0.7111 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 69.39 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 11.05/11.38, allocations: 3.525 GB / 4.543 GB, free: 175.9 MB / 2.373 GB Notification: Performance of NFInst.instExpressions: time 0.9373/12.32, allocations: 0.6685 GB / 5.211 GB, free: 7.141 MB / 2.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1874/12.51, allocations: 3.404 MB / 5.214 GB, free: 3.719 MB / 2.514 GB Notification: Performance of NFTyping.typeComponents: time 0.4079/12.91, allocations: 109.4 MB / 5.321 GB, free: 8.391 MB / 2.623 GB Notification: Performance of NFTyping.typeBindings: time 0.2795/13.19, allocations: 80.06 MB / 5.399 GB, free: 7.965 MB / 2.701 GB Notification: Performance of NFTyping.typeClassSections: time 0.1948/13.39, allocations: 66.89 MB / 5.465 GB, free: 4.988 MB / 2.764 GB Notification: Performance of NFFlatten.flatten: time 2.665/16.05, allocations: 369.8 MB / 5.826 GB, free: 117.5 MB / 2.764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3969/16.45, allocations: 164.1 MB / 5.986 GB, free: 21.33 MB / 2.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3379/16.79, allocations: 113.7 MB / 6.097 GB, free: 15.16 MB / 2.811 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1885/16.98, allocations: 81.57 MB / 6.177 GB, free: 5.602 MB / 2.873 GB Notification: Performance of NFPackage.collectConstants: time 0.07703/17.05, allocations: 17.9 MB / 6.194 GB, free: 3.695 MB / 2.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.186/17.24, allocations: 44.58 MB / 6.238 GB, free: 11.5 MB / 2.936 GB Notification: Performance of NFScalarize.scalarize: time 0.0849/17.32, allocations: 38.96 MB / 6.276 GB, free: 5.66 MB / 2.967 GB Notification: Performance of NFVerifyModel.verify: time 0.2184/17.54, allocations: 76.7 MB / 6.351 GB, free: 14.84 MB / 3.045 GB Notification: Performance of NFConvertDAE.convert: time 0.4495/17.99, allocations: 274.1 MB / 6.618 GB, free: 1.793 MB / 3.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/17.99, allocations: 0 / 6.618 GB, free: 1.793 MB / 3.295 GB Notification: Performance of FrontEnd: time 1.503e-06/17.99, allocations: 0 / 6.618 GB, free: 1.793 MB / 3.295 GB Notification: Performance of Transformations before backend: time 0.008875/18, allocations: 0 / 6.618 GB, free: 1.793 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 1.946/19.95, allocations: 153.3 MB / 6.768 GB, free: 2.124 GB / 3.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/19.95, allocations: 11.91 kB / 6.768 GB, free: 2.124 GB / 3.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1539/20.1, allocations: 26.33 MB / 6.794 GB, free: 2.113 GB / 3.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3557/20.46, allocations: 151.7 MB / 6.942 GB, free: 2.009 GB / 3.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01402/20.47, allocations: 7.271 MB / 6.949 GB, free: 2.005 GB / 3.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03926/20.51, allocations: 7.623 MB / 6.957 GB, free: 2.003 GB / 3.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3487/20.86, allocations: 115.3 MB / 7.069 GB, free: 1.893 GB / 3.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005171/20.87, allocations: 166.5 kB / 7.069 GB, free: 1.892 GB / 3.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03392/20.9, allocations: 3.041 MB / 7.072 GB, free: 1.889 GB / 3.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/20.9, allocations: 2.696 MB / 7.075 GB, free: 1.887 GB / 3.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2624/21.16, 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.9358/22.1, allocations: 0.494 GB / 7.67 GB, free: 1.277 GB / 3.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1584/22.26, allocations: 81.54 MB / 7.749 GB, free: 1.199 GB / 3.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08158/22.34, 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.333/22.67, allocations: 155 MB / 7.938 GB, free: 1.007 GB / 3.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09022/22.76, allocations: 41.83 MB / 7.979 GB, free: 0.9662 GB / 3.342 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04524/22.81, allocations: 4.601 MB / 7.983 GB, free: 0.9617 GB / 3.342 GB Notification: Performance of pre-optimization done (n=4253): time 0.0001732/22.81, allocations: 0 / 7.983 GB, free: 0.9617 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