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.001111/0.001111, allocations: 102.6 kB / 16.35 MB, free: 5.879 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.001079/0.001079, allocations: 192.4 kB / 17.29 MB, free: 5.52 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.05 kB / 0.8773 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.246, allocations: 153 MB / 1.027 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 7.106/7.352, allocations: 3.525 GB / 4.552 GB, free: 7.211 MB / 2.295 GB Notification: Performance of NFInst.instExpressions: time 2.587/9.938, allocations: 0.6704 GB / 5.223 GB, free: 97.73 MB / 2.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1383/10.08, allocations: 3.403 MB / 5.226 GB, free: 97.73 MB / 2.545 GB Notification: Performance of NFTyping.typeComponents: time 0.301/10.38, allocations: 109.7 MB / 5.333 GB, free: 57.71 MB / 2.545 GB Notification: Performance of NFTyping.typeBindings: time 0.2159/10.59, allocations: 80.67 MB / 5.412 GB, free: 13.68 MB / 2.561 GB Notification: Performance of NFTyping.typeClassSections: time 0.1637/10.76, allocations: 67.44 MB / 5.478 GB, free: 15.86 MB / 2.623 GB Notification: Performance of NFFlatten.flatten: time 0.4678/11.23, allocations: 371.7 MB / 5.841 GB, free: 6.004 MB / 2.967 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433/15.66, allocations: 164.4 MB / 6.001 GB, free: 185.3 MB / 3.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2345/15.89, allocations: 110.6 MB / 6.109 GB, free: 176.8 MB / 3.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1508/16.04, allocations: 82.07 MB / 6.189 GB, free: 162.7 MB / 3.061 GB Notification: Performance of NFPackage.collectConstants: time 0.06036/16.1, allocations: 17.97 MB / 6.207 GB, free: 162.7 MB / 3.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1347/16.24, allocations: 45.02 MB / 6.251 GB, free: 162.7 MB / 3.061 GB Notification: Performance of NFScalarize.scalarize: time 0.07137/16.31, allocations: 39.13 MB / 6.289 GB, free: 158.2 MB / 3.061 GB Notification: Performance of NFVerifyModel.verify: time 0.1443/16.45, allocations: 76.11 MB / 6.363 GB, free: 140.4 MB / 3.061 GB Notification: Performance of NFConvertDAE.convert: time 0.3005/16.76, allocations: 278.2 MB / 6.635 GB, free: 29.29 MB / 3.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/16.76, allocations: 0 / 6.635 GB, free: 29.29 MB / 3.061 GB Notification: Performance of FrontEnd: time 1.553e-06/16.76, allocations: 0 / 6.635 GB, free: 29.29 MB / 3.061 GB Notification: Performance of Transformations before backend: time 0.006594/16.76, allocations: 0 / 6.635 GB, free: 29.29 MB / 3.061 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.4223/17.18, allocations: 154.1 MB / 6.786 GB, free: 10.66 MB / 3.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/17.18, allocations: 12.03 kB / 6.786 GB, free: 10.65 MB / 3.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1469/17.33, allocations: 25.98 MB / 6.811 GB, free: 0.6758 MB / 3.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.368/17.7, allocations: 157.9 MB / 6.965 GB, free: 6.781 MB / 3.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007646/17.71, allocations: 6.387 MB / 6.971 GB, free: 332 kB / 3.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03432/17.74, allocations: 7.635 MB / 6.979 GB, free: 8.711 MB / 3.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3338/18.08, allocations: 115 MB / 7.091 GB, free: 3.398 MB / 3.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003329/18.08, allocations: 164.5 kB / 7.091 GB, free: 3.312 MB / 3.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02863/18.11, allocations: 3.045 MB / 7.094 GB, free: 296 kB / 3.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002708/18.11, allocations: 2.704 MB / 7.097 GB, free: 13.6 MB / 3.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2703/18.38, allocations: 102.5 MB / 7.197 GB, free: 7.668 MB / 3.561 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.856/21.24, allocations: 499.4 MB / 7.685 GB, free: 451.9 MB / 3.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1599/21.4, allocations: 81 MB / 7.764 GB, free: 440.7 MB / 3.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08032/21.48, allocations: 37.66 MB / 7.801 GB, free: 429.8 MB / 3.561 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.3326/21.81, allocations: 153.8 MB / 7.951 GB, free: 315.4 MB / 3.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09521/21.9, allocations: 41.54 MB / 7.991 GB, free: 291.4 MB / 3.561 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04409/21.95, allocations: 4.609 MB / 7.996 GB, free: 289 MB / 3.561 GB Notification: Performance of pre-optimization done (n=4267): time 0.0001544/21.95, allocations: 0.75 kB / 7.996 GB, free: 289 MB / 3.561 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