Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loaHea.1..bui.QReqHea_flow|loaHea.1..bui.QHea_flow|loaHea.2..bui.QReqHea_flow|loaHea.2..bui.QHea_flow|loaCoo.1..bui.QReqCoo_flow|loaCoo.1..bui.QCoo_flow|loaCoo.2..bui.QReqCoo_flow|loaCoo.2..bui.QCoo_flow|pla.PHea|pla.PCoo|pla.PFan|pla.PPum|pla.THeaWatSup.T|pla.THeaWatPriRet.T|pla.TChiWatSup.T|pla.TChiWatPriRet.T",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage") translateModel(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loaHea.1..bui.QReqHea_flow|loaHea.1..bui.QHea_flow|loaHea.2..bui.QReqHea_flow|loaHea.2..bui.QHea_flow|loaCoo.1..bui.QReqCoo_flow|loaCoo.1..bui.QCoo_flow|loaCoo.2..bui.QReqCoo_flow|loaCoo.2..bui.QCoo_flow|pla.PHea|pla.PCoo|pla.PFan|pla.PPum|pla.THeaWatSup.T|pla.THeaWatPriRet.T|pla.TChiWatSup.T|pla.TChiWatPriRet.T",fileNamePrefix="Buildings_latest_Buildings.Experimental.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.001554/0.001553, allocations: 105 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001653, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.08 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2929, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 10.29/10.58, allocations: 3.525 GB / 4.552 GB, free: 169.6 MB / 2.373 GB Notification: Performance of NFInst.instExpressions: time 0.9018/11.48, allocations: 0.6704 GB / 5.223 GB, free: 15.41 MB / 2.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1887/11.67, allocations: 3.404 MB / 5.226 GB, free: 11.98 MB / 2.545 GB Notification: Performance of NFTyping.typeComponents: time 0.3254/12, allocations: 109.7 MB / 5.333 GB, free: 0.5508 MB / 2.639 GB Notification: Performance of NFTyping.typeBindings: time 0.2508/12.25, allocations: 80.66 MB / 5.412 GB, free: 15.59 MB / 2.732 GB Notification: Performance of NFTyping.typeClassSections: time 2.404/14.65, allocations: 67.44 MB / 5.478 GB, free: 110 MB / 2.764 GB Notification: Performance of NFFlatten.flatten: time 0.4901/15.14, allocations: 371.7 MB / 5.841 GB, free: 101.4 MB / 2.764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3402/15.48, allocations: 164.4 MB / 6.001 GB, free: 4.965 MB / 2.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2808/15.76, allocations: 111.2 MB / 6.11 GB, free: 7.477 MB / 2.842 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1671/15.93, allocations: 82.06 MB / 6.19 GB, free: 13.45 MB / 2.92 GB Notification: Performance of NFPackage.collectConstants: time 0.05903/15.99, allocations: 17.96 MB / 6.208 GB, free: 11.48 MB / 2.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1449/16.13, allocations: 45.02 MB / 6.252 GB, free: 2.887 MB / 2.967 GB Notification: Performance of NFScalarize.scalarize: time 0.07707/16.21, allocations: 39.14 MB / 6.29 GB, free: 12.91 MB / 3.014 GB Notification: Performance of NFVerifyModel.verify: time 0.1971/16.41, allocations: 76.92 MB / 6.365 GB, free: 5.465 MB / 3.076 GB Notification: Performance of NFConvertDAE.convert: time 0.396/16.8, allocations: 278.2 MB / 6.637 GB, free: 5.117 MB / 3.342 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/16.8, allocations: 0 / 6.637 GB, free: 5.117 MB / 3.342 GB Notification: Performance of FrontEnd: time 2.154e-06/16.8, allocations: 0 / 6.637 GB, free: 5.117 MB / 3.342 GB Notification: Performance of Transformations before backend: time 0.008167/16.81, allocations: 4 kB / 6.637 GB, free: 5.113 MB / 3.342 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 1.991/18.8, allocations: 154.2 MB / 6.787 GB, free: 2.144 GB / 3.358 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/18.8, allocations: 11.91 kB / 6.787 GB, free: 2.144 GB / 3.358 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1556/18.96, allocations: 25.98 MB / 6.812 GB, free: 2.132 GB / 3.358 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3704/19.33, allocations: 157.9 MB / 6.967 GB, free: 2.025 GB / 3.358 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009602/19.34, allocations: 6.386 MB / 6.973 GB, free: 2.022 GB / 3.358 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03231/19.37, allocations: 7.647 MB / 6.98 GB, free: 2.014 GB / 3.358 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.326/19.7, allocations: 115 MB / 7.093 GB, free: 1.9 GB / 3.358 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004513/19.7, allocations: 162.5 kB / 7.093 GB, free: 1.899 GB / 3.358 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03505/19.74, allocations: 3.045 MB / 7.096 GB, free: 1.896 GB / 3.358 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/19.74, allocations: 2.706 MB / 7.098 GB, free: 1.894 GB / 3.358 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2577/20, allocations: 102.5 MB / 7.199 GB, free: 1.794 GB / 3.358 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.9018/20.9, allocations: 499.4 MB / 7.686 GB, free: 1.29 GB / 3.358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1545/21.05, allocations: 81 MB / 7.765 GB, free: 1.212 GB / 3.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0779/21.13, allocations: 37.65 MB / 7.802 GB, free: 1.176 GB / 3.358 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.3608/21.49, allocations: 153.8 MB / 7.952 GB, free: 1.023 GB / 3.358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09957/21.59, allocations: 41.53 MB / 7.993 GB, free: 0.9819 GB / 3.358 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05329/21.65, allocations: 4.608 MB / 7.997 GB, free: 0.9774 GB / 3.358 GB Notification: Performance of pre-optimization done (n=4267): time 0.000207/21.65, allocations: 0 / 7.997 GB, free: 0.9774 GB / 3.358 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed