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.00203/0.002031, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002768/0.002768, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.41 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.663/2.663, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.89 kB / 0.8688 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.59, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007728/0.5978, allocations: 5.482 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.6031, allocations: 3.115 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.604, allocations: 43.81 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.6049, allocations: 369.9 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008654/0.6058, allocations: 291 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.6078, allocations: 1.023 MB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005284/0.6131, allocations: 5.19 MB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005619/0.6188, allocations: 4.519 MB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.6209, allocations: 1.917 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.623, allocations: 1.868 MB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007742/0.6238, allocations: 0.5938 MB / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008876/0.6247, allocations: 0.66 MB / 1.041 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.6259, allocations: 1.274 MB / 1.043 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.6283, allocations: 2.159 MB / 1.045 GB, free: 6.043 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007192/0.6355, allocations: 7.516 MB / 1.052 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6355, allocations: 0 / 1.052 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6355, allocations: 0 / 1.052 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.00014/0.6356, allocations: 0 / 1.052 GB, free: 14.51 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.009169/0.6448, allocations: 4.406 MB / 1.056 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6449, allocations: 8.031 kB / 1.056 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.6457, allocations: 416.3 kB / 1.057 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.6492, allocations: 2.161 MB / 1.059 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.6496, allocations: 416.1 kB / 1.059 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006489/0.6503, allocations: 432 kB / 1.06 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009723/0.66, allocations: 5.476 MB / 1.065 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.31e-05/0.6601, allocations: 19.78 kB / 1.065 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004205/0.6605, allocations: 175.9 kB / 1.065 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/0.6606, allocations: 88 kB / 1.065 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007277/0.6679, allocations: 4.213 MB / 1.069 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02473/0.6927, allocations: 18.71 MB / 1.088 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006331/0.699, allocations: 4.192 MB / 1.092 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.7021, allocations: 1.961 MB / 1.094 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.7023, allocations: 50.09 kB / 1.094 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004582/0.7069, allocations: 2.889 MB / 1.097 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=355): time 9.928e-06/0.7069, allocations: 4 kB / 1.097 GB, free: 15.48 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed