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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Experimental.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_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.00154/0.00154, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001547/0.001547, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.389/1.389, 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 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 73.19 kB / 0.8699 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3126, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008131/0.3208, allocations: 5.456 MB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006028/0.3269, allocations: 3.193 MB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3281, allocations: 43.81 kB / 1.027 GB, free: 1.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3293, allocations: 452.6 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.3306, allocations: 354.1 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.3332, allocations: 1.159 MB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006172/0.3394, allocations: 5.175 MB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006555/0.346, allocations: 4.527 MB / 1.038 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.349, allocations: 1.901 MB / 1.04 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.3519, allocations: 1.86 MB / 1.042 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.3531, allocations: 0.5898 MB / 1.042 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.3543, allocations: 0.6562 MB / 1.043 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.3556, allocations: 1.274 MB / 1.044 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.3584, allocations: 2.135 MB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007822/0.3663, allocations: 7.522 MB / 1.053 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3663, allocations: 3.938 kB / 1.053 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3663, allocations: 0 / 1.053 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001824/0.3665, allocations: 0 / 1.053 GB, free: 6.098 MB / 0.8262 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.01043/0.377, allocations: 4.398 MB / 1.058 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.377, allocations: 8.031 kB / 1.058 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.378, allocations: 420.3 kB / 1.058 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.3819, allocations: 2.161 MB / 1.06 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004515/0.3824, allocations: 420.1 kB / 1.061 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008462/0.3832, allocations: 431.9 kB / 1.061 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.3935, allocations: 5.469 MB / 1.066 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.3936, allocations: 11.88 kB / 1.066 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.394, allocations: 179.9 kB / 1.067 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.089e-05/0.3941, allocations: 96 kB / 1.067 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008315/0.4024, allocations: 4.205 MB / 1.071 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5008/0.9032, allocations: 18.72 MB / 1.089 GB, free: 45.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006083/0.9094, allocations: 4.197 MB / 1.093 GB, free: 43.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/0.9123, allocations: 1.953 MB / 1.095 GB, free: 42.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.9125, allocations: 56.14 kB / 1.095 GB, free: 42.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004164/0.9166, allocations: 2.894 MB / 1.098 GB, free: 41.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 8.917e-06/0.9167, allocations: 0 / 1.098 GB, free: 41.05 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed