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.001439/0.001443, allocations: 108 kB / 15.6 MB, free: 132 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.001551/0.001551, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 64.34 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4139, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.009394/0.4234, allocations: 5.456 MB / 1.074 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007537/0.4309, allocations: 3.172 MB / 1.077 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.4331, allocations: 47.81 kB / 1.077 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.4348, allocations: 456.6 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.4368, allocations: 356.5 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.4401, allocations: 1.135 MB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006548/0.4466, allocations: 5.186 MB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00805/0.4547, allocations: 4.515 MB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.458, allocations: 1.901 MB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.4605, allocations: 1.875 MB / 1.092 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009317/0.4615, allocations: 0.5859 MB / 1.092 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.4626, allocations: 0.6562 MB / 1.093 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4637, allocations: 1.274 MB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.4665, allocations: 2.143 MB / 1.096 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008093/0.4746, allocations: 7.226 MB / 1.103 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4746, allocations: 0 / 1.103 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4747, allocations: 0 / 1.103 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001864/0.4749, allocations: 4 kB / 1.103 GB, free: 6.258 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.01048/0.4853, allocations: 4.408 MB / 1.108 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.4854, allocations: 23.92 kB / 1.108 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.4863, allocations: 412.4 kB / 1.108 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.4899, allocations: 2.161 MB / 1.11 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.4903, allocations: 412.1 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006231/0.4909, allocations: 436 kB / 1.111 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00944/0.5004, allocations: 5.469 MB / 1.116 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.5005, allocations: 15.88 kB / 1.116 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.5008, allocations: 171.9 kB / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-05/0.5009, allocations: 92 kB / 1.117 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007394/0.5083, allocations: 4.213 MB / 1.121 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/0.5333, allocations: 18.72 MB / 1.139 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.5395, allocations: 4.202 MB / 1.143 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/0.5427, allocations: 1.962 MB / 1.145 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.5429, allocations: 53.97 kB / 1.145 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004324/0.5472, allocations: 2.889 MB / 1.148 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 7.013e-06/0.5472, allocations: 0 / 1.148 GB, free: 7.219 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed