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.001525/0.001525, 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.002018/0.002018, allocations: 189.9 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.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.72 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4016, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008217/0.4098, allocations: 5.463 MB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006638/0.4165, allocations: 3.133 MB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.4184, allocations: 47.75 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.4196, allocations: 369.9 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.4207, allocations: 288.2 kB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.4233, allocations: 1.019 MB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005021/0.4284, allocations: 4.635 MB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00579/0.4342, allocations: 3.958 MB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.4365, allocations: 1.436 MB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.4389, allocations: 1.633 MB / 1.089 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006682/0.4396, allocations: 248 kB / 1.089 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.4403, allocations: 315.9 kB / 1.09 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008269/0.4412, allocations: 0.8955 MB / 1.09 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.4435, allocations: 1.768 MB / 1.092 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006828/0.4504, allocations: 6.828 MB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4504, allocations: 0 / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4504, allocations: 0 / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002129/0.4506, allocations: 0 / 1.099 GB, free: 10.69 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.01152/0.4622, allocations: 4.403 MB / 1.103 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.4622, allocations: 15.97 kB / 1.103 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.4632, allocations: 412.4 kB / 1.104 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/0.4667, allocations: 2.165 MB / 1.106 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.4671, allocations: 412.1 kB / 1.106 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006344/0.4677, allocations: 436 kB / 1.106 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.4787, allocations: 5.465 MB / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-05/0.4788, allocations: 19.88 kB / 1.112 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/0.4792, allocations: 167.9 kB / 1.112 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-05/0.4792, allocations: 92 kB / 1.112 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008272/0.4875, allocations: 4.213 MB / 1.116 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.5138, allocations: 18.72 MB / 1.134 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/0.5201, allocations: 4.191 MB / 1.139 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.5234, allocations: 1.963 MB / 1.14 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.5236, allocations: 54.09 kB / 1.14 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004709/0.5284, allocations: 2.897 MB / 1.143 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 7.484e-06/0.5284, allocations: 4 kB / 1.143 GB, free: 11.66 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