Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.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_10_Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001678/0.001678, 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.001961/0.001961, allocations: 197.1 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.577/2.577, allocations: 437 MB / 0.7103 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6421, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.949/4.592, allocations: 1.674 GB / 2.692 GB, free: 34.22 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.43/5.022, allocations: 310.4 MB / 2.995 GB, free: 12.63 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08433/5.106, allocations: 1.791 MB / 2.997 GB, free: 10.83 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 1.308/6.414, allocations: 50.05 MB / 3.045 GB, free: 20.34 MB / 1.795 GB Notification: Performance of NFTyping.typeBindings: time 0.1788/6.593, allocations: 53.4 MB / 3.098 GB, free: 19.66 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.1034/6.696, allocations: 47.58 MB / 3.144 GB, free: 18.59 MB / 1.795 GB Notification: Performance of NFFlatten.flatten: time 0.2903/6.986, allocations: 221.7 MB / 3.36 GB, free: 6.832 MB / 1.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1949/7.181, allocations: 98.7 MB / 3.457 GB, free: 4.996 MB / 1.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1813/7.363, allocations: 67.5 MB / 3.523 GB, free: 4.555 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1039/7.467, allocations: 52.38 MB / 3.574 GB, free: 3.246 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.04124/7.508, allocations: 12.24 MB / 3.586 GB, free: 7.004 MB / 2.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1042/7.612, allocations: 29.16 MB / 3.614 GB, free: 11.04 MB / 2.092 GB Notification: Performance of NFScalarize.scalarize: time 0.05568/7.668, allocations: 25.78 MB / 3.64 GB, free: 1.609 MB / 2.107 GB Notification: Performance of NFVerifyModel.verify: time 0.1337/7.802, allocations: 49.34 MB / 3.688 GB, free: 452 kB / 2.154 GB Notification: Performance of NFConvertDAE.convert: time 2.764/10.57, allocations: 178.2 MB / 3.862 GB, free: 333.9 MB / 2.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/10.57, allocations: 1.562 kB / 3.862 GB, free: 333.9 MB / 2.295 GB Notification: Performance of FrontEnd: time 2.184e-06/10.57, allocations: 1.969 kB / 3.862 GB, free: 333.9 MB / 2.295 GB Notification: Performance of Transformations before backend: time 0.005855/10.57, allocations: 0 / 3.862 GB, free: 333.9 MB / 2.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12903 * Number of variables: 12903 Notification: Performance of Generate backend data structure: time 0.3294/10.9, allocations: 94.12 MB / 3.954 GB, free: 296.3 MB / 2.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/10.9, allocations: 9.812 kB / 3.954 GB, free: 296.3 MB / 2.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08096/10.98, allocations: 12 MB / 3.965 GB, free: 292.1 MB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2242/11.21, allocations: 86.58 MB / 4.05 GB, free: 281.7 MB / 2.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007744/11.21, allocations: 4.735 MB / 4.055 GB, free: 281.1 MB / 2.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03058/11.24, allocations: 5.358 MB / 4.06 GB, free: 281.1 MB / 2.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2528/11.5, allocations: 74.19 MB / 4.132 GB, free: 268.6 MB / 2.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003042/11.5, allocations: 99.89 kB / 4.132 GB, free: 268.5 MB / 2.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02893/11.53, allocations: 2.126 MB / 4.134 GB, free: 268.5 MB / 2.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/11.53, allocations: 1.872 MB / 4.136 GB, free: 268.4 MB / 2.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1864/11.72, allocations: 64.42 MB / 4.199 GB, free: 251.2 MB / 2.295 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.6188/12.34, allocations: 312.2 MB / 4.504 GB, free: 15.75 MB / 2.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.115/12.45, allocations: 53.38 MB / 4.556 GB, free: 10.8 MB / 2.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05763/12.51, allocations: 24.95 MB / 4.581 GB, free: 1.699 MB / 2.436 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.2618/12.77, allocations: 102.8 MB / 4.681 GB, free: 9.168 MB / 2.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07175/12.84, allocations: 27.7 MB / 4.708 GB, free: 13.34 MB / 2.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03379/12.88, allocations: 3.341 MB / 4.711 GB, free: 9.973 MB / 2.576 GB Notification: Performance of pre-optimization done (n=3272): time 0.0001303/12.88, allocations: 0 / 4.711 GB, free: 9.973 MB / 2.576 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