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.001932/0.001932, allocations: 108 kB / 15.6 MB, free: 132 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.002068/0.002069, allocations: 191 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.813/2.813, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 62.34 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2564, 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.007944/0.2643, allocations: 5.437 MB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005417/0.2698, allocations: 3.188 MB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.2706, allocations: 47.81 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.2715, allocations: 444.6 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008013/0.2723, allocations: 366.8 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.2741, allocations: 1.141 MB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.2787, allocations: 5.178 MB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/0.2835, allocations: 4.531 MB / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.2852, allocations: 1.897 MB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.287, allocations: 1.868 MB / 1.088 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007301/0.2877, allocations: 0.5859 MB / 1.088 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008414/0.2886, allocations: 0.6639 MB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.2897, allocations: 1.27 MB / 1.09 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.2917, allocations: 2.139 MB / 1.092 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006033/0.2978, allocations: 7.214 MB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2978, allocations: 7.938 kB / 1.099 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2978, allocations: 0 / 1.099 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.765e-05/0.2978, allocations: 0 / 1.099 GB, free: 10.03 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.006942/0.3048, allocations: 4.409 MB / 1.104 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3048, allocations: 12.03 kB / 1.104 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006812/0.3055, allocations: 0.5214 MB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.3062, allocations: 412.4 kB / 1.104 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.3095, allocations: 2.161 MB / 1.107 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.3099, allocations: 412 kB / 1.107 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000618/0.3105, allocations: 436 kB / 1.107 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008208/0.3188, allocations: 5.469 MB / 1.113 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/0.3188, allocations: 15.88 kB / 1.113 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.3192, allocations: 175.9 kB / 1.113 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.3193, allocations: 92 kB / 1.113 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006826/0.3261, allocations: 4.213 MB / 1.117 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.3482, allocations: 18.72 MB / 1.135 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005821/0.354, allocations: 4.189 MB / 1.139 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/0.3569, allocations: 1.969 MB / 1.141 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.357, allocations: 57.88 kB / 1.141 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004076/0.3611, allocations: 2.889 MB / 1.144 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 5.219e-06/0.3611, allocations: 0 / 1.144 GB, free: 10.46 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