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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001558/0.001558, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001915/0.001916, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.03 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2863, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 10.47/10.76, allocations: 3.525 GB / 4.543 GB, free: 170.5 MB / 2.373 GB Notification: Performance of NFInst.instExpressions: time 0.9242/11.68, allocations: 0.6684 GB / 5.212 GB, free: 13.85 MB / 2.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2152/11.9, allocations: 3.407 MB / 5.215 GB, free: 10.42 MB / 2.529 GB Notification: Performance of NFTyping.typeComponents: time 0.3523/12.25, allocations: 109.7 MB / 5.322 GB, free: 14.91 MB / 2.639 GB Notification: Performance of NFTyping.typeBindings: time 0.2712/12.52, allocations: 80.06 MB / 5.4 GB, free: 14.48 MB / 2.717 GB Notification: Performance of NFTyping.typeClassSections: time 2.729/15.25, allocations: 67.34 MB / 5.466 GB, free: 118.1 MB / 2.764 GB Notification: Performance of NFFlatten.flatten: time 0.693/15.94, allocations: 370.5 MB / 5.828 GB, free: 113.2 MB / 2.764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3719/16.32, allocations: 164.1 MB / 5.988 GB, free: 16.92 MB / 2.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3095/16.63, allocations: 111.2 MB / 6.097 GB, free: 0 / 2.811 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1928/16.82, allocations: 81.76 MB / 6.177 GB, free: 6.555 MB / 2.889 GB Notification: Performance of NFPackage.collectConstants: time 0.075/16.89, allocations: 17.89 MB / 6.194 GB, free: 4.656 MB / 2.904 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1755/17.07, allocations: 44.64 MB / 6.238 GB, free: 12.41 MB / 2.951 GB Notification: Performance of NFScalarize.scalarize: time 0.08703/17.16, allocations: 38.95 MB / 6.276 GB, free: 6.59 MB / 2.982 GB Notification: Performance of NFVerifyModel.verify: time 0.2325/17.39, allocations: 76.72 MB / 6.351 GB, free: 0 / 3.045 GB Notification: Performance of NFConvertDAE.convert: time 0.4399/17.83, allocations: 276.9 MB / 6.621 GB, free: 1.453 MB / 3.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/17.83, allocations: 0 / 6.621 GB, free: 1.453 MB / 3.311 GB Notification: Performance of FrontEnd: time 2.234e-06/17.83, allocations: 0 / 6.621 GB, free: 1.453 MB / 3.311 GB Notification: Performance of Transformations before backend: time 0.008513/17.84, allocations: 4 kB / 6.621 GB, free: 1.449 MB / 3.311 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.064/19.9, allocations: 153.3 MB / 6.771 GB, free: 2.126 GB / 3.342 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/19.9, allocations: 7.938 kB / 6.771 GB, free: 2.126 GB / 3.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1648/20.07, allocations: 25.93 MB / 6.796 GB, free: 2.114 GB / 3.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4083/20.47, allocations: 155.3 MB / 6.948 GB, free: 2.009 GB / 3.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009586/20.48, allocations: 6.376 MB / 6.954 GB, free: 2.006 GB / 3.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03617/20.52, allocations: 7.62 MB / 6.962 GB, free: 2.003 GB / 3.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3628/20.88, allocations: 115 MB / 7.074 GB, free: 1.889 GB / 3.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00566/20.89, allocations: 170.4 kB / 7.074 GB, free: 1.889 GB / 3.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04081/20.93, allocations: 3.039 MB / 7.077 GB, free: 1.886 GB / 3.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00449/20.93, allocations: 2.701 MB / 7.08 GB, free: 1.883 GB / 3.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2891/21.22, allocations: 102.5 MB / 7.18 GB, free: 1.783 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.9999/22.22, allocations: 0.4889 GB / 7.669 GB, free: 1.278 GB / 3.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1649/22.39, allocations: 81.11 MB / 7.748 GB, free: 1.201 GB / 3.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08689/22.48, allocations: 37.63 MB / 7.784 GB, free: 1.164 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.4026/22.88, allocations: 154.3 MB / 7.935 GB, free: 1.01 GB / 3.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1053/22.98, allocations: 41.55 MB / 7.976 GB, free: 0.9696 GB / 3.342 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05491/23.04, allocations: 4.602 MB / 7.98 GB, free: 0.9651 GB / 3.342 GB Notification: Performance of pre-optimization done (n=4253): time 0.0002325/23.04, allocations: 0 / 7.98 GB, free: 0.9651 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed