Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.002185/0.002185, 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.002135/0.002135, allocations: 198.2 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.73 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.234, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006952/0.241, allocations: 5.457 MB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.2453, allocations: 3.176 MB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.2458, allocations: 43.81 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.2465, allocations: 448.7 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006824/0.2472, allocations: 354.8 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2488, allocations: 1.14 MB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004129/0.2529, allocations: 5.19 MB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004361/0.2573, allocations: 4.523 MB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.2589, allocations: 1.901 MB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.2605, allocations: 1.868 MB / 1.088 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006577/0.2612, allocations: 0.5898 MB / 1.088 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.262, allocations: 0.6562 MB / 1.089 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.263, allocations: 1.274 MB / 1.09 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.2648, allocations: 2.139 MB / 1.092 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.2704, allocations: 7.222 MB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2704, allocations: 0 / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2704, allocations: 0 / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.322e-05/0.2705, allocations: 0 / 1.099 GB, free: 10.02 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.006341/0.2768, allocations: 4.409 MB / 1.104 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2769, allocations: 8.031 kB / 1.104 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006224/0.2775, allocations: 0.5136 MB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.2781, allocations: 420.3 kB / 1.104 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.2811, allocations: 2.165 MB / 1.107 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.2815, allocations: 416 kB / 1.107 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005531/0.282, allocations: 432 kB / 1.107 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/0.2894, allocations: 5.473 MB / 1.113 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.836e-05/0.2895, allocations: 11.88 kB / 1.113 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003416/0.2898, allocations: 171.9 kB / 1.113 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-05/0.2899, allocations: 88 kB / 1.113 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006201/0.2961, allocations: 4.217 MB / 1.117 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/0.3161, allocations: 18.72 MB / 1.135 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005274/0.3214, allocations: 4.192 MB / 1.139 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/0.324, allocations: 1.965 MB / 1.141 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3241, allocations: 53.88 kB / 1.141 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003669/0.3278, allocations: 2.891 MB / 1.144 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 4.859e-06/0.3278, allocations: 0 / 1.144 GB, free: 10.45 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