Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Controls_BaseClasses_Validation_StagingPlant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_latest_Buildings_Experimental_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.001166/0.001166, 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.001136/0.001135, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.157/1.157, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.319/2.319, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 62.38 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2168, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006358/0.2232, allocations: 5.48 MB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004501/0.2278, allocations: 3.13 MB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.2287, allocations: 43.81 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.2296, allocations: 373.9 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008497/0.2305, allocations: 284.6 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.2322, allocations: 1.021 MB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003717/0.236, allocations: 4.631 MB / 1.067 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004158/0.2401, allocations: 3.943 MB / 1.071 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.2416, allocations: 1.436 MB / 1.072 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.2429, allocations: 1.649 MB / 1.074 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.2432, allocations: 240 kB / 1.074 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.2437, allocations: 315.9 kB / 1.074 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006329/0.2444, allocations: 0.8993 MB / 1.075 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.2458, allocations: 1.772 MB / 1.077 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.2504, allocations: 7.104 MB / 1.084 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2504, allocations: 0 / 1.084 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.72e-07/0.2504, allocations: 0 / 1.084 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.104e-05/0.2505, allocations: 0 / 1.084 GB, free: 7.676 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.005854/0.2563, allocations: 4.406 MB / 1.088 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2564, allocations: 8.031 kB / 1.088 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005736/0.257, allocations: 0.5175 MB / 1.089 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.2576, allocations: 412.3 kB / 1.089 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.2604, allocations: 2.165 MB / 1.091 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.2607, allocations: 419.9 kB / 1.092 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/0.2612, allocations: 432 kB / 1.092 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007044/0.2682, allocations: 5.469 MB / 1.097 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/0.2683, allocations: 11.88 kB / 1.097 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.2686, allocations: 168 kB / 1.097 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.2687, allocations: 92 kB / 1.098 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/0.2745, allocations: 4.221 MB / 1.102 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.2926, allocations: 18.72 MB / 1.12 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004888/0.2976, allocations: 4.191 MB / 1.124 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/0.2999, allocations: 1.958 MB / 1.126 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.3001, allocations: 57.95 kB / 1.126 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003533/0.3036, allocations: 2.878 MB / 1.129 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 5.49e-06/0.3036, allocations: 0 / 1.129 GB, free: 8.129 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed