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.001264/0.001264, 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.001322/0.001322, allocations: 195.1 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.158/1.158, 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.0.1-master/package.mo): time 2.4/2.4, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.2 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2537, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007278/0.261, allocations: 5.462 MB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005164/0.2662, allocations: 3.169 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.2672, allocations: 51.75 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.2683, allocations: 452.6 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2695, allocations: 360.2 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.2715, allocations: 1.142 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004485/0.276, allocations: 5.182 MB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004867/0.2809, allocations: 4.519 MB / 1.073 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.2827, allocations: 1.897 MB / 1.075 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.2842, allocations: 1.868 MB / 1.076 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006902/0.2849, allocations: 0.5899 MB / 1.077 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.2857, allocations: 0.6562 MB / 1.078 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009385/0.2867, allocations: 1.274 MB / 1.079 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.2886, allocations: 2.143 MB / 1.081 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.2939, allocations: 7.222 MB / 1.088 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2939, allocations: 7.938 kB / 1.088 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2939, allocations: 0 / 1.088 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.97e-05/0.294, allocations: 0 / 1.088 GB, free: 4.094 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.006506/0.3005, allocations: 4.406 MB / 1.092 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3006, allocations: 11.97 kB / 1.092 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006124/0.3012, allocations: 0.5136 MB / 1.093 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006677/0.3019, allocations: 420.3 kB / 1.093 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.3049, allocations: 2.154 MB / 1.095 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.3052, allocations: 419.9 kB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005713/0.3058, allocations: 439.9 kB / 1.096 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007556/0.3134, allocations: 5.465 MB / 1.102 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/0.3134, allocations: 11.88 kB / 1.102 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/0.3138, allocations: 171.9 kB / 1.102 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.3139, allocations: 96 kB / 1.102 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006258/0.3202, allocations: 4.217 MB / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.3405, allocations: 18.72 MB / 1.124 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/0.3458, allocations: 4.191 MB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.3484, allocations: 1.969 MB / 1.13 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.3485, allocations: 53.95 kB / 1.13 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003729/0.3522, allocations: 2.881 MB / 1.133 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 6.863e-06/0.3523, allocations: 0 / 1.133 GB, free: 4.539 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed