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.001569/0.001569, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001991/0.001991, allocations: 195.4 kB / 16.26 MB, free: 6.625 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.543/2.543, allocations: 437 MB / 0.71 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.573/0.5742, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.588/9.162, allocations: 3.49 GB / 4.507 GB, free: 14.21 MB / 2.248 GB Notification: Performance of NFInst.instExpressions: time 3.341/12.5, allocations: 0.661 GB / 5.168 GB, free: 67.61 MB / 2.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2245/12.73, allocations: 3.153 MB / 5.171 GB, free: 67.61 MB / 2.545 GB Notification: Performance of NFTyping.typeComponents: time 0.5357/13.26, allocations: 108 MB / 5.276 GB, free: 53.22 MB / 2.545 GB Notification: Performance of NFTyping.typeBindings: time 0.2592/13.52, allocations: 74.56 MB / 5.349 GB, free: 20.92 MB / 2.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.1551/13.68, allocations: 62.73 MB / 5.411 GB, free: 1.234 MB / 2.576 GB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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 0.5131/14.19, allocations: 375.7 MB / 5.777 GB, free: 4.719 MB / 2.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.343/14.53, allocations: 163.1 MB / 5.937 GB, free: 2.855 MB / 3.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.512/19.05, allocations: 111.1 MB / 6.045 GB, free: 276.3 MB / 3.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1985/19.24, allocations: 84.19 MB / 6.127 GB, free: 262.2 MB / 3.108 GB Notification: Performance of NFPackage.collectConstants: time 0.08457/19.33, allocations: 17.89 MB / 6.145 GB, free: 262.2 MB / 3.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1979/19.53, allocations: 45.27 MB / 6.189 GB, free: 262.2 MB / 3.108 GB Notification: Performance of NFScalarize.scalarize: time 0.09724/19.62, allocations: 39.1 MB / 6.227 GB, free: 257.7 MB / 3.108 GB Notification: Performance of NFVerifyModel.verify: time 0.2024/19.83, allocations: 75.93 MB / 6.301 GB, free: 240 MB / 3.108 GB Notification: Performance of NFConvertDAE.convert: time 0.4279/20.25, allocations: 275.4 MB / 6.57 GB, free: 153.4 MB / 3.108 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/20.26, allocations: 1.188 kB / 6.57 GB, free: 153.4 MB / 3.108 GB Notification: Performance of FrontEnd: time 1.713e-06/20.26, allocations: 0 / 6.57 GB, free: 153.4 MB / 3.108 GB Notification: Performance of Transformations before backend: time 0.008962/20.26, allocations: 0 / 6.57 GB, free: 153.4 MB / 3.108 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.5261/20.79, allocations: 153.4 MB / 6.72 GB, free: 47.88 MB / 3.108 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/20.79, allocations: 12.02 kB / 6.72 GB, free: 47.87 MB / 3.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1577/20.95, allocations: 25.92 MB / 6.745 GB, free: 22.25 MB / 3.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4358/21.38, allocations: 155.4 MB / 6.897 GB, free: 15.09 MB / 3.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01443/21.4, allocations: 7.267 MB / 6.904 GB, free: 7.754 MB / 3.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0482/21.45, allocations: 7.63 MB / 6.912 GB, free: 152 kB / 3.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4375/21.88, allocations: 114.8 MB / 7.024 GB, free: 11.36 MB / 3.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004598/21.89, allocations: 146.5 kB / 7.024 GB, free: 11.28 MB / 3.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04791/21.94, allocations: 3.031 MB / 7.027 GB, free: 8.273 MB / 3.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003829/21.94, allocations: 2.701 MB / 7.03 GB, free: 5.582 MB / 3.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3275/22.27, allocations: 103 MB / 7.13 GB, free: 15.16 MB / 3.483 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.138/24.41, allocations: 499.5 MB / 7.618 GB, free: 1.968 GB / 3.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1724/24.58, allocations: 82.1 MB / 7.698 GB, free: 1.924 GB / 3.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09819/24.68, allocations: 37.89 MB / 7.735 GB, free: 1.905 GB / 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 evalFunc (simulation): time 0.3804/25.06, allocations: 152.8 MB / 7.884 GB, free: 1.785 GB / 3.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1062/25.16, allocations: 41.87 MB / 7.925 GB, free: 1.744 GB / 3.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0646/25.23, allocations: 6.658 MB / 7.932 GB, free: 1.739 GB / 3.529 GB Notification: Performance of pre-optimization done (n=4289): time 0.0002468/25.23, allocations: 0 / 7.932 GB, free: 1.739 GB / 3.529 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed