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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001355/0.001355, allocations: 108 kB / 15.61 MB, free: 152 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.001441/0.001441, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002063, allocations: 67.88 kB / 0.8693 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5611, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008583/0.5697, allocations: 5.444 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006151/0.5759, allocations: 3.185 MB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5771, allocations: 47.75 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.5785, allocations: 448.7 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.58, allocations: 359.9 kB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.5826, allocations: 1.14 MB / 1.028 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005836/0.5885, allocations: 5.182 MB / 1.033 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006891/0.5954, allocations: 4.527 MB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.598, allocations: 1.897 MB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.6004, allocations: 1.868 MB / 1.041 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.6016, allocations: 0.5859 MB / 1.041 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.6028, allocations: 0.6562 MB / 1.042 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.604, allocations: 1.274 MB / 1.043 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/0.6065, allocations: 2.132 MB / 1.045 GB, free: 5.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007596/0.6142, allocations: 7.524 MB / 1.053 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.6142, allocations: 4 kB / 1.053 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6142, allocations: 0 / 1.053 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001389/0.6143, allocations: 0 / 1.053 GB, free: 14.05 MB / 0.8106 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.009043/0.6234, allocations: 4.402 MB / 1.057 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6234, allocations: 12.03 kB / 1.057 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.6243, allocations: 420.3 kB / 1.057 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.6279, allocations: 2.158 MB / 1.06 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004133/0.6283, allocations: 412.1 kB / 1.06 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006759/0.629, allocations: 436 kB / 1.06 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009936/0.6389, allocations: 5.469 MB / 1.066 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/0.639, allocations: 19.78 kB / 1.066 GB, free: 236 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.6394, allocations: 175.9 kB / 1.066 GB, free: 60 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/0.6395, allocations: 92.05 kB / 1.066 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008061/0.6476, allocations: 4.213 MB / 1.07 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02677/0.6744, allocations: 18.72 MB / 1.088 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.6809, allocations: 4.188 MB / 1.092 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.6841, allocations: 1.963 MB / 1.094 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.6842, allocations: 58.03 kB / 1.094 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004469/0.6887, allocations: 2.898 MB / 1.097 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=355): time 6.222e-06/0.6888, allocations: 3.938 kB / 1.097 GB, free: 15.02 MB / 0.8575 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