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.001616/0.001616, allocations: 108 kB / 15.61 MB, free: 152 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.00186/0.00186, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.31 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2696, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007993/0.2777, allocations: 5.443 MB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.2837, allocations: 3.18 MB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.2853, allocations: 43.81 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2867, allocations: 448.7 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.2884, allocations: 368.8 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.2913, allocations: 1.143 MB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005292/0.2967, allocations: 5.186 MB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006631/0.3033, allocations: 4.519 MB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.3063, allocations: 1.905 MB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.3089, allocations: 1.86 MB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001458/0.3104, allocations: 0.5898 MB / 1.088 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.312, allocations: 0.6562 MB / 1.088 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.3139, allocations: 1.278 MB / 1.09 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00395/0.3179, allocations: 2.139 MB / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008973/0.3269, allocations: 7.23 MB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3269, allocations: 0 / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.327, allocations: 4 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002871/0.3273, allocations: 0 / 1.099 GB, free: 10.38 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.0121/0.3394, allocations: 4.406 MB / 1.103 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3394, allocations: 8.031 kB / 1.103 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001641/0.3411, allocations: 0.5136 MB / 1.104 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.3427, allocations: 412.4 kB / 1.104 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004736/0.3474, allocations: 2.161 MB / 1.106 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005043/0.3479, allocations: 416 kB / 1.107 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.3493, allocations: 435.9 kB / 1.107 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.3624, allocations: 5.469 MB / 1.112 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.3626, allocations: 11.88 kB / 1.112 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.3638, allocations: 171.9 kB / 1.112 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.597e-05/0.3639, allocations: 92 kB / 1.113 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009744/0.3737, allocations: 4.217 MB / 1.117 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02987/0.4036, allocations: 18.72 MB / 1.135 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006838/0.4105, allocations: 4.191 MB / 1.139 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.4139, allocations: 1.973 MB / 1.141 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.4141, allocations: 53.95 kB / 1.141 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005066/0.4192, allocations: 2.881 MB / 1.144 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 1.093e-05/0.4192, allocations: 0 / 1.144 GB, free: 10.83 MB / 0.9044 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed