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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Controls_BaseClasses_Validation_StagingPlant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Controls_BaseClasses_Validation_StagingPlant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, 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.001341/0.001341, allocations: 193.9 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.585/2.585, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.8694 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5882, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007643/0.5959, allocations: 5.456 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005902/0.6018, allocations: 3.181 MB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.6033, allocations: 47.81 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.6045, allocations: 452.6 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.606, allocations: 363.5 kB / 1.027 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.6084, allocations: 1.146 MB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004733/0.6132, allocations: 5.175 MB / 1.033 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005932/0.6191, allocations: 4.529 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.6217, allocations: 1.897 MB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.624, allocations: 1.868 MB / 1.041 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.6252, allocations: 0.5859 MB / 1.042 GB, free: 9.617 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.6264, allocations: 0.6639 MB / 1.042 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.6278, allocations: 1.27 MB / 1.043 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.6301, allocations: 2.139 MB / 1.046 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.6357, allocations: 7.514 MB / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6358, allocations: 0 / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6358, allocations: 3.938 kB / 1.053 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001193/0.6359, allocations: 0 / 1.053 GB, free: 13.99 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.007392/0.6433, allocations: 4.402 MB / 1.057 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6434, allocations: 12.03 kB / 1.057 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006411/0.644, allocations: 0.5136 MB / 1.058 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.6447, allocations: 416.3 kB / 1.058 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.6477, allocations: 2.161 MB / 1.06 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.648, allocations: 412 kB / 1.061 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.6486, allocations: 443.8 kB / 1.061 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/0.6566, allocations: 5.469 MB / 1.066 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/0.6567, allocations: 15.88 kB / 1.066 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000331/0.657, allocations: 164 kB / 1.067 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.6571, allocations: 92 kB / 1.067 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006386/0.6635, allocations: 4.221 MB / 1.071 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.6851, allocations: 18.72 MB / 1.089 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/0.6906, allocations: 4.206 MB / 1.093 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/0.6933, allocations: 1.965 MB / 1.095 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.6935, allocations: 54.09 kB / 1.095 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003949/0.6974, allocations: 2.89 MB / 1.098 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=355): time 9.668e-06/0.6975, allocations: 0 / 1.098 GB, free: 14.43 MB / 0.8575 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed