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.001283/0.001283, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001285/0.001285, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.469/2.469, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 67.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5352, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006951/0.5422, allocations: 5.482 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004879/0.5471, allocations: 3.126 MB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.5481, allocations: 43.81 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.5492, allocations: 361.9 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009594/0.5502, allocations: 286.5 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.5521, allocations: 1.034 MB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003866/0.556, allocations: 5.182 MB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004216/0.5602, allocations: 4.537 MB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.5617, allocations: 1.913 MB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.5631, allocations: 1.868 MB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.5637, allocations: 0.5859 MB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.5644, allocations: 0.664 MB / 1.041 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008503/0.5653, allocations: 1.274 MB / 1.043 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.567, allocations: 2.155 MB / 1.045 GB, free: 6.035 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.5721, allocations: 7.522 MB / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5721, allocations: 0 / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5722, allocations: 0 / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.184e-05/0.5722, allocations: 0 / 1.052 GB, free: 14.49 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.006229/0.5785, allocations: 4.394 MB / 1.056 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5785, allocations: 12.03 kB / 1.056 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005691/0.5791, allocations: 0.5175 MB / 1.057 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006455/0.5797, allocations: 416.3 kB / 1.057 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.5825, allocations: 2.165 MB / 1.059 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.5828, allocations: 412 kB / 1.06 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/0.5834, allocations: 439.9 kB / 1.06 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007392/0.5908, allocations: 5.469 MB / 1.066 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.5908, allocations: 15.88 kB / 1.066 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/0.5912, allocations: 176 kB / 1.066 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.5913, allocations: 92 kB / 1.066 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005991/0.5973, allocations: 4.213 MB / 1.07 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.6167, allocations: 18.71 MB / 1.088 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004996/0.6218, allocations: 4.196 MB / 1.092 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.6242, allocations: 1.959 MB / 1.094 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.6243, allocations: 58.03 kB / 1.094 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003505/0.6278, allocations: 2.885 MB / 1.097 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=355): time 6.331e-06/0.6279, allocations: 4 kB / 1.097 GB, free: 14.94 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed