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.0013/0.0013, 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.001448/0.001448, allocations: 192.8 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.357/1.357, 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 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.5674, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.273/8.841, allocations: 3.525 GB / 4.542 GB, free: 12.05 MB / 2.279 GB Notification: Performance of NFInst.instExpressions: time 2.834/11.67, allocations: 0.6684 GB / 5.21 GB, free: 95.51 MB / 2.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2046/11.88, allocations: 3.404 MB / 5.214 GB, free: 95.51 MB / 2.545 GB Notification: Performance of NFTyping.typeComponents: time 0.3289/12.21, allocations: 109.4 MB / 5.32 GB, free: 63.07 MB / 2.545 GB Notification: Performance of NFTyping.typeBindings: time 0.2521/12.46, allocations: 80.06 MB / 5.399 GB, free: 11.55 MB / 2.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.1593/12.62, allocations: 66.88 MB / 5.464 GB, free: 13.84 MB / 2.607 GB Notification: Performance of NFFlatten.flatten: time 0.4564/13.08, allocations: 369.8 MB / 5.825 GB, free: 5.973 MB / 2.951 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76/17.84, allocations: 164.1 MB / 5.985 GB, free: 183.7 MB / 3.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2491/18.08, allocations: 109.8 MB / 6.093 GB, free: 176.7 MB / 3.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1691/18.25, allocations: 81.55 MB / 6.172 GB, free: 162.6 MB / 3.076 GB Notification: Performance of NFPackage.collectConstants: time 0.06941/18.32, allocations: 17.9 MB / 6.19 GB, free: 162.6 MB / 3.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1729/18.5, allocations: 44.57 MB / 6.233 GB, free: 162.6 MB / 3.076 GB Notification: Performance of NFScalarize.scalarize: time 0.09287/18.59, allocations: 38.95 MB / 6.271 GB, free: 158.2 MB / 3.076 GB Notification: Performance of NFVerifyModel.verify: time 0.1634/18.75, allocations: 75.8 MB / 6.345 GB, free: 140.4 MB / 3.076 GB Notification: Performance of NFConvertDAE.convert: time 0.3372/19.09, allocations: 274.1 MB / 6.613 GB, free: 43.27 MB / 3.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/19.09, allocations: 3.188 kB / 6.613 GB, free: 43.27 MB / 3.076 GB Notification: Performance of FrontEnd: time 2.886e-06/19.09, allocations: 0 / 6.613 GB, free: 43.27 MB / 3.076 GB Notification: Performance of Transformations before backend: time 0.007579/19.1, allocations: 1.031 kB / 6.613 GB, free: 43.27 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.4418/19.54, allocations: 153.4 MB / 6.763 GB, free: 14.58 MB / 3.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/19.54, allocations: 12.03 kB / 6.763 GB, free: 14.57 MB / 3.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1695/19.71, allocations: 25.93 MB / 6.788 GB, free: 4.758 MB / 3.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3505/20.06, allocations: 151.6 MB / 6.936 GB, free: 1.078 MB / 3.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0126/20.07, allocations: 7.27 MB / 6.943 GB, free: 9.738 MB / 3.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03449/20.11, allocations: 7.626 MB / 6.951 GB, free: 2.133 MB / 3.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3722/20.48, allocations: 115 MB / 7.063 GB, free: 12.84 MB / 3.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003885/20.48, allocations: 167.1 kB / 7.063 GB, free: 12.76 MB / 3.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03562/20.52, allocations: 3.036 MB / 7.066 GB, free: 9.742 MB / 3.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/20.52, allocations: 2.703 MB / 7.069 GB, free: 7.051 MB / 3.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3007/20.82, allocations: 102.6 MB / 7.169 GB, free: 1.074 MB / 3.529 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 3.431/24.25, allocations: 0.4931 GB / 7.662 GB, free: 463 MB / 3.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1811/24.43, allocations: 81.33 MB / 7.742 GB, free: 451.4 MB / 3.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09751/24.53, allocations: 37.7 MB / 7.778 GB, free: 450.6 MB / 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.3731/24.9, allocations: 154.4 MB / 7.929 GB, free: 367.8 MB / 3.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1142/25.02, allocations: 41.6 MB / 7.97 GB, free: 343.8 MB / 3.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0563/25.08, allocations: 4.6 MB / 7.974 GB, free: 341.6 MB / 3.576 GB Notification: Performance of pre-optimization done (n=4253): time 0.0003083/25.08, allocations: 0 / 7.974 GB, free: 341.6 MB / 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