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: "" <> 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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 152 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.001136/0.001136, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.418/2.418, allocations: 437.1 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.88 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5491, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007023/0.5561, allocations: 5.438 MB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.5613, allocations: 3.181 MB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.5624, allocations: 51.75 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.5637, allocations: 452.7 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.5656, allocations: 361.4 kB / 1.027 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.5683, allocations: 1.135 MB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005734/0.5741, allocations: 5.186 MB / 1.033 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005328/0.5794, allocations: 4.521 MB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.5821, allocations: 1.901 MB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.5844, allocations: 1.871 MB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.5857, allocations: 0.5859 MB / 1.042 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5871, allocations: 0.6562 MB / 1.042 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.5887, allocations: 1.27 MB / 1.043 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003111/0.5918, allocations: 2.135 MB / 1.046 GB, free: 5.551 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008178/0.6, allocations: 7.518 MB / 1.053 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.6, allocations: 0 / 1.053 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6, allocations: 7.938 kB / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001922/0.6002, 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.009839/0.6101, allocations: 4.398 MB / 1.057 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6101, allocations: 12.03 kB / 1.057 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.6112, allocations: 0.5097 MB / 1.058 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6124, allocations: 420.3 kB / 1.058 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.6161, allocations: 2.158 MB / 1.06 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.6165, allocations: 415.9 kB / 1.061 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000916/0.6174, allocations: 443.8 kB / 1.061 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.6292, allocations: 5.469 MB / 1.066 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.6293, allocations: 11.88 kB / 1.066 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007396/0.6301, allocations: 168 kB / 1.067 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.342e-05/0.6302, allocations: 92 kB / 1.067 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007637/0.6378, allocations: 4.225 MB / 1.071 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/0.6612, allocations: 18.71 MB / 1.089 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/0.6669, allocations: 4.198 MB / 1.093 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/0.6696, allocations: 1.961 MB / 1.095 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.6698, allocations: 50.03 kB / 1.095 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003929/0.6738, allocations: 2.91 MB / 1.098 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=355): time 8.606e-06/0.6738, allocations: 0 / 1.098 GB, free: 14.44 MB / 0.8575 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