Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001717/0.001716, allocations: 194.6 kB / 16.14 MB, free: 6.688 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 62.61 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4016, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.00778/0.4094, allocations: 5.473 MB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006882/0.4164, allocations: 3.133 MB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4178, allocations: 43.81 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.4189, allocations: 369.9 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009388/0.4199, allocations: 282.6 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.4221, allocations: 1.022 MB / 1.078 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004983/0.4271, allocations: 4.635 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00638/0.4335, allocations: 3.951 MB / 1.086 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.4362, allocations: 1.432 MB / 1.087 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.4383, allocations: 1.649 MB / 1.089 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.4388, allocations: 244 kB / 1.089 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.4394, allocations: 312 kB / 1.09 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007982/0.4403, allocations: 0.8954 MB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.4428, allocations: 1.768 MB / 1.092 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.4499, allocations: 6.824 MB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4499, allocations: 0 / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4499, allocations: 0 / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002566/0.4502, allocations: 0 / 1.099 GB, free: 10.68 MB / 0.8575 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.01074/0.4609, allocations: 4.402 MB / 1.103 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.461, allocations: 15.97 kB / 1.103 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.4619, allocations: 416.3 kB / 1.103 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.4655, allocations: 2.165 MB / 1.106 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.4659, allocations: 412.1 kB / 1.106 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006141/0.4665, allocations: 439.9 kB / 1.106 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.4767, allocations: 5.465 MB / 1.112 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.4768, allocations: 15.88 kB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.4772, allocations: 167.9 kB / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-05/0.4773, allocations: 92 kB / 1.112 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/0.4856, allocations: 4.221 MB / 1.116 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.5146, allocations: 18.72 MB / 1.134 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/0.5214, allocations: 4.196 MB / 1.139 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.5246, allocations: 1.959 MB / 1.14 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.5248, allocations: 58.03 kB / 1.14 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004834/0.5296, allocations: 2.889 MB / 1.143 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 1.705e-05/0.5297, allocations: 4 kB / 1.143 GB, free: 11.64 MB / 0.9044 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