Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Validation.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Validation_AllElectricCWStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Validation_AllElectricCWStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001469/0.001469, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.287/2.287, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.482, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Validation.AllElectricCWStorage): time 2.933/3.415, allocations: 1.662 GB / 2.679 GB, free: 37.21 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3334/3.748, allocations: 309.3 MB / 2.981 GB, free: 9.914 MB / 1.764 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05966/3.808, allocations: 1.67 MB / 2.982 GB, free: 8.234 MB / 1.764 GB Notification: Performance of NFTyping.typeComponents: time 1.026/4.834, allocations: 46.41 MB / 3.028 GB, free: 32.44 MB / 1.795 GB Notification: Performance of NFTyping.typeBindings: time 0.1246/4.958, allocations: 49.23 MB / 3.076 GB, free: 32.08 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.08271/5.041, allocations: 44.16 MB / 3.119 GB, free: 31.27 MB / 1.795 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.09598027422618209, 0.1919605484523642, 0.261463505650634}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.03359309597916374, 0.06718619195832748, 0.09151222697772191}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.06718619195832748, 0.134372383916655, 0.1830244539554438}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.04799013711309105, 0.09598027422618209, 0.130731752825317}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.02399506855654552, 0.04799013711309105, 0.06536587641265849}[pressure.n] * 0.0‘ [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.04479079463888498, 0.08958158927776996, 0.1220163026369625}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.2496/5.291, allocations: 254.9 MB / 3.368 GB, free: 5.914 MB / 1.842 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1448/5.435, allocations: 80.56 MB / 3.447 GB, free: 6.254 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1109/5.546, allocations: 50.84 MB / 3.496 GB, free: 5.395 MB / 1.967 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07688/5.623, allocations: 48.01 MB / 3.543 GB, free: 8.613 MB / 2.014 GB Notification: Performance of NFPackage.collectConstants: time 0.02428/5.648, allocations: 3.879 MB / 3.547 GB, free: 4.734 MB / 2.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06769/5.715, allocations: 19.68 MB / 3.566 GB, free: 2.262 MB / 2.029 GB Notification: Performance of NFScalarize.scalarize: time 0.03014/5.745, allocations: 17.14 MB / 3.583 GB, free: 1.473 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.08128/5.827, allocations: 40.21 MB / 3.622 GB, free: 9.449 MB / 2.092 GB Notification: Performance of NFConvertDAE.convert: time 0.1962/6.023, allocations: 173.1 MB / 3.791 GB, free: 15.51 MB / 2.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/6.023, allocations: 0 / 3.791 GB, free: 15.51 MB / 2.264 GB Notification: Performance of FrontEnd: time 1.844e-06/6.023, allocations: 0 / 3.791 GB, free: 15.51 MB / 2.264 GB Notification: Performance of Transformations before backend: time 0.004026/6.027, allocations: 0 / 3.791 GB, free: 15.51 MB / 2.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12903 * Number of variables: 12903 Notification: Performance of Generate backend data structure: time 1.17/7.197, allocations: 94.33 MB / 3.883 GB, free: 1.253 GB / 2.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/7.197, allocations: 11.91 kB / 3.883 GB, free: 1.253 GB / 2.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02162/7.218, allocations: 6.629 MB / 3.89 GB, free: 1.25 GB / 2.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05656/7.275, allocations: 12.02 MB / 3.901 GB, free: 1.245 GB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1624/7.437, allocations: 105.5 MB / 4.005 GB, free: 1.173 GB / 2.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004556/7.442, allocations: 4.731 MB / 4.009 GB, free: 1.171 GB / 2.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01656/7.459, allocations: 5.361 MB / 4.014 GB, free: 1.169 GB / 2.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1564/7.615, allocations: 74.21 MB / 4.087 GB, free: 1.103 GB / 2.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001872/7.617, allocations: 99.11 kB / 4.087 GB, free: 1.103 GB / 2.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01334/7.63, allocations: 2.117 MB / 4.089 GB, free: 1.101 GB / 2.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/7.631, allocations: 1.873 MB / 4.091 GB, free: 1.099 GB / 2.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1226/7.754, allocations: 64.53 MB / 4.154 GB, free: 1.036 GB / 2.295 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.3918/8.146, allocations: 312.3 MB / 4.459 GB, free: 0.722 GB / 2.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08008/8.226, allocations: 53.19 MB / 4.511 GB, free: 0.671 GB / 2.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03826/8.264, allocations: 25.01 MB / 4.535 GB, free: 0.6465 GB / 2.295 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.1611/8.426, allocations: 101.9 MB / 4.635 GB, free: 0.5452 GB / 2.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04556/8.471, allocations: 27.77 MB / 4.662 GB, free: 0.518 GB / 2.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02633/8.497, allocations: 3.862 MB / 4.666 GB, free: 0.5142 GB / 2.295 GB Notification: Performance of pre-optimization done (n=3282): time 8.832e-05/8.498, allocations: 0 / 4.666 GB, free: 0.5142 GB / 2.295 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