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.001517/0.001517, 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.00182/0.00182, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.398/2.398, allocations: 437 MB / 0.7104 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.8693 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5804, allocations: 151.6 MB / 1.017 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 3.081/3.661, allocations: 1.674 GB / 2.692 GB, free: 34.16 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3506/4.012, allocations: 310.4 MB / 2.995 GB, free: 12.8 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05414/4.066, allocations: 1.799 MB / 2.997 GB, free: 11 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 1.011/5.077, allocations: 50.05 MB / 3.046 GB, free: 20.39 MB / 1.795 GB Notification: Performance of NFTyping.typeBindings: time 0.1381/5.215, allocations: 53.39 MB / 3.098 GB, free: 19.74 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.08932/5.305, allocations: 47.59 MB / 3.144 GB, free: 18.66 MB / 1.795 GB Notification: Performance of NFFlatten.flatten: time 0.2385/5.543, allocations: 221.7 MB / 3.361 GB, free: 7.164 MB / 1.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1724/5.716, allocations: 98.7 MB / 3.457 GB, free: 5.332 MB / 1.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1308/5.847, allocations: 67.51 MB / 3.523 GB, free: 4.883 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08397/5.931, allocations: 52.38 MB / 3.574 GB, free: 3.586 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.03408/5.965, allocations: 12.23 MB / 3.586 GB, free: 7.348 MB / 2.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07765/6.042, allocations: 29.16 MB / 3.615 GB, free: 11.38 MB / 2.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0377/6.08, allocations: 25.78 MB / 3.64 GB, free: 1.969 MB / 2.107 GB Notification: Performance of NFVerifyModel.verify: time 0.08793/6.168, allocations: 49.44 MB / 3.688 GB, free: 0.6836 MB / 2.154 GB Notification: Performance of NFConvertDAE.convert: time 2.222/8.391, allocations: 178.7 MB / 3.862 GB, free: 333.8 MB / 2.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/8.391, allocations: 0 / 3.862 GB, free: 333.8 MB / 2.295 GB Notification: Performance of FrontEnd: time 1.713e-06/8.391, allocations: 2.5 kB / 3.862 GB, free: 333.8 MB / 2.295 GB Notification: Performance of Transformations before backend: time 0.003957/8.395, allocations: 0 / 3.862 GB, free: 333.8 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.2598/8.654, allocations: 94.37 MB / 3.955 GB, free: 296.1 MB / 2.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/8.654, allocations: 11.38 kB / 3.955 GB, free: 296.1 MB / 2.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02982/8.684, allocations: 6.629 MB / 3.961 GB, free: 295.7 MB / 2.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06732/8.752, allocations: 12.01 MB / 3.973 GB, free: 291.5 MB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1886/8.94, allocations: 103.5 MB / 4.074 GB, free: 280.7 MB / 2.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008368/8.949, allocations: 4.73 MB / 4.078 GB, free: 279.9 MB / 2.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0237/8.972, allocations: 5.36 MB / 4.084 GB, free: 279.9 MB / 2.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.188/9.16, allocations: 74.2 MB / 4.156 GB, free: 261.2 MB / 2.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002335/9.163, allocations: 99.7 kB / 4.156 GB, free: 261.2 MB / 2.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02041/9.183, allocations: 2.121 MB / 4.158 GB, free: 261.2 MB / 2.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/9.185, allocations: 1.873 MB / 4.16 GB, free: 261 MB / 2.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1482/9.333, allocations: 64.42 MB / 4.223 GB, free: 231.8 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.4496/9.783, allocations: 312.3 MB / 4.528 GB, free: 8.559 MB / 2.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09614/9.879, allocations: 53.35 MB / 4.58 GB, free: 3.477 MB / 2.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0489/9.928, allocations: 24.95 MB / 4.605 GB, free: 10.38 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.2148/10.14, allocations: 102.9 MB / 4.705 GB, free: 1.816 MB / 2.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6616/10.8, allocations: 27.7 MB / 4.732 GB, free: 1.422 GB / 2.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02409/10.83, allocations: 3.342 MB / 4.735 GB, free: 1.422 GB / 2.576 GB Notification: Performance of pre-optimization done (n=3272): time 0.0001513/10.83, allocations: 0 / 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