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.00159/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001786/0.001787, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.529/2.529, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5501, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 8.148/8.699, allocations: 3.505 GB / 4.521 GB, free: 14.55 MB / 2.264 GB Notification: Performance of NFInst.instExpressions: time 3.182/11.88, allocations: 0.6668 GB / 5.188 GB, free: 81 MB / 2.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1899/12.07, allocations: 3.155 MB / 5.191 GB, free: 81 MB / 2.545 GB Notification: Performance of NFTyping.typeComponents: time 0.5722/12.64, allocations: 102.2 MB / 5.291 GB, free: 65.5 MB / 2.545 GB Notification: Performance of NFTyping.typeBindings: time 0.2345/12.88, allocations: 74.08 MB / 5.363 GB, free: 28.42 MB / 2.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.1536/13.03, allocations: 62.11 MB / 5.424 GB, free: 4.422 MB / 2.576 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1125:9-1125: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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:1088:9-1088: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.5509/13.58, allocations: 429.2 MB / 5.843 GB, free: 2.211 MB / 2.982 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069/18.65, allocations: 133.1 MB / 5.973 GB, free: 161.8 MB / 3.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2883/18.94, allocations: 82.25 MB / 6.054 GB, free: 154.8 MB / 3.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1929/19.13, allocations: 75.07 MB / 6.127 GB, free: 140.8 MB / 3.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0632/19.2, allocations: 5.689 MB / 6.132 GB, free: 140.8 MB / 3.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1609/19.36, allocations: 31.28 MB / 6.163 GB, free: 140.8 MB / 3.092 GB Notification: Performance of NFScalarize.scalarize: time 0.07055/19.43, allocations: 26.11 MB / 6.189 GB, free: 136.4 MB / 3.092 GB Notification: Performance of NFVerifyModel.verify: time 0.1895/19.62, allocations: 61.88 MB / 6.249 GB, free: 118.6 MB / 3.092 GB Notification: Performance of NFConvertDAE.convert: time 0.3563/19.97, allocations: 267 MB / 6.51 GB, free: 33.78 MB / 3.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/19.97, allocations: 3.984 kB / 6.51 GB, free: 33.77 MB / 3.092 GB Notification: Performance of FrontEnd: time 2.174e-06/19.97, allocations: 0 / 6.51 GB, free: 33.77 MB / 3.092 GB Notification: Performance of Transformations before backend: time 0.008363/19.98, allocations: 0 / 6.51 GB, free: 33.77 MB / 3.092 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.5346/20.52, allocations: 153.7 MB / 6.66 GB, free: 15.23 MB / 3.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/20.52, allocations: 17.52 kB / 6.66 GB, free: 15.23 MB / 3.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1579/20.67, allocations: 25.93 MB / 6.685 GB, free: 3.406 MB / 3.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3676/21.04, allocations: 155.5 MB / 6.837 GB, free: 14.86 MB / 3.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01244/21.05, allocations: 7.271 MB / 6.844 GB, free: 7.605 MB / 3.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0432/21.1, allocations: 7.626 MB / 6.851 GB, free: 0 / 3.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4241/21.52, allocations: 114.8 MB / 6.964 GB, free: 11.21 MB / 3.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004505/21.53, allocations: 151.4 kB / 6.964 GB, free: 11.12 MB / 3.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04131/21.57, allocations: 3.025 MB / 6.967 GB, free: 8.121 MB / 3.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/21.57, allocations: 2.705 MB / 6.969 GB, free: 5.43 MB / 3.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3335/21.9, allocations: 103 MB / 7.07 GB, free: 15.01 MB / 3.451 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.118/25.02, allocations: 499.5 MB / 7.558 GB, free: 2.055 GB / 3.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1911/25.21, allocations: 82.11 MB / 7.638 GB, free: 2.021 GB / 3.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0911/25.3, allocations: 37.9 MB / 7.675 GB, free: 2.007 GB / 3.592 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.4049/25.71, allocations: 152.8 MB / 7.824 GB, free: 1.897 GB / 3.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1387/25.85, allocations: 41.87 MB / 7.865 GB, free: 1.874 GB / 3.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07485/25.92, allocations: 6.981 MB / 7.872 GB, free: 1.872 GB / 3.592 GB Notification: Performance of pre-optimization done (n=4289): time 0.0002522/25.92, allocations: 2.656 kB / 7.872 GB, free: 1.872 GB / 3.592 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed