Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001466/0.001466, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001478/0.001478, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.608/2.608, allocations: 469.8 MB / 0.7427 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.88 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2934, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008443/0.3019, allocations: 5.472 MB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.308, allocations: 3.106 MB / 1.073 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.3096, allocations: 43.81 kB / 1.073 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.3111, allocations: 373.9 kB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.3125, allocations: 296.8 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.3151, allocations: 1.019 MB / 1.074 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.4446/0.7597, allocations: 5.19 MB / 1.079 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005327/0.765, allocations: 4.52 MB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.7673, allocations: 1.921 MB / 1.086 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.7693, allocations: 1.862 MB / 1.087 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009237/0.7702, allocations: 0.5921 MB / 1.088 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009358/0.7712, allocations: 0.6599 MB / 1.089 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009882/0.7722, allocations: 1.273 MB / 1.09 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.7743, allocations: 2.151 MB / 1.092 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.7808, allocations: 6.187 MB / 1.098 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7808, allocations: 1.344 kB / 1.098 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7808, allocations: 0.7031 kB / 1.098 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002486/0.7811, allocations: 0 / 1.098 GB, free: 6.379 MB / 0.8419 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.01021/0.7913, allocations: 4.401 MB / 1.102 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7914, allocations: 14.02 kB / 1.102 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7925, allocations: 416.3 kB / 1.103 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.7963, allocations: 2.165 MB / 1.105 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004082/0.7967, allocations: 409.7 kB / 1.105 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008978/0.7976, allocations: 444.1 kB / 1.106 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.8082, allocations: 5.474 MB / 1.111 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.329e-05/0.8084, allocations: 12.47 kB / 1.111 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.8088, allocations: 171.9 kB / 1.111 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.9e-05/0.8089, allocations: 91.78 kB / 1.111 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008611/0.8175, allocations: 4.219 MB / 1.115 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/0.8453, allocations: 18.72 MB / 1.134 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006165/0.8515, allocations: 4.184 MB / 1.138 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.8545, allocations: 1.962 MB / 1.14 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.8547, allocations: 54.91 kB / 1.14 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004388/0.8591, allocations: 2.891 MB / 1.143 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=355): time 8.145e-06/0.8591, allocations: 4 kB / 1.143 GB, free: 11.23 MB / 0.8731 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.) 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/jenkins1/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/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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed