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: "" <> 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.001094/0.001094, allocations: 91.14 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.007832/0.007832, allocations: 173.4 kB / 16.27 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.265/2.265, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 8 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4898, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.005636/0.4954, allocations: 4.946 MB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.5002, allocations: 3.115 MB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008693/0.5011, allocations: 47.75 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.5018, allocations: 370 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.5026, allocations: 287.1 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5044, allocations: 1.011 MB / 1.033 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003775/0.5082, allocations: 4.631 MB / 1.037 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.5121, allocations: 3.686 MB / 1.041 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.5131, allocations: 1.151 MB / 1.042 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.5142, allocations: 1.301 MB / 1.043 GB, free: 11.14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.5144, allocations: 132 kB / 1.043 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.5148, allocations: 203.8 kB / 1.044 GB, free: 10.81 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005083/0.5153, allocations: 0.7081 MB / 1.044 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.5166, allocations: 1.559 MB / 1.046 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.5215, allocations: 6.89 MB / 1.052 GB, free: 1.613 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.5215, allocations: 0 / 1.052 GB, free: 1.613 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5215, allocations: 0 / 1.052 GB, free: 1.613 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.973e-05/0.5216, allocations: 0 / 1.052 GB, free: 1.613 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.005321/0.5269, allocations: 3.532 MB / 1.056 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5269, allocations: 12.03 kB / 1.056 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006007/0.5275, allocations: 0.5136 MB / 1.056 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.5281, allocations: 416.3 kB / 1.057 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.5309, allocations: 2.154 MB / 1.059 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.5313, allocations: 412 kB / 1.059 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/0.5319, allocations: 439.9 kB / 1.06 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007392/0.5393, allocations: 5.469 MB / 1.065 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.754e-05/0.5394, allocations: 15.88 kB / 1.065 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/0.5397, allocations: 168 kB / 1.065 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.5398, allocations: 92 kB / 1.065 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005959/0.5457, allocations: 4.221 MB / 1.069 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/0.5648, allocations: 18.81 MB / 1.088 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.5698, allocations: 4.204 MB / 1.092 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002399/0.5723, allocations: 1.961 MB / 1.094 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5724, allocations: 50.02 kB / 1.094 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003564/0.5759, allocations: 2.897 MB / 1.097 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 4.829e-06/0.576, allocations: 4 kB / 1.097 GB, free: 2.828 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