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.001464/0.001464, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001514/0.001514, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.474/1.474, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 482.4 MB / 0.755 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001912, allocations: 70.8 kB / 0.924 GB, free: 296 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9257, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 10.59/11.52, allocations: 3.493 GB / 4.576 GB, free: 175.4 MB / 2.436 GB Notification: Performance of NFInst.instExpressions: time 0.8926/12.41, allocations: 0.662 GB / 5.238 GB, free: 5.008 MB / 2.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1843/12.6, allocations: 3.169 MB / 5.241 GB, free: 1.82 MB / 2.529 GB Notification: Performance of NFTyping.typeComponents: time 0.666/13.26, allocations: 115.6 MB / 5.353 GB, free: 0.6719 MB / 2.639 GB Notification: Performance of NFTyping.typeBindings: time 0.3035/13.57, allocations: 74.46 MB / 5.426 GB, free: 5.992 MB / 2.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.2198/13.79, allocations: 62.52 MB / 5.487 GB, free: 7.473 MB / 2.779 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.02349647118779809, 0.04699294237559619, 0.06400762840813964}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.008223764915729332, 0.01644752983145866, 0.02240266994284887}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01644752983145866, 0.03289505966291733, 0.04480533988569774}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01174823559389905, 0.02349647118779809, 0.03200381420406982}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01150275356512994, 0.02300550713025987, 0.03133508729811259}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘1.0 / pla.chiHea.COPCasCoo_nominal‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01096501988763911, 0.02193003977527822, 0.02987022659046516}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01150825201329683, 0.02301650402659365, 0.03135006582932583}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.01150825201329683, 0.02301650402659365, 0.03135006582932583}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.006529917436273292, 0.01305983487254658, 0.01778839577467552}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.006529917436273292, 0.01305983487254658, 0.01778839577467552}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.8333333333333334}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 4.868/18.65, allocations: 366.4 MB / 5.845 GB, free: 133.6 MB / 2.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3498/19, allocations: 162.9 MB / 6.004 GB, free: 86.58 MB / 2.842 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2988/19.3, allocations: 113.5 MB / 6.115 GB, free: 32.87 MB / 2.842 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1675/19.47, allocations: 82.97 MB / 6.196 GB, free: 15.18 MB / 2.873 GB Notification: Performance of NFPackage.collectConstants: time 0.06853/19.54, allocations: 17.83 MB / 6.213 GB, free: 13.34 MB / 2.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1567/19.69, allocations: 45.5 MB / 6.258 GB, free: 7.32 MB / 2.92 GB Notification: Performance of NFScalarize.scalarize: time 0.08051/19.78, allocations: 38.87 MB / 6.296 GB, free: 1.582 MB / 2.951 GB Notification: Performance of NFVerifyModel.verify: time 0.18/19.96, allocations: 76.32 MB / 6.37 GB, free: 8.652 MB / 3.029 GB Notification: Performance of NFConvertDAE.convert: time 0.3105/20.27, allocations: 225.4 MB / 6.59 GB, free: 12.94 MB / 3.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/20.27, allocations: 2.625 kB / 6.59 GB, free: 12.94 MB / 3.248 GB Notification: Performance of FrontEnd: time 2.063e-06/20.27, allocations: 0 / 6.59 GB, free: 12.94 MB / 3.248 GB Notification: Performance of Transformations before backend: time 0.007082/20.27, allocations: 0 / 6.59 GB, free: 12.94 MB / 3.248 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 0.453/20.73, allocations: 153.3 MB / 6.74 GB, free: 4.039 MB / 3.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/20.73, allocations: 8.031 kB / 6.74 GB, free: 4.031 MB / 3.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1565/20.88, allocations: 26.3 MB / 6.766 GB, free: 9.59 MB / 3.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.218/22.1, allocations: 156.6 MB / 6.919 GB, free: 2.133 GB / 3.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01351/22.11, allocations: 7.247 MB / 6.926 GB, free: 2.129 GB / 3.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03518/22.15, allocations: 7.586 MB / 6.933 GB, free: 2.127 GB / 3.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3572/22.51, allocations: 114.9 MB / 7.045 GB, free: 2.06 GB / 3.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004043/22.51, allocations: 147.8 kB / 7.046 GB, free: 2.059 GB / 3.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03127/22.54, allocations: 3.023 MB / 7.049 GB, free: 2.057 GB / 3.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005349/22.55, allocations: 2.622 MB / 7.051 GB, free: 2.057 GB / 3.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.284/22.83, allocations: 103.1 MB / 7.152 GB, free: 1.983 GB / 3.42 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.9044/23.74, allocations: 0.4917 GB / 7.644 GB, free: 1.473 GB / 3.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1663/23.9, allocations: 83.06 MB / 7.725 GB, free: 1.394 GB / 3.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08335/23.99, allocations: 38.12 MB / 7.762 GB, free: 1.356 GB / 3.42 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.3388/24.33, allocations: 151.4 MB / 7.91 GB, free: 1.206 GB / 3.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09628/24.42, allocations: 41.98 MB / 7.951 GB, free: 1.165 GB / 3.42 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.06141/24.48, allocations: 6.634 MB / 7.957 GB, free: 1.159 GB / 3.42 GB Notification: Performance of pre-optimization done (n=4242): time 0.0002141/24.48, allocations: 0 / 7.957 GB, free: 1.159 GB / 3.42 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed