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.001006/0.001006, allocations: 92.16 kB / 16.02 MB, free: 80 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.001261/0.001261, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.882/2.882, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 7.75 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 4.135/4.474, allocations: 1.639 GB / 2.698 GB, free: 58.27 MB / 1.545 GB Notification: Performance of NFInst.instExpressions: time 0.4212/4.896, allocations: 306.4 MB / 2.997 GB, free: 2.555 MB / 1.732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08168/4.977, allocations: 1.596 MB / 2.999 GB, free: 0.9492 MB / 1.732 GB Notification: Performance of NFTyping.typeComponents: time 1.493/6.471, allocations: 46.32 MB / 3.044 GB, free: 14.95 MB / 1.748 GB Notification: Performance of NFTyping.typeBindings: time 0.1577/6.628, allocations: 49.21 MB / 3.092 GB, free: 14.41 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.104/6.732, allocations: 44.33 MB / 3.135 GB, free: 13.68 MB / 1.748 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.09598027422618209, 0.1919605484523642, 0.261463505650634}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.03359309597916374, 0.06718619195832748, 0.09151222697772191}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.06718619195832748, 0.134372383916655, 0.1830244539554438}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.04799013711309105, 0.09598027422618209, 0.130731752825317}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.02399506855654552, 0.04799013711309105, 0.06536587641265849}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘1.0 / pla.chiHea.COPCasCoo_nominal‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.04479079463888498, 0.08958158927776996, 0.1220163026369625}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.3412/7.074, allocations: 255.5 MB / 3.385 GB, free: 5.984 MB / 1.826 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1791/7.253, allocations: 77.78 MB / 3.461 GB, free: 9.621 MB / 1.904 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1247/7.377, allocations: 47.42 MB / 3.507 GB, free: 12.18 MB / 1.951 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08756/7.465, allocations: 43.8 MB / 3.55 GB, free: 3.602 MB / 1.982 GB Notification: Performance of NFPackage.collectConstants: time 0.02498/7.49, allocations: 2.562 MB / 3.552 GB, free: 1.043 MB / 1.982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08399/7.574, allocations: 18.35 MB / 3.57 GB, free: 15.89 MB / 2.014 GB Notification: Performance of NFScalarize.scalarize: time 0.03393/7.608, allocations: 14.92 MB / 3.585 GB, free: 1.316 MB / 2.014 GB Notification: Performance of NFVerifyModel.verify: time 0.09152/7.7, allocations: 37.23 MB / 3.621 GB, free: 12.26 MB / 2.061 GB Notification: Performance of NFConvertDAE.convert: time 0.1899/7.89, allocations: 148.4 MB / 3.766 GB, free: 10.76 MB / 2.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/7.89, allocations: 0 / 3.766 GB, free: 10.76 MB / 2.201 GB Notification: Performance of FrontEnd: time 3.467e-06/7.89, allocations: 0 / 3.766 GB, free: 10.76 MB / 2.201 GB Notification: Performance of Transformations before backend: time 0.005107/7.895, allocations: 0 / 3.766 GB, free: 10.76 MB / 2.201 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 1.67/9.564, allocations: 76.4 MB / 3.841 GB, free: 1.158 GB / 2.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/9.564, allocations: 9.938 kB / 3.841 GB, free: 1.158 GB / 2.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06748/9.632, allocations: 12.28 MB / 3.853 GB, free: 1.153 GB / 2.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1879/9.82, allocations: 88.56 MB / 3.939 GB, free: 1.09 GB / 2.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007145/9.827, allocations: 4.75 MB / 3.944 GB, free: 1.088 GB / 2.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02195/9.849, allocations: 5.374 MB / 3.949 GB, free: 1.086 GB / 2.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2155/10.06, allocations: 74.45 MB / 4.022 GB, free: 1.028 GB / 2.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003538/10.07, allocations: 87.19 kB / 4.022 GB, free: 1.028 GB / 2.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02003/10.09, allocations: 2.121 MB / 4.024 GB, free: 1.026 GB / 2.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/10.09, allocations: 1.877 MB / 4.026 GB, free: 1.024 GB / 2.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1734/10.26, allocations: 64.89 MB / 4.089 GB, free: 0.9606 GB / 2.217 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.5483/10.81, allocations: 313.5 MB / 4.395 GB, free: 0.6452 GB / 2.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1014/10.91, allocations: 53.41 MB / 4.447 GB, free: 0.5939 GB / 2.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04996/10.96, allocations: 25.18 MB / 4.472 GB, free: 0.5691 GB / 2.217 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/11.19, allocations: 102.1 MB / 4.572 GB, free: 478.8 MB / 2.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06137/11.25, allocations: 27.9 MB / 4.599 GB, free: 450.7 MB / 2.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03737/11.29, allocations: 3.871 MB / 4.603 GB, free: 446.8 MB / 2.217 GB Notification: Performance of pre-optimization done (n=3284): time 0.0001719/11.29, allocations: 3.984 kB / 4.603 GB, free: 446.8 MB / 2.217 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed