Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Validation.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.Validation.AllElectricCWStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.chi.y1.1.|pla.chi.y1.2.|pla.chiHea.y1.1.|pla.chiHea.y1Coo.1.|pla.ctl.y1HeaCooChiHea.1.|pla.chiHea.y1.2.|pla.chiHea.y1Coo.2.|pla.ctl.y1HeaCooChiHea.2.|pla.ctl.cycTan.idxCycTan|pla.ctl.modConLoo.mode|pla.chi.m1_flow|pla.chi.m2_flow|pla.chiHea.m1_flow|pla.chiHea.m2_flow|pla.chiHea.m3_flow|pla.chiHea.m4_flow|pla.chi.chi.m2_flow|pla.chiHea.chi.1..m2_flow|pla.chiHea.chi.2..m2_flow|pla.chi.mChiWatUni_flow_nominal|pla.chiHea.mChiWatUni_flow_nominal|pla.TChiWatSupSet|pla.TChiWatPriRet.T|pla.TChiWatSup.T|pla.chiHea.TEvaLvg.1.|pla.chiHea.TEvaLvg.2.|pla.pumChiWat.y1.1.|pla.pumChiWat.y1.2.|pla.pumChiWat.pum.y_actual|pla.dpChiWatSet|pla.dpChiWat.p_rel|pla.pumChiWat.pum.dpMachine|pla.pumChiWat.dpPum_nominal|pla.mChiWatPri_flow.m_flow|pla.mChiWat_flow_nominal|pla.mChiWatChi_flow_min|pla.chiHea.chi.1..m1_flow|pla.chiHea.chi.2..m1_flow|pla.chiHea.mConWatUni_flow_nominal|pla.THeaWatSupSet|pla.THeaWatPriRet.T|pla.THeaWatSup.T|pla.chiHea.TConLvg.1.|pla.chiHea.TConLvg.2.|pla.pumHeaWat.y1.1.|pla.pumHeaWat.y1.2.|pla.pumHeaWat.pum.y_actual|pla.dpHeaWatSet|pla.dpHeaWat.p_rel|pla.pumHeaWat.pum.dpMachine|pla.pumHeaWat.dpPum_nominal|pla.mHeaWatPri_flow.m_flow|pla.mHeaWat_flow_nominal|pla.mHeaWatChiHea_flow_min|pla.pumConWatCon.y1.1.|pla.pumConWatCon.y1.2.|pla.pumConWatCon.y|pla.chiHea.m3_flow_nominal|pla.pumConWatEva.y1.1.|pla.pumConWatEva.y1.2.|pla.pumConWatEva.y|pla.chiHea.m2_flow_nominal|pla.heaPum.y1.1.|pla.heaPum.y1.2.|pla.ctl.THeaPumSet|pla.TConWatHeaPumEnt.T|pla.TConWatHeaPumLvg.T|pla.heaPum.heaPum.m1_flow|pla.heaPum.heaPum.m1_flow_nominal|pla.TTan.1..T|pla.TTan.5..T|pla.TTan.10..T|pla.chiHea.valConSwi.1..y_actual|pla.chiHea.valConSwi.2..y_actual|pla.chiHea.valEvaSwi.1..y_actual|pla.chiHea.valEvaSwi.2..y_actual|pla.TConWatConChiEnt.T|pla.TConWatConChiLvg.T|pla.TConWatConRet.T|pla.TConWatHexCooEnt.T|pla.TConWatHexCooLvg.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage") translateModel(Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.chi.y1.1.|pla.chi.y1.2.|pla.chiHea.y1.1.|pla.chiHea.y1Coo.1.|pla.ctl.y1HeaCooChiHea.1.|pla.chiHea.y1.2.|pla.chiHea.y1Coo.2.|pla.ctl.y1HeaCooChiHea.2.|pla.ctl.cycTan.idxCycTan|pla.ctl.modConLoo.mode|pla.chi.m1_flow|pla.chi.m2_flow|pla.chiHea.m1_flow|pla.chiHea.m2_flow|pla.chiHea.m3_flow|pla.chiHea.m4_flow|pla.chi.chi.m2_flow|pla.chiHea.chi.1..m2_flow|pla.chiHea.chi.2..m2_flow|pla.chi.mChiWatUni_flow_nominal|pla.chiHea.mChiWatUni_flow_nominal|pla.TChiWatSupSet|pla.TChiWatPriRet.T|pla.TChiWatSup.T|pla.chiHea.TEvaLvg.1.|pla.chiHea.TEvaLvg.2.|pla.pumChiWat.y1.1.|pla.pumChiWat.y1.2.|pla.pumChiWat.pum.y_actual|pla.dpChiWatSet|pla.dpChiWat.p_rel|pla.pumChiWat.pum.dpMachine|pla.pumChiWat.dpPum_nominal|pla.mChiWatPri_flow.m_flow|pla.mChiWat_flow_nominal|pla.mChiWatChi_flow_min|pla.chiHea.chi.1..m1_flow|pla.chiHea.chi.2..m1_flow|pla.chiHea.mConWatUni_flow_nominal|pla.THeaWatSupSet|pla.THeaWatPriRet.T|pla.THeaWatSup.T|pla.chiHea.TConLvg.1.|pla.chiHea.TConLvg.2.|pla.pumHeaWat.y1.1.|pla.pumHeaWat.y1.2.|pla.pumHeaWat.pum.y_actual|pla.dpHeaWatSet|pla.dpHeaWat.p_rel|pla.pumHeaWat.pum.dpMachine|pla.pumHeaWat.dpPum_nominal|pla.mHeaWatPri_flow.m_flow|pla.mHeaWat_flow_nominal|pla.mHeaWatChiHea_flow_min|pla.pumConWatCon.y1.1.|pla.pumConWatCon.y1.2.|pla.pumConWatCon.y|pla.chiHea.m3_flow_nominal|pla.pumConWatEva.y1.1.|pla.pumConWatEva.y1.2.|pla.pumConWatEva.y|pla.chiHea.m2_flow_nominal|pla.heaPum.y1.1.|pla.heaPum.y1.2.|pla.ctl.THeaPumSet|pla.TConWatHeaPumEnt.T|pla.TConWatHeaPumLvg.T|pla.heaPum.heaPum.m1_flow|pla.heaPum.heaPum.m1_flow_nominal|pla.TTan.1..T|pla.TTan.5..T|pla.TTan.10..T|pla.chiHea.valConSwi.1..y_actual|pla.chiHea.valConSwi.2..y_actual|pla.chiHea.valEvaSwi.1..y_actual|pla.chiHea.valEvaSwi.2..y_actual|pla.TConWatConChiEnt.T|pla.TConWatConChiLvg.T|pla.TConWatConRet.T|pla.TConWatHexCooEnt.T|pla.TConWatHexCooLvg.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 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.001533/0.001533, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 67.03 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3642, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.814/4.179, allocations: 1.674 GB / 2.742 GB, free: 43.96 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.4735/4.652, allocations: 309.9 MB / 3.045 GB, free: 15.66 MB / 1.842 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09658/4.749, allocations: 1.787 MB / 3.046 GB, free: 13.86 MB / 1.842 GB Notification: Performance of NFTyping.typeComponents: time 1.498/6.247, allocations: 50.03 MB / 3.095 GB, free: 10.04 MB / 1.842 GB Notification: Performance of NFTyping.typeBindings: time 0.1486/6.395, allocations: 53.39 MB / 3.147 GB, free: 9.27 MB / 1.842 GB Notification: Performance of NFTyping.typeClassSections: time 0.09785/6.493, allocations: 47.56 MB / 3.194 GB, free: 8.316 MB / 1.842 GB Notification: Performance of NFFlatten.flatten: time 0.2856/6.779, allocations: 221.6 MB / 3.41 GB, free: 7.121 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1831/6.962, allocations: 98.64 MB / 3.506 GB, free: 5.352 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1504/7.112, allocations: 67.49 MB / 3.572 GB, free: 4.934 MB / 2.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1144/7.227, allocations: 52.37 MB / 3.623 GB, free: 3.629 MB / 2.107 GB Notification: Performance of NFPackage.collectConstants: time 0.04418/7.271, allocations: 12.23 MB / 3.635 GB, free: 7.398 MB / 2.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09218/7.363, allocations: 29.15 MB / 3.664 GB, free: 11.44 MB / 2.154 GB Notification: Performance of NFScalarize.scalarize: time 0.03947/7.403, allocations: 25.77 MB / 3.689 GB, free: 2.023 MB / 2.17 GB Notification: Performance of NFVerifyModel.verify: time 0.1013/7.504, allocations: 49.31 MB / 3.737 GB, free: 0.8906 MB / 2.217 GB Notification: Performance of NFConvertDAE.convert: time 3.027/10.53, allocations: 170.7 MB / 3.904 GB, free: 341 MB / 2.373 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/10.53, allocations: 3.375 kB / 3.904 GB, free: 341 MB / 2.373 GB Notification: Performance of FrontEnd: time 2.595e-06/10.53, allocations: 0 / 3.904 GB, free: 341 MB / 2.373 GB Notification: Performance of Transformations before backend: time 0.006927/10.54, allocations: 1.594 kB / 3.904 GB, free: 341 MB / 2.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12915 * Number of variables: 12915 Notification: Performance of Generate backend data structure: time 0.3286/10.87, allocations: 93.96 MB / 3.996 GB, free: 303.4 MB / 2.373 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/10.87, allocations: 10.84 kB / 3.996 GB, free: 303.4 MB / 2.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07332/10.94, allocations: 11.98 MB / 4.007 GB, free: 299.2 MB / 2.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2272/11.17, allocations: 86.4 MB / 4.092 GB, free: 288.9 MB / 2.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008441/11.18, allocations: 4.723 MB / 4.096 GB, free: 288.3 MB / 2.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02804/11.2, allocations: 5.356 MB / 4.102 GB, free: 288.3 MB / 2.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2453/11.45, allocations: 74.25 MB / 4.174 GB, free: 282.9 MB / 2.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003577/11.45, allocations: 100.1 kB / 4.174 GB, free: 282.9 MB / 2.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02923/11.48, allocations: 2.124 MB / 4.176 GB, free: 282.9 MB / 2.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/11.49, allocations: 1.876 MB / 4.178 GB, free: 282.8 MB / 2.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1845/11.67, allocations: 64.5 MB / 4.241 GB, free: 281.2 MB / 2.373 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.6419/12.31, allocations: 312 MB / 4.546 GB, free: 8.52 MB / 2.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1147/12.43, allocations: 53.19 MB / 4.598 GB, free: 3.602 MB / 2.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05774/12.48, allocations: 24.94 MB / 4.622 GB, free: 10.51 MB / 2.483 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.2825/12.77, allocations: 102.6 MB / 4.722 GB, free: 2.23 MB / 2.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07344/12.84, allocations: 27.49 MB / 4.749 GB, free: 6.594 MB / 2.608 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0364/12.88, allocations: 3.334 MB / 4.752 GB, free: 3.238 MB / 2.608 GB Notification: Performance of pre-optimization done (n=3267): time 0.0002057/12.88, allocations: 0 / 4.752 GB, free: 3.238 MB / 2.608 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[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/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[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/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