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.001665/0.001665, 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.001606/0.001606, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.557/2.557, allocations: 437 MB / 0.7103 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 59.91 kB / 0.8692 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5872, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007317/0.5946, allocations: 5.45 MB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005244/0.5998, allocations: 3.177 MB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.6009, allocations: 47.75 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.6021, allocations: 452.7 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.6033, allocations: 361.4 kB / 1.027 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.6056, allocations: 1.139 MB / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004633/0.6102, allocations: 5.19 MB / 1.033 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005078/0.6153, allocations: 4.519 MB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.6175, allocations: 1.893 MB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.6194, allocations: 1.879 MB / 1.041 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008388/0.6203, allocations: 0.5898 MB / 1.041 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008501/0.6211, allocations: 0.6523 MB / 1.042 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.6221, allocations: 1.27 MB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.6246, allocations: 2.132 MB / 1.045 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.6314, allocations: 7.527 MB / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6314, allocations: 0 / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6314, allocations: 0 / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001413/0.6316, allocations: 4 kB / 1.053 GB, free: 14 MB / 0.8106 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.007671/0.6393, allocations: 4.402 MB / 1.057 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6393, allocations: 8.031 kB / 1.057 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007117/0.64, allocations: 416.3 kB / 1.057 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.6431, allocations: 2.154 MB / 1.06 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.6435, allocations: 420.1 kB / 1.06 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005856/0.6441, allocations: 439.9 kB / 1.06 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008235/0.6523, allocations: 5.465 MB / 1.066 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.6524, allocations: 15.78 kB / 1.066 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/0.6527, allocations: 171.9 kB / 1.066 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.6528, allocations: 88.05 kB / 1.066 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006683/0.6595, allocations: 4.221 MB / 1.07 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.6811, allocations: 18.72 MB / 1.088 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.6865, allocations: 4.196 MB / 1.092 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.6892, allocations: 1.965 MB / 1.094 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.6893, allocations: 49.95 kB / 1.094 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003654/0.693, allocations: 2.898 MB / 1.097 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=355): time 7.384e-06/0.693, allocations: 0 / 1.097 GB, free: 14.97 MB / 0.8575 GB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed