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: 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.00152/0.00152, allocations: 115 kB / 16.37 MB, free: 6.016 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.001681/0.001681, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.31 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2677, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006825/0.2746, allocations: 5.469 MB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004797/0.2794, allocations: 3.177 MB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.2801, allocations: 47.81 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008686/0.281, allocations: 444.7 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008255/0.2819, allocations: 371.4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.2837, allocations: 1.134 MB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004482/0.2882, allocations: 5.209 MB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004932/0.2932, allocations: 4.534 MB / 1.039 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.2952, allocations: 1.901 MB / 1.041 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.2972, allocations: 1.864 MB / 1.042 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007034/0.2979, allocations: 0.5859 MB / 1.043 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.2987, allocations: 0.6639 MB / 1.044 GB, free: 276 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009909/0.2997, allocations: 1.271 MB / 1.045 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.3018, allocations: 2.139 MB / 1.047 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006045/0.3078, allocations: 7.707 MB / 1.054 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3078, allocations: 0 / 1.054 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3079, allocations: 3.938 kB / 1.054 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001182/0.308, allocations: 0 / 1.054 GB, free: 5.113 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.00739/0.3154, allocations: 4.406 MB / 1.059 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3154, allocations: 15.97 kB / 1.059 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006816/0.3161, allocations: 420.3 kB / 1.059 GB, free: 108 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.3201, allocations: 2.204 MB / 1.061 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.3205, allocations: 412.2 kB / 1.062 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006104/0.3211, allocations: 435.9 kB / 1.062 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008302/0.3294, allocations: 5.469 MB / 1.067 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.118e-05/0.3295, allocations: 15.88 kB / 1.068 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.3299, allocations: 168 kB / 1.068 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.3299, allocations: 92 kB / 1.068 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006869/0.3368, allocations: 4.217 MB / 1.072 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4479/0.7847, allocations: 18.54 MB / 1.09 GB, free: 45.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007111/0.7919, allocations: 4.19 MB / 1.094 GB, free: 43.37 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/0.7952, allocations: 1.965 MB / 1.096 GB, free: 42.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.7954, allocations: 53.41 kB / 1.096 GB, free: 42.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004633/0.8, allocations: 2.892 MB / 1.099 GB, free: 41.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 7.233e-06/0.8001, allocations: 0.7188 kB / 1.099 GB, free: 41.12 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed