Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.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.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.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.Experimental.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.Experimental.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.001463/0.001463, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001598/0.001598, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 62.92 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.288, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007743/0.2958, allocations: 5.455 MB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005696/0.3016, allocations: 3.189 MB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3031, allocations: 47.75 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.3045, allocations: 448.7 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3061, allocations: 356.4 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.3087, allocations: 1.131 MB / 1.037 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005128/0.3138, allocations: 5.233 MB / 1.042 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00614/0.32, allocations: 4.507 MB / 1.047 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.323, allocations: 1.917 MB / 1.049 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.3257, allocations: 1.856 MB / 1.05 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.3271, allocations: 0.5898 MB / 1.051 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3283, allocations: 0.66 MB / 1.052 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.3293, allocations: 1.274 MB / 1.053 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.3316, allocations: 2.132 MB / 1.055 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0068/0.3384, allocations: 7.711 MB / 1.062 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3384, allocations: 0 / 1.062 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3385, allocations: 8 kB / 1.062 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001653/0.3386, allocations: 3.938 kB / 1.062 GB, free: 13.3 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.009823/0.3485, allocations: 4.402 MB / 1.067 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.3485, allocations: 12.03 kB / 1.067 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007633/0.3493, allocations: 416.3 kB / 1.067 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.3533, allocations: 2.204 MB / 1.069 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.3536, allocations: 420.1 kB / 1.07 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006548/0.3543, allocations: 432 kB / 1.07 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4464/0.8007, allocations: 5.469 MB / 1.075 GB, free: 47.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.642e-05/0.8008, allocations: 14.03 kB / 1.075 GB, free: 47.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.8012, allocations: 170.7 kB / 1.076 GB, free: 47.51 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.814e-05/0.8013, allocations: 94.98 kB / 1.076 GB, free: 47.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.81, allocations: 4.223 MB / 1.08 GB, free: 46.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.8316, allocations: 18.54 MB / 1.098 GB, free: 34.35 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005156/0.8368, allocations: 4.193 MB / 1.102 GB, free: 32.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.8394, allocations: 1.96 MB / 1.104 GB, free: 31.1 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.8395, allocations: 55.84 kB / 1.104 GB, free: 31.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003604/0.8431, allocations: 2.882 MB / 1.107 GB, free: 29.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 6.702e-06/0.8432, allocations: 5.234 kB / 1.107 GB, free: 29.81 MB / 0.8419 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed