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.001213/0.001213, allocations: 98.88 kB / 16.02 MB, free: 76 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.00127/0.00127, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.344 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.58/2.58, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 12 kB / 0.8735 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.702, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.00605/0.7081, allocations: 4.954 MB / 1.029 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005701/0.7138, allocations: 3.095 MB / 1.032 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.7152, allocations: 43.81 kB / 1.032 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.7161, allocations: 377.9 kB / 1.032 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.7172, allocations: 287.1 kB / 1.032 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.7195, allocations: 1.015 MB / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004715/0.7242, allocations: 4.635 MB / 1.038 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005046/0.7293, allocations: 3.679 MB / 1.041 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.7311, allocations: 1.159 MB / 1.043 GB, free: 12.48 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.7327, allocations: 1.298 MB / 1.044 GB, free: 11.17 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.7331, allocations: 132 kB / 1.044 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.7336, allocations: 203.9 kB / 1.044 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.7342, allocations: 0.712 MB / 1.045 GB, free: 10.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.7359, allocations: 1.555 MB / 1.046 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005674/0.7415, allocations: 6.123 MB / 1.052 GB, free: 2.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7416, allocations: 0 / 1.052 GB, free: 2.422 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7416, allocations: 0 / 1.052 GB, free: 2.422 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001927/0.7418, allocations: 0 / 1.052 GB, free: 2.422 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.007992/0.7498, allocations: 3.528 MB / 1.056 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7499, allocations: 12.03 kB / 1.056 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.7514, allocations: 420.3 kB / 1.056 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.7555, allocations: 2.154 MB / 1.058 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/0.756, allocations: 416.1 kB / 1.059 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.7572, allocations: 436 kB / 1.059 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.7678, allocations: 5.473 MB / 1.064 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-05/0.768, allocations: 15.88 kB / 1.064 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.7684, allocations: 171.9 kB / 1.065 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/0.7685, allocations: 92 kB / 1.065 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008243/0.7767, allocations: 4.217 MB / 1.069 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/0.8017, allocations: 18.83 MB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005785/0.8075, allocations: 4.184 MB / 1.091 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.8105, allocations: 1.954 MB / 1.093 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.8107, allocations: 58.02 kB / 1.093 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004089/0.8148, allocations: 2.885 MB / 1.096 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 6.853e-06/0.8148, allocations: 0 / 1.096 GB, free: 4.168 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