Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage.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.Validation.AllElectricCWStorage,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Validation_AllElectricCWStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Validation_AllElectricCWStorage",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.001252/0.001252, allocations: 108 kB / 15.61 MB, free: 148 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.001275/0.001275, allocations: 194 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.395/2.395, allocations: 437.1 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.8694 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4951, allocations: 151.6 MB / 1.017 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.162/3.657, allocations: 1.674 GB / 2.692 GB, free: 34.26 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.388/4.045, allocations: 310.4 MB / 2.995 GB, free: 12.41 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06069/4.106, allocations: 1.799 MB / 2.997 GB, free: 10.61 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 1.052/5.158, allocations: 50.05 MB / 3.046 GB, free: 20.04 MB / 1.795 GB Notification: Performance of NFTyping.typeBindings: time 0.1348/5.293, allocations: 53.39 MB / 3.098 GB, free: 19.38 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.08541/5.378, allocations: 47.58 MB / 3.144 GB, free: 18.31 MB / 1.795 GB Notification: Performance of NFFlatten.flatten: time 0.2323/5.611, allocations: 221.7 MB / 3.361 GB, free: 6.551 MB / 1.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1528/5.764, allocations: 98.7 MB / 3.457 GB, free: 4.719 MB / 1.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1273/5.891, allocations: 67.52 MB / 3.523 GB, free: 4.273 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07844/5.969, allocations: 52.37 MB / 3.574 GB, free: 2.977 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.03242/6.002, allocations: 12.23 MB / 3.586 GB, free: 6.738 MB / 2.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07573/6.078, allocations: 29.16 MB / 3.615 GB, free: 10.77 MB / 2.092 GB Notification: Performance of NFScalarize.scalarize: time 0.03483/6.112, allocations: 25.78 MB / 3.64 GB, free: 1.355 MB / 2.107 GB Notification: Performance of NFVerifyModel.verify: time 0.08358/6.196, allocations: 49.44 MB / 3.688 GB, free: 76 kB / 2.154 GB Notification: Performance of NFConvertDAE.convert: time 2.175/8.371, allocations: 178.7 MB / 3.862 GB, free: 334.5 MB / 2.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/8.371, allocations: 1.781 kB / 3.862 GB, free: 334.5 MB / 2.295 GB Notification: Performance of FrontEnd: time 1.593e-06/8.371, allocations: 0 / 3.862 GB, free: 334.5 MB / 2.295 GB Notification: Performance of Transformations before backend: time 0.004383/8.375, allocations: 0 / 3.862 GB, free: 334.5 MB / 2.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12903 * Number of variables: 12903 Notification: Performance of Generate backend data structure: time 0.2439/8.619, allocations: 94.37 MB / 3.955 GB, free: 296.8 MB / 2.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/8.619, allocations: 9.875 kB / 3.955 GB, free: 296.8 MB / 2.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02789/8.647, allocations: 6.631 MB / 3.961 GB, free: 296.4 MB / 2.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06551/8.713, allocations: 12.01 MB / 3.973 GB, free: 292.2 MB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1823/8.895, allocations: 103.5 MB / 4.074 GB, free: 281.1 MB / 2.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005386/8.9, allocations: 4.725 MB / 4.078 GB, free: 280.4 MB / 2.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02187/8.922, allocations: 5.364 MB / 4.084 GB, free: 280.3 MB / 2.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1795/9.102, allocations: 74.19 MB / 4.156 GB, free: 261.7 MB / 2.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002012/9.104, allocations: 100.3 kB / 4.156 GB, free: 261.7 MB / 2.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01954/9.123, allocations: 2.129 MB / 4.158 GB, free: 261.7 MB / 2.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/9.125, allocations: 1.871 MB / 4.16 GB, free: 261.5 MB / 2.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.141/9.266, allocations: 64.42 MB / 4.223 GB, free: 231.5 MB / 2.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4475/9.713, allocations: 312.3 MB / 4.528 GB, free: 8.211 MB / 2.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08864/9.802, allocations: 53.35 MB / 4.58 GB, free: 3.129 MB / 2.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04676/9.849, allocations: 24.95 MB / 4.605 GB, free: 10.03 MB / 2.467 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.2014/10.05, allocations: 102.9 MB / 4.705 GB, free: 1.457 MB / 2.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.673/10.72, allocations: 27.7 MB / 4.732 GB, free: 1.422 GB / 2.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02482/10.75, allocations: 3.342 MB / 4.735 GB, free: 1.422 GB / 2.576 GB Notification: Performance of pre-optimization done (n=3272): time 0.0001497/10.75, allocations: 0.9375 kB / 4.735 GB, free: 1.422 GB / 2.576 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.) pla.ctl.staPla.hol.u[2] pla.ctl.staPla.hol.u[3] 0.0 = pla.ctl.staPla.nChiHeaAndCooUnb.y + pla.ctl.staPla.hol.u[3] + pla.ctl.staPla.hol.u[2] + pla.ctl.staPla.numOpeCooChiHea.y + pla.ctl.staPla.staHea.idxSta + (-pla.ctl.staPla.numOpeCooChiHea.y) - pla.ctl.staPla.hol.u[3] - pla.ctl.staPla.nChiHeaAndCooUnb.y - pla.ctl.staPla.hol.u[4] pla.ctl.staPla.hol.u[2] = pla.ctl.staPla.numOpeCooChiHea.y - pla.ctl.staPla.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: pla.ctl.staPla.hol.u[2] pla.ctl.staPla.hol.u[3] equations: 0.0 = pla.ctl.staPla.nChiHeaAndCooUnb.y + pla.ctl.staPla.hol.u[3] + pla.ctl.staPla.hol.u[2] + pla.ctl.staPla.numOpeCooChiHea.y + pla.ctl.staPla.staHea.idxSta + (-pla.ctl.staPla.numOpeCooChiHea.y) - pla.ctl.staPla.hol.u[3] - pla.ctl.staPla.nChiHeaAndCooUnb.y - pla.ctl.staPla.hol.u[4] pla.ctl.staPla.hol.u[2] = pla.ctl.staPla.numOpeCooChiHea.y - pla.ctl.staPla.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