Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Plants.Combined.Examples.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Plants.Combined.Examples.AllElectricCWStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage") translateModel(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001401, 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.001782/0.001782, 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.28 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3209, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.157/8.478, allocations: 3.525 GB / 4.593 GB, free: 13.69 MB / 2.311 GB Notification: Performance of NFInst.instExpressions: time 2.85/11.33, allocations: 0.6697 GB / 5.263 GB, free: 67.51 MB / 2.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1669/11.49, allocations: 3.409 MB / 5.266 GB, free: 67.5 MB / 2.623 GB Notification: Performance of NFTyping.typeComponents: time 0.2972/11.79, allocations: 109.5 MB / 5.373 GB, free: 55.14 MB / 2.623 GB Notification: Performance of NFTyping.typeBindings: time 0.2221/12.01, allocations: 80.66 MB / 5.452 GB, free: 27.32 MB / 2.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.1506/12.16, allocations: 66.94 MB / 5.517 GB, free: 8.129 MB / 2.654 GB Notification: Performance of NFFlatten.flatten: time 0.4834/12.65, allocations: 370.9 MB / 5.879 GB, free: 15.2 MB / 3.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2895/12.94, allocations: 164.4 MB / 6.04 GB, free: 12.06 MB / 3.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63/17.57, allocations: 110.1 MB / 6.147 GB, free: 274.9 MB / 3.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.177/17.75, allocations: 81.92 MB / 6.227 GB, free: 266.6 MB / 3.201 GB Notification: Performance of NFPackage.collectConstants: time 0.07859/17.82, allocations: 17.96 MB / 6.245 GB, free: 266.6 MB / 3.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2092/18.03, allocations: 44.93 MB / 6.289 GB, free: 266.6 MB / 3.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0969/18.13, allocations: 39.11 MB / 6.327 GB, free: 262.2 MB / 3.201 GB Notification: Performance of NFVerifyModel.verify: time 0.1611/18.29, allocations: 76.11 MB / 6.401 GB, free: 244.4 MB / 3.201 GB Notification: Performance of NFConvertDAE.convert: time 0.2959/18.59, allocations: 262.3 MB / 6.657 GB, free: 185.8 MB / 3.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/18.59, allocations: 0 / 6.657 GB, free: 185.8 MB / 3.201 GB Notification: Performance of FrontEnd: time 1.743e-06/18.59, allocations: 0 / 6.657 GB, free: 185.8 MB / 3.201 GB Notification: Performance of Transformations before backend: time 0.008551/18.6, allocations: 0 / 6.657 GB, free: 185.8 MB / 3.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18475 * Number of variables: 18475 Notification: Performance of Generate backend data structure: time 0.4266/19.02, allocations: 154 MB / 6.808 GB, free: 98.62 MB / 3.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/19.02, allocations: 9.781 kB / 6.808 GB, free: 98.62 MB / 3.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1462/19.17, allocations: 25.99 MB / 6.833 GB, free: 80.07 MB / 3.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.385/19.55, allocations: 154 MB / 6.984 GB, free: 10.14 MB / 3.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01356/19.57, allocations: 7.277 MB / 6.991 GB, free: 2.793 MB / 3.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04067/19.61, allocations: 7.627 MB / 6.998 GB, free: 11.19 MB / 3.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3564/19.96, allocations: 115 MB / 7.111 GB, free: 5.879 MB / 3.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004076/19.97, allocations: 172.5 kB / 7.111 GB, free: 5.789 MB / 3.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03393/20, allocations: 3.036 MB / 7.114 GB, free: 2.773 MB / 3.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002681/20.01, allocations: 2.706 MB / 7.116 GB, free: 80 kB / 3.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2813/20.29, allocations: 102.6 MB / 7.217 GB, free: 10.07 MB / 3.514 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 2.394/22.68, allocations: 0.4916 GB / 7.708 GB, free: 2.078 GB / 3.655 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1733/22.85, allocations: 81.18 MB / 7.787 GB, free: 2.044 GB / 3.655 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08396/22.94, allocations: 37.64 MB / 7.824 GB, free: 2.03 GB / 3.655 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.3366/23.27, allocations: 153.5 MB / 7.974 GB, free: 1.927 GB / 3.655 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09549/23.37, allocations: 41.37 MB / 8.014 GB, free: 1.904 GB / 3.655 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04698/23.42, allocations: 4.61 MB / 8.019 GB, free: 1.903 GB / 3.655 GB Notification: Performance of pre-optimization done (n=4260): time 0.0001848/23.42, allocations: 0 / 8.019 GB, free: 1.903 GB / 3.655 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.) pla.ctl.staPla.hol.u[3] pla.ctl.staPla.hol.u[2] 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/jenkins/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[3] pla.ctl.staPla.hol.u[2] 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/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