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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001304/0.001304, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.541/2.541, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.682, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.941/4.623, allocations: 1.662 GB / 2.679 GB, free: 37 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.4636/5.087, allocations: 309.3 MB / 2.981 GB, free: 9.957 MB / 1.764 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1058/5.193, allocations: 1.67 MB / 2.982 GB, free: 8.277 MB / 1.764 GB Notification: Performance of NFTyping.typeComponents: time 1.444/6.637, allocations: 46.41 MB / 3.028 GB, free: 32.45 MB / 1.795 GB Notification: Performance of NFTyping.typeBindings: time 0.1522/6.789, allocations: 49.24 MB / 3.076 GB, free: 32.1 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.1013/6.89, allocations: 44.15 MB / 3.119 GB, free: 31.3 MB / 1.795 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.09598027422618209, 0.1919605484523642, 0.261463505650634}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.03359309597916374, 0.06718619195832748, 0.09151222697772191}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.06718619195832748, 0.134372383916655, 0.1830244539554438}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.04799013711309105, 0.09598027422618209, 0.130731752825317}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.02399506855654552, 0.04799013711309105, 0.06536587641265849}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘1.0 / pla.chiHea.COPCasCoo_nominal‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.3275/7.218, allocations: 254.9 MB / 3.368 GB, free: 5.934 MB / 1.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.178/7.396, allocations: 80.56 MB / 3.446 GB, free: 6.277 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1599/7.556, allocations: 50.84 MB / 3.496 GB, free: 5.422 MB / 1.967 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09511/7.651, allocations: 48.01 MB / 3.543 GB, free: 8.629 MB / 2.014 GB Notification: Performance of NFPackage.collectConstants: time 0.03132/7.682, allocations: 3.879 MB / 3.547 GB, free: 4.75 MB / 2.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08208/7.764, allocations: 19.68 MB / 3.566 GB, free: 2.273 MB / 2.029 GB Notification: Performance of NFScalarize.scalarize: time 0.04839/7.813, allocations: 17.13 MB / 3.583 GB, free: 1.492 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.1269/7.94, allocations: 40.12 MB / 3.622 GB, free: 9.574 MB / 2.092 GB Notification: Performance of NFConvertDAE.convert: time 0.2815/8.221, allocations: 172.7 MB / 3.791 GB, free: 68 kB / 2.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/8.221, allocations: 0 / 3.791 GB, free: 68 kB / 2.248 GB Notification: Performance of FrontEnd: time 1.633e-06/8.221, allocations: 0 / 3.791 GB, free: 68 kB / 2.248 GB Notification: Performance of Transformations before backend: time 0.005572/8.227, allocations: 0 / 3.791 GB, free: 68 kB / 2.248 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 3.018/11.24, allocations: 94.08 MB / 3.882 GB, free: 373.7 MB / 2.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/11.25, allocations: 11.06 kB / 3.882 GB, free: 373.7 MB / 2.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07619/11.32, allocations: 11.99 MB / 3.894 GB, free: 369.5 MB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2469/11.57, allocations: 88.64 MB / 3.981 GB, free: 359.1 MB / 2.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01062/11.58, allocations: 4.728 MB / 3.985 GB, free: 358.5 MB / 2.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02571/11.6, allocations: 5.366 MB / 3.991 GB, free: 358.5 MB / 2.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2452/11.85, allocations: 74.19 MB / 4.063 GB, free: 353.2 MB / 2.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003504/11.85, allocations: 96.33 kB / 4.063 GB, free: 353.2 MB / 2.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02204/11.88, allocations: 2.124 MB / 4.065 GB, free: 353.2 MB / 2.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/11.88, allocations: 1.873 MB / 4.067 GB, free: 353.1 MB / 2.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1932/12.07, allocations: 64.53 MB / 4.13 GB, free: 320.5 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.6203/12.69, allocations: 312.2 MB / 4.435 GB, free: 0.5195 MB / 2.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1268/12.82, allocations: 53.2 MB / 4.487 GB, free: 11.86 MB / 2.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06092/12.88, allocations: 25.01 MB / 4.511 GB, free: 2.703 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 evalFunc (simulation): time 0.2915/13.17, allocations: 101.8 MB / 4.611 GB, free: 11.18 MB / 2.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08044/13.25, allocations: 27.76 MB / 4.638 GB, free: 15.28 MB / 2.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04278/13.29, allocations: 3.866 MB / 4.642 GB, free: 11.4 MB / 2.514 GB Notification: Performance of pre-optimization done (n=3282): time 0.0002271/13.29, allocations: 4 kB / 4.642 GB, free: 11.39 MB / 2.514 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed