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.001141/0.001141, allocations: 100.1 kB / 15.88 MB, free: 12 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.001185/0.001185, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.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.481/2.481, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.8693 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6355/0.6368, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007068/0.6439, allocations: 5.489 MB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005412/0.6493, allocations: 3.134 MB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.6508, allocations: 47.75 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.6521, allocations: 377.9 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.6534, allocations: 275.1 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.6558, allocations: 1.022 MB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004591/0.6604, allocations: 4.628 MB / 1.032 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005121/0.6655, allocations: 3.954 MB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.6679, allocations: 1.436 MB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.67, allocations: 1.641 MB / 1.039 GB, free: 12.6 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006261/0.6707, allocations: 244 kB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006616/0.6713, allocations: 311.9 kB / 1.039 GB, free: 12.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007506/0.6721, allocations: 0.8954 MB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.6741, allocations: 1.76 MB / 1.042 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005245/0.6794, allocations: 6.281 MB / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.6794, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6794, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001951/0.6796, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 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.01072/0.6904, allocations: 4.41 MB / 1.052 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6904, allocations: 8.031 kB / 1.052 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009386/0.6914, allocations: 416.3 kB / 1.053 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.6951, allocations: 2.154 MB / 1.055 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/0.6955, allocations: 416.1 kB / 1.055 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008868/0.6964, allocations: 439.9 kB / 1.056 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.7078, allocations: 5.469 MB / 1.061 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.708, allocations: 15.88 kB / 1.061 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008658/0.7089, allocations: 171.9 kB / 1.061 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/0.709, allocations: 96 kB / 1.061 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00985/0.7188, allocations: 4.209 MB / 1.065 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03049/0.7494, allocations: 18.72 MB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.7563, allocations: 4.188 MB / 1.088 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.7598, allocations: 1.967 MB / 1.09 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.76, allocations: 46.03 kB / 1.09 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005311/0.7653, allocations: 2.899 MB / 1.093 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 1.1e-05/0.7654, allocations: 0 / 1.093 GB, free: 4.07 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed