Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001379/0.001379, allocations: 108 kB / 15.6 MB, free: 132 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.001409/0.001409, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 65.25 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4133, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008224/0.4216, allocations: 5.444 MB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.4278, allocations: 3.176 MB / 1.077 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.4296, allocations: 47.81 kB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.431, allocations: 452.7 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.4328, allocations: 364.2 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.4358, allocations: 1.142 MB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006001/0.4418, allocations: 5.186 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006349/0.4482, allocations: 4.519 MB / 1.088 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.4513, allocations: 1.905 MB / 1.09 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.4542, allocations: 1.864 MB / 1.092 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.4553, allocations: 0.5859 MB / 1.092 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.4564, allocations: 0.6562 MB / 1.093 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.4575, allocations: 1.278 MB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002949/0.4605, allocations: 2.135 MB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007648/0.4682, allocations: 7.23 MB / 1.103 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.4682, allocations: 4 kB / 1.103 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4682, allocations: 0 / 1.103 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002267/0.4685, allocations: 0 / 1.103 GB, free: 6.234 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.0112/0.4797, allocations: 4.398 MB / 1.108 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4798, allocations: 16.03 kB / 1.108 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009762/0.4807, allocations: 412.4 kB / 1.108 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.4846, allocations: 2.165 MB / 1.11 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/0.485, allocations: 416.1 kB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000764/0.4858, allocations: 439.9 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.4964, allocations: 5.465 MB / 1.116 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.487e-05/0.4965, allocations: 15.92 kB / 1.116 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.4969, allocations: 171.9 kB / 1.116 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/0.4969, allocations: 92 kB / 1.117 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008075/0.505, allocations: 4.213 MB / 1.121 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03435/0.5394, allocations: 18.72 MB / 1.139 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.5473, allocations: 4.199 MB / 1.143 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.5509, allocations: 1.961 MB / 1.145 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.5512, allocations: 57.88 kB / 1.145 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00547/0.5567, allocations: 2.893 MB / 1.148 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 1.25e-05/0.5567, allocations: 0 / 1.148 GB, free: 7.199 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