Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="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.DHC.Plants.Combined.Examples.AllElectricCWStorage") translateModel(Buildings.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.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.001475/0.001474, allocations: 104.5 kB / 16.27 MB, free: 6.359 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.001491/0.001491, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.622/2.622, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 61.11 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.7024, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.391/9.094, allocations: 3.528 GB / 4.61 GB, free: 176.1 MB / 2.436 GB Notification: Performance of NFInst.instExpressions: time 0.8129/9.907, allocations: 0.6693 GB / 5.28 GB, free: 10.7 MB / 2.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1305/10.04, allocations: 3.415 MB / 5.283 GB, free: 7.262 MB / 2.576 GB Notification: Performance of NFTyping.typeComponents: time 0.3784/10.42, allocations: 116.5 MB / 5.397 GB, free: 5.105 MB / 2.686 GB Notification: Performance of NFTyping.typeBindings: time 0.2232/10.64, allocations: 79.98 MB / 5.475 GB, free: 4.844 MB / 2.764 GB Notification: Performance of NFTyping.typeClassSections: time 0.1493/10.79, allocations: 66.69 MB / 5.54 GB, free: 2.117 MB / 2.826 GB Notification: Performance of NFFlatten.flatten: time 2.321/13.11, allocations: 361.2 MB / 5.893 GB, free: 125.6 MB / 2.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3361/13.45, allocations: 163.9 MB / 6.053 GB, free: 45.46 MB / 2.842 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2747/13.72, allocations: 114.3 MB / 6.165 GB, free: 9.965 MB / 2.857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1898/13.91, allocations: 80.97 MB / 6.244 GB, free: 6.93 MB / 2.92 GB Notification: Performance of NFPackage.collectConstants: time 0.05799/13.97, allocations: 17.85 MB / 6.261 GB, free: 5.082 MB / 2.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.144/14.11, allocations: 44.76 MB / 6.305 GB, free: 12.65 MB / 2.982 GB Notification: Performance of NFScalarize.scalarize: time 0.07328/14.19, allocations: 38.73 MB / 6.343 GB, free: 7.043 MB / 3.014 GB Notification: Performance of NFVerifyModel.verify: time 0.1764/14.36, allocations: 76.57 MB / 6.417 GB, free: 0 / 3.076 GB Notification: Performance of NFConvertDAE.convert: time 0.3805/14.74, allocations: 261 MB / 6.672 GB, free: 360 kB / 3.326 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/14.74, allocations: 0 / 6.672 GB, free: 360 kB / 3.326 GB Notification: Performance of FrontEnd: time 3.056e-06/14.74, allocations: 0 / 6.672 GB, free: 360 kB / 3.326 GB Notification: Performance of Transformations before backend: time 0.00751/14.75, allocations: 0 / 6.672 GB, free: 360 kB / 3.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18394 * Number of variables: 18394 Notification: Performance of Generate backend data structure: time 1.711/16.46, allocations: 153.2 MB / 6.822 GB, free: 2.207 GB / 3.436 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/16.46, allocations: 9.344 kB / 6.822 GB, free: 2.207 GB / 3.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1457/16.61, allocations: 26.3 MB / 6.848 GB, free: 2.2 GB / 3.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3184/16.93, allocations: 153.1 MB / 6.997 GB, free: 2.105 GB / 3.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01102/16.94, allocations: 7.242 MB / 7.004 GB, free: 2.101 GB / 3.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03277/16.97, allocations: 7.584 MB / 7.012 GB, free: 2.099 GB / 3.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2999/17.27, allocations: 115.2 MB / 7.124 GB, free: 2.015 GB / 3.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003316/17.27, allocations: 166.5 kB / 7.124 GB, free: 2.015 GB / 3.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0274/17.3, allocations: 3.031 MB / 7.127 GB, free: 2.012 GB / 3.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001968/17.3, allocations: 2.619 MB / 7.13 GB, free: 2.009 GB / 3.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2278/17.53, allocations: 102.7 MB / 7.23 GB, free: 1.909 GB / 3.436 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.7164/18.25, allocations: 0.4972 GB / 7.727 GB, free: 1.395 GB / 3.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1366/18.38, allocations: 82.24 MB / 7.808 GB, free: 1.316 GB / 3.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06999/18.45, allocations: 37.91 MB / 7.845 GB, free: 1.279 GB / 3.436 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.2797/18.73, allocations: 153 MB / 7.994 GB, free: 1.127 GB / 3.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08195/18.82, allocations: 41.7 MB / 8.035 GB, free: 1.086 GB / 3.436 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03977/18.86, allocations: 4.58 MB / 8.039 GB, free: 1.082 GB / 3.436 GB Notification: Performance of pre-optimization done (n=4206): time 0.0001419/18.86, allocations: 0 / 8.039 GB, free: 1.082 GB / 3.436 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[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/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[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/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