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.0009303/0.0009303, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005214/0.005214, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.39/2.39, allocations: 462.6 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 13.53 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2299, allocations: 159.6 MB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.005421/0.2354, allocations: 4.959 MB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004548/0.2399, allocations: 3.087 MB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009298/0.2409, allocations: 47.75 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.2417, allocations: 365.9 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009587/0.2427, allocations: 282.6 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2445, allocations: 1.021 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00374/0.2483, allocations: 4.631 MB / 1.073 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003838/0.2521, allocations: 3.69 MB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009514/0.2531, allocations: 1.151 MB / 1.078 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000997/0.2541, allocations: 1.294 MB / 1.079 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.2543, allocations: 136 kB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.2547, allocations: 203.8 kB / 1.079 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.2552, allocations: 0.7081 MB / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.2563, allocations: 1.559 MB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.2606, allocations: 6.888 MB / 1.088 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2607, allocations: 0 / 1.088 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2607, allocations: 0 / 1.088 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.044e-05/0.2607, allocations: 3.938 kB / 1.088 GB, free: 6.582 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.004968/0.2657, allocations: 3.528 MB / 1.092 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2657, allocations: 16.02 kB / 1.092 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005792/0.2663, allocations: 0.5097 MB / 1.092 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.2669, allocations: 420.3 kB / 1.092 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.2695, allocations: 2.154 MB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.2698, allocations: 416 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005412/0.2704, allocations: 436 kB / 1.095 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007005/0.2774, allocations: 5.465 MB / 1.101 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/0.2775, allocations: 15.88 kB / 1.101 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.2778, allocations: 171.9 kB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.2779, allocations: 92 kB / 1.101 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005726/0.2836, allocations: 4.217 MB / 1.105 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.3016, allocations: 18.85 MB / 1.124 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004751/0.3064, allocations: 4.191 MB / 1.128 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.3087, allocations: 1.95 MB / 1.13 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.3089, allocations: 42.03 kB / 1.13 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003379/0.3122, allocations: 2.897 MB / 1.132 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 5.22e-06/0.3123, allocations: 0 / 1.132 GB, free: 7.797 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