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.001114/0.001114, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008716/0.008716, allocations: 172.4 kB / 16.26 MB, free: 6.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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.591/2.591, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 8 kB / 0.8729 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6362, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006012/0.6423, allocations: 4.953 MB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005392/0.6477, allocations: 3.107 MB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.649, allocations: 39.81 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.6501, allocations: 373.9 kB / 1.031 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.6514, allocations: 283.1 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.6536, allocations: 1.015 MB / 1.033 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004974/0.6586, allocations: 4.631 MB / 1.037 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005683/0.6643, allocations: 3.69 MB / 1.041 GB, free: 13.67 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.6665, allocations: 1.159 MB / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.6686, allocations: 1.29 MB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.6694, allocations: 132 kB / 1.043 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000819/0.6702, allocations: 203.9 kB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009474/0.6712, allocations: 0.712 MB / 1.044 GB, free: 10.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.6735, allocations: 1.551 MB / 1.046 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006418/0.6799, allocations: 6.897 MB / 1.052 GB, free: 1.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.68, allocations: 0 / 1.052 GB, free: 1.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.68, allocations: 0 / 1.052 GB, free: 1.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001832/0.6802, allocations: 0 / 1.052 GB, free: 1.68 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.007749/0.6879, allocations: 3.528 MB / 1.056 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.688, allocations: 8.031 kB / 1.056 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.6892, allocations: 412.3 kB / 1.056 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.6926, allocations: 2.161 MB / 1.058 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.693, allocations: 416.1 kB / 1.059 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007087/0.6937, allocations: 436 kB / 1.059 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009425/0.7031, allocations: 5.469 MB / 1.064 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.69e-05/0.7033, allocations: 15.86 kB / 1.064 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/0.7036, allocations: 172 kB / 1.065 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.7037, allocations: 88 kB / 1.065 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/0.7113, allocations: 4.213 MB / 1.069 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.7354, allocations: 18.82 MB / 1.087 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00583/0.7413, allocations: 4.205 MB / 1.091 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.7443, allocations: 1.963 MB / 1.093 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.7445, allocations: 50.02 kB / 1.093 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004018/0.7485, allocations: 2.885 MB / 1.096 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 5.65e-06/0.7485, allocations: 0 / 1.096 GB, free: 3.434 MB / 0.8419 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed