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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001497/0.001497, allocations: 108 kB / 15.6 MB, free: 132 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.001804/0.001804, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.524/1.524, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.7 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.27 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3818, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 9.281/9.662, allocations: 3.525 GB / 4.593 GB, free: 13.41 MB / 2.311 GB Notification: Performance of NFInst.instExpressions: time 3.004/12.67, allocations: 0.6697 GB / 5.263 GB, free: 68.23 MB / 2.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1828/12.85, allocations: 3.403 MB / 5.266 GB, free: 68.23 MB / 2.623 GB Notification: Performance of NFTyping.typeComponents: time 0.3441/13.19, allocations: 109.5 MB / 5.373 GB, free: 55.44 MB / 2.623 GB Notification: Performance of NFTyping.typeBindings: time 0.2632/13.46, allocations: 80.68 MB / 5.452 GB, free: 27.3 MB / 2.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.1605/13.62, allocations: 66.93 MB / 5.517 GB, free: 7.781 MB / 2.654 GB Notification: Performance of NFFlatten.flatten: time 0.48/14.1, allocations: 370.9 MB / 5.879 GB, free: 14.81 MB / 3.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2839/14.38, allocations: 164.4 MB / 6.04 GB, free: 11.66 MB / 3.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.865/19.25, allocations: 110.1 MB / 6.147 GB, free: 275.2 MB / 3.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2212/19.47, allocations: 81.92 MB / 6.227 GB, free: 266.9 MB / 3.201 GB Notification: Performance of NFPackage.collectConstants: time 0.09463/19.56, allocations: 17.97 MB / 6.245 GB, free: 266.9 MB / 3.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1936/19.76, allocations: 44.94 MB / 6.289 GB, free: 266.9 MB / 3.201 GB Notification: Performance of NFScalarize.scalarize: time 0.1047/19.86, allocations: 39.11 MB / 6.327 GB, free: 262.5 MB / 3.201 GB Notification: Performance of NFVerifyModel.verify: time 0.2148/20.08, allocations: 76.12 MB / 6.401 GB, free: 244.6 MB / 3.201 GB Notification: Performance of NFConvertDAE.convert: time 0.3605/20.44, allocations: 262.4 MB / 6.658 GB, free: 185.9 MB / 3.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/20.44, allocations: 0 / 6.658 GB, free: 185.9 MB / 3.201 GB Notification: Performance of FrontEnd: time 1.673e-06/20.44, allocations: 3.719 kB / 6.658 GB, free: 185.9 MB / 3.201 GB Notification: Performance of Transformations before backend: time 0.007459/20.44, allocations: 0.9688 kB / 6.658 GB, free: 185.9 MB / 3.201 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.4402/20.88, allocations: 154 MB / 6.808 GB, free: 98.29 MB / 3.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/20.88, allocations: 9.188 kB / 6.808 GB, free: 98.29 MB / 3.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1472/21.03, allocations: 25.99 MB / 6.833 GB, free: 79.59 MB / 3.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3852/21.42, allocations: 154.1 MB / 6.984 GB, free: 9.566 MB / 3.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01467/21.43, allocations: 7.268 MB / 6.991 GB, free: 2.227 MB / 3.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03963/21.47, allocations: 7.632 MB / 6.998 GB, free: 10.62 MB / 3.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3906/21.86, allocations: 115 MB / 7.111 GB, free: 5.293 MB / 3.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004305/21.87, allocations: 167.9 kB / 7.111 GB, free: 5.203 MB / 3.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0329/21.9, allocations: 3.033 MB / 7.114 GB, free: 2.191 MB / 3.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002871/21.9, allocations: 2.711 MB / 7.117 GB, free: 15.49 MB / 3.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3016/22.2, allocations: 102.6 MB / 7.217 GB, free: 9.488 MB / 3.514 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 2.465/24.67, allocations: 0.4915 GB / 7.708 GB, free: 2.079 GB / 3.655 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1619/24.83, allocations: 81.16 MB / 7.788 GB, free: 2.044 GB / 3.655 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08338/24.91, allocations: 37.66 MB / 7.824 GB, free: 2.03 GB / 3.655 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.3529/25.27, allocations: 153.5 MB / 7.974 GB, free: 1.927 GB / 3.655 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1016/25.37, allocations: 41.38 MB / 8.015 GB, free: 1.903 GB / 3.655 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05679/25.43, allocations: 4.604 MB / 8.019 GB, free: 1.902 GB / 3.655 GB Notification: Performance of pre-optimization done (n=4260): time 0.0002069/25.43, allocations: 3.984 kB / 8.019 GB, free: 1.902 GB / 3.655 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[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/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[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/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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed