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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001255/0.001255, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001143/0.001143, allocations: 194.3 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.59 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2579, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.709/8.966, allocations: 3.525 GB / 4.543 GB, free: 170.1 MB / 2.373 GB Notification: Performance of NFInst.instExpressions: time 0.7824/9.749, allocations: 0.6685 GB / 5.212 GB, free: 14.11 MB / 2.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1519/9.901, allocations: 3.407 MB / 5.215 GB, free: 10.69 MB / 2.529 GB Notification: Performance of NFTyping.typeComponents: time 0.3269/10.23, allocations: 109.7 MB / 5.322 GB, free: 15.16 MB / 2.639 GB Notification: Performance of NFTyping.typeBindings: time 0.2529/10.48, allocations: 80.05 MB / 5.4 GB, free: 14.74 MB / 2.717 GB Notification: Performance of NFTyping.typeClassSections: time 2.145/12.63, allocations: 67.34 MB / 5.466 GB, free: 118.2 MB / 2.764 GB Notification: Performance of NFFlatten.flatten: time 0.5612/13.19, allocations: 370.5 MB / 5.828 GB, free: 113.5 MB / 2.764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3025/13.49, allocations: 164.1 MB / 5.988 GB, free: 17.17 MB / 2.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2724/13.76, allocations: 112.2 MB / 6.098 GB, free: 1.336 MB / 2.811 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1582/13.92, allocations: 81.69 MB / 6.178 GB, free: 7.676 MB / 2.889 GB Notification: Performance of NFPackage.collectConstants: time 0.05195/13.97, allocations: 17.89 MB / 6.195 GB, free: 5.781 MB / 2.904 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1381/14.11, allocations: 44.64 MB / 6.239 GB, free: 13.54 MB / 2.951 GB Notification: Performance of NFScalarize.scalarize: time 0.06693/14.18, allocations: 38.95 MB / 6.277 GB, free: 7.707 MB / 2.982 GB Notification: Performance of NFVerifyModel.verify: time 0.1642/14.34, allocations: 75.93 MB / 6.351 GB, free: 13.52 MB / 3.061 GB Notification: Performance of NFConvertDAE.convert: time 0.3473/14.69, allocations: 276.9 MB / 6.621 GB, free: 15.52 MB / 3.326 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/14.69, allocations: 4 kB / 6.621 GB, free: 15.52 MB / 3.326 GB Notification: Performance of FrontEnd: time 1.843e-06/14.69, allocations: 0 / 6.621 GB, free: 15.52 MB / 3.326 GB Notification: Performance of Transformations before backend: time 0.007033/14.7, allocations: 0 / 6.621 GB, free: 15.52 MB / 3.326 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 1.519/16.21, allocations: 153.3 MB / 6.771 GB, free: 2.128 GB / 3.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/16.21, allocations: 7.844 kB / 6.771 GB, free: 2.128 GB / 3.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1393/16.35, allocations: 25.93 MB / 6.796 GB, free: 2.116 GB / 3.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3163/16.67, allocations: 155.3 MB / 6.948 GB, free: 2.011 GB / 3.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007374/16.68, allocations: 6.372 MB / 6.954 GB, free: 2.008 GB / 3.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03324/16.71, allocations: 7.632 MB / 6.962 GB, free: 2.004 GB / 3.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3154/17.03, allocations: 115 MB / 7.074 GB, free: 1.89 GB / 3.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004264/17.03, allocations: 162.5 kB / 7.074 GB, free: 1.89 GB / 3.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0284/17.06, allocations: 3.038 MB / 7.077 GB, free: 1.887 GB / 3.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/17.06, allocations: 2.7 MB / 7.08 GB, free: 1.884 GB / 3.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2557/17.32, allocations: 102.5 MB / 7.18 GB, free: 1.784 GB / 3.342 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.7977/18.12, allocations: 0.4889 GB / 7.669 GB, free: 1.279 GB / 3.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.145/18.26, allocations: 81.1 MB / 7.748 GB, free: 1.201 GB / 3.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06963/18.33, allocations: 37.64 MB / 7.785 GB, free: 1.164 GB / 3.342 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.3092/18.64, allocations: 154.3 MB / 7.935 GB, free: 1.011 GB / 3.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08281/18.72, allocations: 41.55 MB / 7.976 GB, free: 0.9703 GB / 3.342 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04228/18.76, allocations: 4.594 MB / 7.98 GB, free: 0.9657 GB / 3.342 GB Notification: Performance of pre-optimization done (n=4253): time 0.0001554/18.76, allocations: 0 / 7.98 GB, free: 0.9657 GB / 3.342 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