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: translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staChi.loaChiWat.y|staChi.loaHeaWat.y|QChiWatChi_flow_nominal|QChiWatCasCoo_flow_nominal|QHeaWat_flow_nominal|staChi.y1Chi.1.|staChi.y1Chi.2.|staChi.y1ChiHea.1.|staChi.y1ChiHea.2.|staChi.y1ChiHea.3.|staChi.y1CooChiHea.1.|staChi.y1CooChiHea.2.|staChi.y1CooChiHea.3.|staChi.y1HeaCooChiHea.1.|staChi.y1HeaCooChiHea.2.|staChi.y1HeaCooChiHea.3.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staChi.loaChiWat.y|staChi.loaHeaWat.y|QChiWatChi_flow_nominal|QChiWatCasCoo_flow_nominal|QHeaWat_flow_nominal|staChi.y1Chi.1.|staChi.y1Chi.2.|staChi.y1ChiHea.1.|staChi.y1ChiHea.2.|staChi.y1ChiHea.3.|staChi.y1CooChiHea.1.|staChi.y1CooChiHea.2.|staChi.y1CooChiHea.3.|staChi.y1HeaCooChiHea.1.|staChi.y1HeaCooChiHea.2.|staChi.y1HeaCooChiHea.3.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001504/0.001504, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001538, allocations: 64.62 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3197, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007846/0.3275, allocations: 5.452 MB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005831/0.3334, allocations: 3.165 MB / 1.073 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.3348, allocations: 47.81 kB / 1.073 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.3362, allocations: 452.6 kB / 1.073 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.338, allocations: 359.4 kB / 1.073 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.3406, allocations: 1.139 MB / 1.075 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5254/0.8661, allocations: 5.179 MB / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007143/0.8733, allocations: 4.523 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.8771, allocations: 1.899 MB / 1.086 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003804/0.881, allocations: 1.868 MB / 1.088 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.883, allocations: 0.5892 MB / 1.088 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.8848, allocations: 0.6577 MB / 1.089 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.8865, allocations: 1.273 MB / 1.09 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.8902, allocations: 2.14 MB / 1.092 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.9002, allocations: 7.238 MB / 1.099 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.9003, allocations: 0 / 1.099 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9003, allocations: 1.781 kB / 1.099 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003288/0.9006, allocations: 4 kB / 1.099 GB, free: 5.602 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.01452/0.9152, allocations: 4.394 MB / 1.104 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.9152, allocations: 13.39 kB / 1.104 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.9173, allocations: 416.5 kB / 1.104 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.9225, allocations: 2.166 MB / 1.106 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006115/0.9231, allocations: 410.2 kB / 1.107 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/0.9249, allocations: 440 kB / 1.107 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.9412, allocations: 5.496 MB / 1.112 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.9413, allocations: 16.66 kB / 1.112 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009224/0.9423, allocations: 174.4 kB / 1.113 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/0.9424, allocations: 91.41 kB / 1.113 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.9536, allocations: 4.215 MB / 1.117 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.9856, allocations: 18.72 MB / 1.135 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/0.992, allocations: 4.193 MB / 1.139 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/0.9953, allocations: 1.966 MB / 1.141 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.9955, allocations: 51.08 kB / 1.141 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004926/1, allocations: 2.894 MB / 1.144 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=355): time 1.301e-05/1.001, allocations: 3.984 kB / 1.144 GB, free: 10.58 MB / 0.8731 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