Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001573/0.001573, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001752/0.001752, allocations: 191 kB / 17.29 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.78 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007001/0.2814, allocations: 5.463 MB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00565/0.2871, allocations: 3.189 MB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.2885, allocations: 51.75 kB / 1.027 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.2895, allocations: 444.7 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.2906, allocations: 366 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2928, allocations: 1.143 MB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004844/0.2976, allocations: 5.213 MB / 1.034 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005303/0.303, allocations: 4.523 MB / 1.039 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.3053, allocations: 1.905 MB / 1.041 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.3074, allocations: 1.86 MB / 1.042 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008663/0.3083, allocations: 0.5898 MB / 1.043 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.3091, allocations: 0.6561 MB / 1.044 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000978/0.3101, allocations: 1.274 MB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002203/0.3123, allocations: 2.139 MB / 1.047 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/0.3188, allocations: 7.711 MB / 1.054 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3189, allocations: 3.938 kB / 1.054 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3189, allocations: 4 kB / 1.054 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001703/0.3191, allocations: 0 / 1.054 GB, free: 5.113 MB / 0.8262 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.009994/0.3291, allocations: 4.398 MB / 1.059 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3291, allocations: 12.03 kB / 1.059 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.33, allocations: 416.3 kB / 1.059 GB, free: 124 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/0.3341, allocations: 2.212 MB / 1.061 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.3345, allocations: 416.1 kB / 1.062 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007768/0.3353, allocations: 436 kB / 1.062 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009536/0.3449, allocations: 5.465 MB / 1.067 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-05/0.345, allocations: 15.88 kB / 1.067 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.3454, allocations: 175.9 kB / 1.068 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/0.3454, allocations: 92 kB / 1.068 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007214/0.3526, allocations: 4.205 MB / 1.072 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4981/0.8508, allocations: 18.54 MB / 1.09 GB, free: 45.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007899/0.8587, allocations: 4.196 MB / 1.094 GB, free: 42.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003489/0.8622, allocations: 1.964 MB / 1.096 GB, free: 41.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.8625, allocations: 51.45 kB / 1.096 GB, free: 41.85 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005302/0.8678, allocations: 2.899 MB / 1.099 GB, free: 40.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 2.077e-05/0.8678, allocations: 0 / 1.099 GB, free: 40.56 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