Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.00213/0.00213, 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.002413/0.002413, allocations: 193.4 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.718/2.718, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003039/0.003039, allocations: 60.08 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7074, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.53/9.238, allocations: 3.525 GB / 4.542 GB, free: 11.85 MB / 2.279 GB Notification: Performance of NFInst.instExpressions: time 2.945/12.18, allocations: 0.6684 GB / 5.21 GB, free: 95.94 MB / 2.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1787/12.36, allocations: 3.405 MB / 5.214 GB, free: 95.94 MB / 2.545 GB Notification: Performance of NFTyping.typeComponents: time 0.3576/12.72, allocations: 109.4 MB / 5.321 GB, free: 63.13 MB / 2.545 GB Notification: Performance of NFTyping.typeBindings: time 0.2145/12.93, allocations: 80.05 MB / 5.399 GB, free: 11.56 MB / 2.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.1662/13.1, allocations: 66.9 MB / 5.464 GB, free: 13.84 MB / 2.607 GB Notification: Performance of NFFlatten.flatten: time 0.5591/13.66, allocations: 369.8 MB / 5.825 GB, free: 5.965 MB / 2.951 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703/18.36, allocations: 164.1 MB / 5.985 GB, free: 184.2 MB / 3.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2902/18.65, allocations: 109.9 MB / 6.093 GB, free: 177.1 MB / 3.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1704/18.82, allocations: 81.57 MB / 6.172 GB, free: 163.1 MB / 3.076 GB Notification: Performance of NFPackage.collectConstants: time 0.06757/18.89, allocations: 17.9 MB / 6.19 GB, free: 163.1 MB / 3.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1449/19.04, allocations: 44.59 MB / 6.233 GB, free: 163.1 MB / 3.076 GB Notification: Performance of NFScalarize.scalarize: time 0.08158/19.12, allocations: 38.96 MB / 6.271 GB, free: 158.7 MB / 3.076 GB Notification: Performance of NFVerifyModel.verify: time 0.1575/19.27, allocations: 75.81 MB / 6.345 GB, free: 140.9 MB / 3.076 GB Notification: Performance of NFConvertDAE.convert: time 0.3266/19.6, allocations: 274.1 MB / 6.613 GB, free: 43.83 MB / 3.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/19.6, allocations: 0 / 6.613 GB, free: 43.83 MB / 3.076 GB Notification: Performance of FrontEnd: time 2.865e-06/19.6, allocations: 0 / 6.613 GB, free: 43.83 MB / 3.076 GB Notification: Performance of Transformations before backend: time 0.007097/19.61, allocations: 0 / 6.613 GB, free: 43.83 MB / 3.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18453 * Number of variables: 18453 Notification: Performance of Generate backend data structure: time 0.436/20.04, allocations: 153.8 MB / 6.763 GB, free: 14.55 MB / 3.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/20.04, allocations: 12.03 kB / 6.763 GB, free: 14.54 MB / 3.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1634/20.21, allocations: 26.33 MB / 6.789 GB, free: 4.309 MB / 3.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4358/20.64, allocations: 151.7 MB / 6.937 GB, free: 0.5352 MB / 3.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0154/20.66, allocations: 7.26 MB / 6.944 GB, free: 9.203 MB / 3.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04507/20.7, allocations: 7.623 MB / 6.952 GB, free: 1.602 MB / 3.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3994/21.1, allocations: 115.3 MB / 7.064 GB, free: 12.03 MB / 3.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003894/21.11, allocations: 167.1 kB / 7.064 GB, free: 11.95 MB / 3.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03567/21.14, allocations: 3.034 MB / 7.067 GB, free: 8.934 MB / 3.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003357/21.15, allocations: 2.704 MB / 7.07 GB, free: 6.238 MB / 3.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3224/21.47, allocations: 103.1 MB / 7.171 GB, free: 15.78 MB / 3.545 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 1.983/23.45, allocations: 0.494 GB / 7.665 GB, free: 1.999 GB / 3.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1702/23.62, allocations: 81.56 MB / 7.744 GB, free: 1.956 GB / 3.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08761/23.71, allocations: 37.89 MB / 7.781 GB, free: 1.937 GB / 3.576 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.3807/24.09, allocations: 155 MB / 7.933 GB, free: 1.809 GB / 3.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09731/24.19, allocations: 41.84 MB / 7.974 GB, free: 1.768 GB / 3.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04609/24.23, allocations: 4.603 MB / 7.978 GB, free: 1.765 GB / 3.576 GB Notification: Performance of pre-optimization done (n=4253): time 0.0001763/24.23, allocations: 0 / 7.978 GB, free: 1.765 GB / 3.576 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[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/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[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/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