Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staChi.loaChiWat.y|staChi.loaHeaWat.y|QChiWatChi_flow_nominal|QChiWatCasCoo_flow_nominal|QHeaWat_flow_nominal|staChi.y1Chi.1.|staChi.y1Chi.2.|staChi.y1ChiHea.1.|staChi.y1ChiHea.2.|staChi.y1ChiHea.3.|staChi.y1CooChiHea.1.|staChi.y1CooChiHea.2.|staChi.y1CooChiHea.3.|staChi.y1HeaCooChiHea.1.|staChi.y1HeaCooChiHea.2.|staChi.y1HeaCooChiHea.3.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staChi.loaChiWat.y|staChi.loaHeaWat.y|QChiWatChi_flow_nominal|QChiWatCasCoo_flow_nominal|QHeaWat_flow_nominal|staChi.y1Chi.1.|staChi.y1Chi.2.|staChi.y1ChiHea.1.|staChi.y1ChiHea.2.|staChi.y1ChiHea.3.|staChi.y1CooChiHea.1.|staChi.y1CooChiHea.2.|staChi.y1CooChiHea.3.|staChi.y1HeaCooChiHea.1.|staChi.y1HeaCooChiHea.2.|staChi.y1HeaCooChiHea.3.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002053/0.002053, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.599/1.599, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 64.34 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4222, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008573/0.4308, allocations: 5.475 MB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006781/0.4376, allocations: 3.137 MB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.4395, allocations: 43.81 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.4408, allocations: 365.9 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.4422, allocations: 282.7 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.4453, allocations: 1.018 MB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005357/0.4506, allocations: 4.635 MB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/0.4565, allocations: 3.951 MB / 1.086 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.4588, allocations: 1.436 MB / 1.087 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.4611, allocations: 1.645 MB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005035/0.4616, allocations: 244 kB / 1.089 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.4624, allocations: 308 kB / 1.09 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008757/0.4633, allocations: 0.9032 MB / 1.09 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.4655, allocations: 1.764 MB / 1.092 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.4725, allocations: 6.824 MB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4725, allocations: 0 / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4725, allocations: 4 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001827/0.4727, allocations: 0 / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01011/0.4828, allocations: 4.409 MB / 1.103 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.4829, allocations: 19.92 kB / 1.103 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.484, allocations: 408.4 kB / 1.104 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/0.4874, allocations: 2.158 MB / 1.106 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/0.4878, allocations: 416.1 kB / 1.106 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006312/0.4885, allocations: 443.9 kB / 1.106 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.4994, allocations: 5.465 MB / 1.112 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.36e-05/0.4995, allocations: 15.88 kB / 1.112 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.4999, allocations: 168 kB / 1.112 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/0.5, allocations: 92 kB / 1.112 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008673/0.5086, allocations: 4.221 MB / 1.116 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.5402, allocations: 18.71 MB / 1.134 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/0.5471, allocations: 4.197 MB / 1.139 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/0.5502, allocations: 1.969 MB / 1.14 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.5504, allocations: 53.95 kB / 1.141 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004786/0.5552, allocations: 2.885 MB / 1.143 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 1.308e-05/0.5552, allocations: 0 / 1.143 GB, free: 11.61 MB / 0.9044 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.) staChi.hol.u[3] staChi.hol.u[2] 0.0 = staChi.nChiHeaAndCooUnb.y + staChi.hol.u[3] + staChi.hol.u[2] + staChi.numOpeCooChiHea.y + staChi.staHea.idxSta + (-staChi.numOpeCooChiHea.y) - staChi.hol.u[3] - staChi.nChiHeaAndCooUnb.y - staChi.hol.u[4] staChi.hol.u[2] = staChi.numOpeCooChiHea.y - staChi.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: staChi.hol.u[3] staChi.hol.u[2] equations: 0.0 = staChi.nChiHeaAndCooUnb.y + staChi.hol.u[3] + staChi.hol.u[2] + staChi.numOpeCooChiHea.y + staChi.staHea.idxSta + (-staChi.numOpeCooChiHea.y) - staChi.hol.u[3] - staChi.nChiHeaAndCooUnb.y - staChi.hol.u[4] staChi.hol.u[2] = staChi.numOpeCooChiHea.y - staChi.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