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.001133/0.001133, allocations: 97.72 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.008874/0.008874, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005736/0.0005737, allocations: 10.47 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4251, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006915/0.432, allocations: 4.949 MB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006276/0.4384, allocations: 3.095 MB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.4399, allocations: 43.81 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009267/0.4408, allocations: 365.9 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.4419, allocations: 289.9 kB / 1.083 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.4442, allocations: 1.011 MB / 1.084 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005052/0.4493, allocations: 4.635 MB / 1.088 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005299/0.4546, allocations: 3.687 MB / 1.092 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.4562, allocations: 1.155 MB / 1.093 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.4575, allocations: 1.29 MB / 1.094 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.4578, allocations: 132 kB / 1.094 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.4584, allocations: 203.9 kB / 1.094 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006343/0.459, allocations: 0.712 MB / 1.095 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.4608, allocations: 1.559 MB / 1.097 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006375/0.4672, allocations: 6.592 MB / 1.103 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4672, allocations: 0 / 1.103 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4672, allocations: 4 kB / 1.103 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002115/0.4675, allocations: 3.938 kB / 1.103 GB, free: 9.641 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.009109/0.4766, allocations: 3.532 MB / 1.107 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.4766, allocations: 11.97 kB / 1.107 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.478, allocations: 420.3 kB / 1.107 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/0.4819, allocations: 2.154 MB / 1.109 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.4823, allocations: 416.1 kB / 1.11 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007344/0.4831, allocations: 447.8 kB / 1.11 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4931, allocations: 5.457 MB / 1.115 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/0.4932, allocations: 15.86 kB / 1.115 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.4937, allocations: 176 kB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.4938, allocations: 92 kB / 1.116 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00774/0.5016, allocations: 4.213 MB / 1.12 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/0.5292, allocations: 18.84 MB / 1.138 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007021/0.5363, allocations: 4.195 MB / 1.142 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/0.5395, allocations: 1.961 MB / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.5397, allocations: 46.02 kB / 1.144 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004442/0.5442, allocations: 2.881 MB / 1.147 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 6.051e-06/0.5442, allocations: 0 / 1.147 GB, free: 11.38 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