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.001777/0.001777, 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.002102/0.002102, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.38 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3976, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008144/0.4058, allocations: 5.432 MB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006515/0.4124, allocations: 3.184 MB / 1.077 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.4142, allocations: 47.75 kB / 1.077 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.4154, allocations: 452.7 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.4168, allocations: 365 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.4196, allocations: 1.135 MB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005802/0.4254, allocations: 5.19 MB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006329/0.4317, allocations: 4.515 MB / 1.088 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.4348, allocations: 1.897 MB / 1.09 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.4373, allocations: 1.868 MB / 1.092 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000942/0.4383, allocations: 0.5898 MB / 1.092 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.4393, allocations: 0.6561 MB / 1.093 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.4404, allocations: 1.278 MB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.443, allocations: 2.135 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007388/0.4504, allocations: 7.234 MB / 1.103 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.4505, allocations: 7.984 kB / 1.103 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4505, allocations: 4 kB / 1.103 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002268/0.4507, allocations: 0 / 1.103 GB, free: 6.273 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.0113/0.462, allocations: 4.402 MB / 1.108 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4621, allocations: 8.031 kB / 1.108 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.4631, allocations: 412.4 kB / 1.108 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.4672, allocations: 2.158 MB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/0.4677, allocations: 420.1 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000716/0.4684, allocations: 428 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.4791, allocations: 5.473 MB / 1.116 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.811e-05/0.4792, allocations: 11.88 kB / 1.116 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/0.4796, allocations: 171.9 kB / 1.116 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.928e-05/0.4797, allocations: 92 kB / 1.117 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008465/0.4882, allocations: 4.217 MB / 1.121 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.5169, allocations: 18.72 MB / 1.139 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/0.524, allocations: 4.2 MB / 1.143 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.5274, allocations: 1.961 MB / 1.145 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.5276, allocations: 53.95 kB / 1.145 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004928/0.5325, allocations: 2.897 MB / 1.148 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 1.333e-05/0.5326, allocations: 0 / 1.148 GB, free: 7.246 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed