Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,fileNamePrefix="Buildings_10_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_10_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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001164/0.001164, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.293/2.293, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4948, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006712/0.5015, allocations: 5.49 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004799/0.5063, allocations: 3.13 MB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006855/0.507, allocations: 47.81 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.5079, allocations: 377.9 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.5085, allocations: 294.1 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.51, allocations: 1.011 MB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.5132, allocations: 4.635 MB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.5168, allocations: 3.941 MB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.518, allocations: 1.444 MB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.5192, allocations: 1.645 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.5195, allocations: 244 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.52, allocations: 315.9 kB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.5206, allocations: 0.8955 MB / 1.04 GB, free: 11.15 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.522, allocations: 1.757 MB / 1.041 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.5266, allocations: 7.12 MB / 1.048 GB, free: 2.242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5266, allocations: 0 / 1.048 GB, free: 2.242 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5266, allocations: 0 / 1.048 GB, free: 2.242 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.5267, allocations: 0 / 1.048 GB, free: 2.242 MB / 0.795 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.006216/0.5329, allocations: 4.398 MB / 1.053 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5329, allocations: 8.031 kB / 1.053 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000584/0.5335, allocations: 0.5175 MB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/0.5341, allocations: 420.3 kB / 1.054 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.5369, allocations: 2.154 MB / 1.056 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.5373, allocations: 420 kB / 1.056 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/0.5378, allocations: 431.9 kB / 1.056 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007434/0.5452, allocations: 5.476 MB / 1.062 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.5453, allocations: 11.88 kB / 1.062 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.5456, allocations: 172 kB / 1.062 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.5457, allocations: 92 kB / 1.062 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.5519, allocations: 4.213 MB / 1.066 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01987/0.5718, allocations: 18.71 MB / 1.084 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/0.5769, allocations: 4.2 MB / 1.089 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.5794, allocations: 1.967 MB / 1.09 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.5795, allocations: 50.09 kB / 1.091 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003453/0.583, allocations: 2.891 MB / 1.093 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 6.412e-06/0.583, allocations: 0 / 1.093 GB, free: 2.703 MB / 0.8419 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