Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001264/0.001265, allocations: 106.5 kB / 16.37 MB, free: 6.453 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.001259/0.00126, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.267/2.267, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 62.77 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2489, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.139/3.388, allocations: 1.674 GB / 2.701 GB, free: 6.117 MB / 1.654 GB Notification: Performance of NFInst.instExpressions: time 1.449/4.837, allocations: 310.3 MB / 3.004 GB, free: 25.28 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07446/4.912, allocations: 1.785 MB / 3.005 GB, free: 25.28 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.1037/5.015, allocations: 50.05 MB / 3.054 GB, free: 5.504 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1719/5.187, allocations: 53.39 MB / 3.106 GB, free: 12.83 MB / 1.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.1115/5.299, allocations: 47.94 MB / 3.153 GB, free: 1.027 MB / 1.748 GB Notification: Performance of NFFlatten.flatten: time 0.2824/5.581, allocations: 222.1 MB / 3.37 GB, free: 8.523 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1857/5.767, allocations: 98.67 MB / 3.466 GB, free: 6.645 MB / 2.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433/8.2, allocations: 67.77 MB / 3.533 GB, free: 162.4 MB / 2.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09006/8.29, allocations: 52.43 MB / 3.584 GB, free: 154.7 MB / 2.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0433/8.333, allocations: 12.23 MB / 3.596 GB, free: 154.7 MB / 2.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09031/8.424, allocations: 29.24 MB / 3.624 GB, free: 154.7 MB / 2.076 GB Notification: Performance of NFScalarize.scalarize: time 0.05149/8.475, allocations: 25.78 MB / 3.65 GB, free: 151.8 MB / 2.076 GB Notification: Performance of NFVerifyModel.verify: time 0.09794/8.573, allocations: 49.31 MB / 3.698 GB, free: 140.2 MB / 2.076 GB Notification: Performance of NFConvertDAE.convert: time 0.2184/8.792, allocations: 180.2 MB / 3.874 GB, free: 90.94 MB / 2.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/8.792, allocations: 0 / 3.874 GB, free: 90.94 MB / 2.076 GB Notification: Performance of FrontEnd: time 2.435e-06/8.792, allocations: 0 / 3.874 GB, free: 90.94 MB / 2.076 GB Notification: Performance of Transformations before backend: time 0.005946/8.798, allocations: 2.125 kB / 3.874 GB, free: 90.94 MB / 2.076 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.3139/9.112, allocations: 94.05 MB / 3.965 GB, free: 34.04 MB / 2.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/9.112, allocations: 8.031 kB / 3.965 GB, free: 34.04 MB / 2.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06995/9.182, allocations: 11.98 MB / 3.977 GB, free: 22.11 MB / 2.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.217/9.399, allocations: 88.69 MB / 4.064 GB, free: 64 kB / 2.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005848/9.405, allocations: 4.621 MB / 4.068 GB, free: 11.36 MB / 2.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0249/9.43, allocations: 5.363 MB / 4.074 GB, free: 6.008 MB / 2.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2399/9.669, allocations: 74.29 MB / 4.146 GB, free: 10.43 MB / 2.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002786/9.672, allocations: 93.98 kB / 4.146 GB, free: 10.38 MB / 2.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02403/9.696, allocations: 2.127 MB / 4.148 GB, free: 8.27 MB / 2.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001873/9.698, allocations: 1.878 MB / 4.15 GB, free: 6.398 MB / 2.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1877/9.886, allocations: 64.5 MB / 4.213 GB, free: 6.234 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 2.029/11.91, allocations: 309.3 MB / 4.515 GB, free: 1.141 GB / 2.405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1025/12.02, allocations: 53.22 MB / 4.567 GB, free: 1.119 GB / 2.405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05348/12.07, allocations: 24.96 MB / 4.592 GB, free: 1.109 GB / 2.405 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.2296/12.3, allocations: 102.8 MB / 4.692 GB, free: 1.049 GB / 2.405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06328/12.36, allocations: 27.71 MB / 4.719 GB, free: 1.033 GB / 2.405 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03485/12.4, allocations: 3.342 MB / 4.722 GB, free: 1.032 GB / 2.405 GB Notification: Performance of pre-optimization done (n=3274): time 0.0001582/12.4, allocations: 0 / 4.722 GB, free: 1.032 GB / 2.405 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[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/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[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/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