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.001043/0.001043, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00862/0.00862, allocations: 174 kB / 16.27 MB, free: 6.648 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.456/1.456, 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 12.0.0-master/package.mo): time 2.979/2.979, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 6.375 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3657, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.00739/0.3731, allocations: 4.953 MB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007004/0.3802, allocations: 3.087 MB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.382, allocations: 43.81 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.3832, allocations: 373.9 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.3846, allocations: 281.8 kB / 1.083 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.3873, allocations: 1.015 MB / 1.084 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005784/0.3931, allocations: 4.631 MB / 1.088 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/0.3993, allocations: 3.698 MB / 1.092 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.4016, allocations: 1.159 MB / 1.093 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.4039, allocations: 1.294 MB / 1.094 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.4043, allocations: 136 kB / 1.094 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.4049, allocations: 203.9 kB / 1.095 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.4059, allocations: 0.712 MB / 1.095 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.4081, allocations: 1.551 MB / 1.097 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007951/0.4161, allocations: 6.6 MB / 1.103 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4161, allocations: 0 / 1.103 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.756e-06/0.4161, allocations: 0 / 1.103 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002203/0.4164, allocations: 0 / 1.103 GB, free: 9.621 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.00944/0.4258, allocations: 3.524 MB / 1.107 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.4259, allocations: 19.91 kB / 1.107 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.4277, allocations: 416.3 kB / 1.107 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.4322, allocations: 2.161 MB / 1.109 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005015/0.4328, allocations: 412.1 kB / 1.11 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4338, allocations: 443.8 kB / 1.11 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.4463, allocations: 5.465 MB / 1.115 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.64e-05/0.4465, allocations: 15.88 kB / 1.115 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004277/0.4469, allocations: 167.9 kB / 1.115 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-05/0.447, allocations: 92 kB / 1.116 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009873/0.4569, allocations: 4.217 MB / 1.12 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03084/0.4877, allocations: 18.84 MB / 1.138 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006693/0.4945, allocations: 4.191 MB / 1.142 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.4977, allocations: 1.951 MB / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.4979, allocations: 53.88 kB / 1.144 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004362/0.5023, allocations: 2.889 MB / 1.147 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 7.173e-06/0.5023, allocations: 4 kB / 1.147 GB, free: 11.36 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