Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Controls_BaseClasses_Validation_StagingPlant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Controls_BaseClasses_Validation_StagingPlant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001308/0.001308, allocations: 194 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.298/2.298, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.916/4.916, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 62.02 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4707, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.01437/0.4851, allocations: 5.488 MB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009704/0.4949, allocations: 3.106 MB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.4973, allocations: 51.8 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.4993, allocations: 365.9 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.5017, allocations: 279.7 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.5061, allocations: 1.026 MB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009943/0.516, allocations: 5.198 MB / 1.068 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.528, allocations: 4.527 MB / 1.072 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.5332, allocations: 1.913 MB / 1.074 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004912/0.5382, allocations: 1.86 MB / 1.076 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.5407, allocations: 0.5898 MB / 1.076 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.5435, allocations: 0.664 MB / 1.077 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002904/0.5464, allocations: 1.27 MB / 1.078 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005493/0.5519, allocations: 2.151 MB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.5659, allocations: 7.238 MB / 1.087 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.566, allocations: 3.938 kB / 1.087 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.805e-06/0.566, allocations: 0 / 1.087 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002931/0.5663, allocations: 0 / 1.087 GB, free: 4.762 MB / 0.8419 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.02205/0.5884, allocations: 4.398 MB / 1.092 GB, free: 196 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 8.616e-05/0.5885, allocations: 8.031 kB / 1.092 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003112/0.5916, allocations: 0.5175 MB / 1.092 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.5948, allocations: 416.3 kB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008649/0.6035, allocations: 2.161 MB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008564/0.6044, allocations: 412 kB / 1.095 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/0.6067, allocations: 443.9 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.6283, allocations: 5.476 MB / 1.101 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/0.6286, allocations: 11.88 kB / 1.101 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/0.6303, allocations: 172 kB / 1.101 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.6304, allocations: 92 kB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.6461, allocations: 4.217 MB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05269/0.6989, allocations: 18.71 MB / 1.123 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.7105, allocations: 4.205 MB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005294/0.7159, allocations: 1.957 MB / 1.129 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.7162, allocations: 53.95 kB / 1.13 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008157/0.7244, allocations: 2.887 MB / 1.132 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 2.195e-05/0.7245, allocations: 8 kB / 1.132 GB, free: 5.207 MB / 0.8887 GB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed