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.0009549/0.0009547, allocations: 92.16 kB / 16.02 MB, free: 80 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.001565/0.001565, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.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.523/2.523, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6969, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Examples.AllElectricCWStorage): time 9.789/10.49, allocations: 3.458 GB / 4.482 GB, free: 103.9 MB / 2.17 GB Notification: Performance of NFInst.instExpressions: time 0.8804/11.37, allocations: 0.6607 GB / 5.142 GB, free: 13.3 MB / 2.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1602/11.53, allocations: 3.013 MB / 5.145 GB, free: 10.27 MB / 2.279 GB Notification: Performance of NFTyping.typeComponents: time 0.5563/12.08, allocations: 102.1 MB / 5.245 GB, free: 13.79 MB / 2.373 GB Notification: Performance of NFTyping.typeBindings: time 0.2471/12.33, allocations: 74.07 MB / 5.317 GB, free: 14.14 MB / 2.436 GB Notification: Performance of NFTyping.typeClassSections: time 2.189/14.52, allocations: 62.33 MB / 5.378 GB, free: 104 MB / 2.467 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1117:9-1117: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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:1080:9-1080: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.5508/15.07, allocations: 429.1 MB / 5.797 GB, free: 14.76 MB / 2.467 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3163/15.39, allocations: 129.3 MB / 5.923 GB, free: 7.328 MB / 2.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2413/15.63, allocations: 77.69 MB / 5.999 GB, free: 8.336 MB / 2.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1766/15.8, allocations: 69.44 MB / 6.067 GB, free: 15.54 MB / 2.686 GB Notification: Performance of NFPackage.collectConstants: time 0.03968/15.84, allocations: 3.891 MB / 6.071 GB, free: 11.65 MB / 2.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1295/15.97, allocations: 29.48 MB / 6.1 GB, free: 6.223 MB / 2.701 GB Notification: Performance of NFScalarize.scalarize: time 0.05871/16.03, allocations: 23.12 MB / 6.122 GB, free: 4.406 MB / 2.717 GB Notification: Performance of NFVerifyModel.verify: time 0.1741/16.21, allocations: 59.23 MB / 6.18 GB, free: 0 / 2.764 GB Notification: Performance of NFConvertDAE.convert: time 0.2699/16.48, allocations: 229.9 MB / 6.405 GB, free: 15.12 MB / 2.998 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/16.48, allocations: 4 kB / 6.405 GB, free: 15.11 MB / 2.998 GB Notification: Performance of FrontEnd: time 3.216e-06/16.48, allocations: 0 / 6.405 GB, free: 15.11 MB / 2.998 GB Notification: Performance of Transformations before backend: time 0.007181/16.48, allocations: 0 / 6.405 GB, free: 15.11 MB / 2.998 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.804/18.29, allocations: 126 MB / 6.528 GB, free: 1.845 GB / 3.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/18.29, allocations: 11.81 kB / 6.528 GB, free: 1.845 GB / 3.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.129/18.42, allocations: 26.66 MB / 6.554 GB, free: 1.834 GB / 3.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2952/18.71, allocations: 155.3 MB / 6.706 GB, free: 1.727 GB / 3.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01263/18.72, allocations: 7.386 MB / 6.713 GB, free: 1.724 GB / 3.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02739/18.75, allocations: 7.622 MB / 6.72 GB, free: 1.72 GB / 3.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3053/19.06, allocations: 115 MB / 6.833 GB, free: 1.606 GB / 3.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003687/19.06, allocations: 154.5 kB / 6.833 GB, free: 1.605 GB / 3.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02486/19.09, allocations: 3.027 MB / 6.836 GB, free: 1.603 GB / 3.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/19.09, allocations: 2.705 MB / 6.838 GB, free: 1.6 GB / 3.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2515/19.34, allocations: 103.5 MB / 6.939 GB, free: 1.499 GB / 3.029 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.7855/20.13, allocations: 0.4894 GB / 7.429 GB, free: 0.9928 GB / 3.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1502/20.28, allocations: 82.56 MB / 7.509 GB, free: 0.9135 GB / 3.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.07556/20.35, allocations: 38.16 MB / 7.547 GB, free: 0.876 GB / 3.029 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.3068/20.66, allocations: 153 MB / 7.696 GB, free: 0.7239 GB / 3.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08865/20.75, allocations: 42.15 MB / 7.737 GB, free: 0.6825 GB / 3.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04913/20.8, allocations: 6.975 MB / 7.744 GB, free: 0.6757 GB / 3.029 GB Notification: Performance of pre-optimization done (n=4289): time 0.000167/20.8, allocations: 0 / 7.744 GB, free: 0.6757 GB / 3.029 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed