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.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.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.001562/0.001562, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001764/0.001765, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.16 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.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.86 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2922, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.313/3.605, allocations: 1.674 GB / 2.693 GB, free: 7.598 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.39/4.996, allocations: 310.4 MB / 2.996 GB, free: 30.09 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08471/5.081, allocations: 1.795 MB / 2.998 GB, free: 30.09 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.1054/5.186, allocations: 50.06 MB / 3.047 GB, free: 12.16 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1785/5.365, allocations: 53.41 MB / 3.099 GB, free: 7.699 MB / 1.701 GB Notification: Performance of NFTyping.typeClassSections: time 0.115/5.48, allocations: 47.9 MB / 3.146 GB, free: 11.7 MB / 1.748 GB Notification: Performance of NFFlatten.flatten: time 0.2741/5.754, allocations: 222.2 MB / 3.363 GB, free: 3.125 MB / 1.951 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1591/5.913, allocations: 98.7 MB / 3.459 GB, free: 1.23 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.21/8.123, allocations: 67.76 MB / 3.525 GB, free: 163 MB / 2.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1/8.223, allocations: 52.44 MB / 3.577 GB, free: 157.8 MB / 2.076 GB Notification: Performance of NFPackage.collectConstants: time 0.04798/8.271, allocations: 12.23 MB / 3.589 GB, free: 157.8 MB / 2.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1072/8.378, allocations: 29.23 MB / 3.617 GB, free: 157.8 MB / 2.076 GB Notification: Performance of NFScalarize.scalarize: time 0.05839/8.437, allocations: 25.77 MB / 3.642 GB, free: 154.9 MB / 2.076 GB Notification: Performance of NFVerifyModel.verify: time 0.1098/8.547, allocations: 49.32 MB / 3.69 GB, free: 143.3 MB / 2.076 GB Notification: Performance of NFConvertDAE.convert: time 0.2382/8.785, allocations: 180.3 MB / 3.866 GB, free: 95.69 MB / 2.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/8.785, allocations: 1.688 kB / 3.866 GB, free: 95.69 MB / 2.076 GB Notification: Performance of FrontEnd: time 2.325e-06/8.785, allocations: 0 / 3.866 GB, free: 95.69 MB / 2.076 GB Notification: Performance of Transformations before backend: time 0.005974/8.791, allocations: 0 / 3.866 GB, free: 95.69 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: 12903 * Number of variables: 12903 Notification: Performance of Generate backend data structure: time 0.2992/9.09, allocations: 94.12 MB / 3.958 GB, free: 40.62 MB / 2.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/9.09, allocations: 8.406 kB / 3.958 GB, free: 40.62 MB / 2.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06816/9.158, allocations: 12 MB / 3.97 GB, free: 32.79 MB / 2.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2006/9.359, allocations: 88.79 MB / 4.057 GB, free: 10.63 MB / 2.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005536/9.365, allocations: 4.614 MB / 4.061 GB, free: 5.93 MB / 2.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02309/9.388, allocations: 5.375 MB / 4.067 GB, free: 0.5703 MB / 2.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2159/9.604, allocations: 74.17 MB / 4.139 GB, free: 5.105 MB / 2.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001817/9.605, allocations: 96.86 kB / 4.139 GB, free: 5.051 MB / 2.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02233/9.628, allocations: 2.122 MB / 4.141 GB, free: 2.945 MB / 2.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/9.629, allocations: 1.878 MB / 4.143 GB, free: 1.074 MB / 2.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1635/9.793, allocations: 64.4 MB / 4.206 GB, free: 1.008 MB / 2.279 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 1.9/11.69, allocations: 309.2 MB / 4.508 GB, free: 1.148 GB / 2.405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0968/11.79, allocations: 53.3 MB / 4.56 GB, free: 1.128 GB / 2.405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04815/11.84, allocations: 24.94 MB / 4.584 GB, free: 1.118 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.2261/12.06, allocations: 102.8 MB / 4.685 GB, free: 1.059 GB / 2.405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06344/12.13, allocations: 27.67 MB / 4.712 GB, free: 1.046 GB / 2.405 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02677/12.15, allocations: 3.345 MB / 4.715 GB, free: 1.044 GB / 2.405 GB Notification: Performance of pre-optimization done (n=3272): time 0.00014/12.15, allocations: 0 / 4.715 GB, free: 1.044 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[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