Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009323, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009432/0.0009432, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.000564, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6722, allocations: 106.3 MB / 0.728 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.1/1.773, allocations: 400.1 MB / 1.119 GB, free: 3.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.1386/1.911, allocations: 71.62 MB / 1.189 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02672/1.938, allocations: 329.7 kB / 1.189 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.02513/1.963, allocations: 4.723 MB / 1.194 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.06607/2.029, allocations: 12.68 MB / 1.206 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.04216/2.072, allocations: 10.54 MB / 1.216 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.06605/2.138, allocations: 21.22 MB / 1.237 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04568/2.183, allocations: 15.35 MB / 1.252 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03754/2.221, allocations: 10.11 MB / 1.262 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.499/3.72, allocations: 7.521 MB / 1.269 GB, free: 42.45 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.006849/3.727, allocations: 0.6083 MB / 1.27 GB, free: 42.45 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0292/3.756, allocations: 5.536 MB / 1.275 GB, free: 42.45 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01079/3.767, allocations: 3.395 MB / 1.278 GB, free: 42.45 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.01212/3.779, allocations: 3.502 MB / 1.282 GB, free: 42.42 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04257/3.822, allocations: 25.7 MB / 1.307 GB, free: 41.07 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/3.822, allocations: 2.125 kB / 1.307 GB, free: 41.07 MB / 0.9357 GB Notification: Performance of FrontEnd: time 4.078e-06/3.822, allocations: 0 / 1.307 GB, free: 41.07 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001239/3.823, allocations: 0 / 1.307 GB, free: 41.07 MB / 0.9357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2773 * Number of variables: 2773 Notification: Performance of Generate backend data structure: time 0.05518/3.879, allocations: 14.63 MB / 1.321 GB, free: 34.76 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/3.879, allocations: 15.64 kB / 1.321 GB, free: 34.76 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03163/3.91, allocations: 4.585 MB / 1.326 GB, free: 33.82 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04233/3.953, allocations: 14.19 MB / 1.34 GB, free: 30.25 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003039/3.956, allocations: 1.538 MB / 1.341 GB, free: 29.58 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00704/3.963, allocations: 1.118 MB / 1.342 GB, free: 29.57 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05427/4.017, allocations: 15.35 MB / 1.357 GB, free: 25.33 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009839/4.018, allocations: 33.3 kB / 1.357 GB, free: 25.32 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006392/4.025, allocations: 452.5 kB / 1.358 GB, free: 25.32 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005757/4.025, allocations: 0.4906 MB / 1.358 GB, free: 25.26 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04554/4.071, allocations: 14.71 MB / 1.373 GB, free: 22.74 MB / 0.9357 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.1356/4.206, allocations: 66.97 MB / 1.438 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03068/4.237, allocations: 12.33 MB / 1.45 GB, free: 6.828 MB / 0.9669 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.06021/4.297, allocations: 22.38 MB / 1.472 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01535/4.313, allocations: 5.739 MB / 1.477 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.012/4.325, allocations: 1.718 MB / 1.479 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=747): time 3.732e-05/4.325, allocations: 0 / 1.479 GB, free: 1.883 MB / 0.9825 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "bat.P = if con.multiSwitch1.firstActiveIndex == 0 then con.multiSwitch1.y_default else con.multiSwitch1.expr[con.multiSwitch1.firstActiveIndex]" w.r.t. "time" is non-existent. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:748:5-748:76:writable] Error: Internal error Differentiate.differentiateEquationTime failed for bat.P = if con.multiSwitch1.firstActiveIndex == 0 then con.multiSwitch1.y_default else con.multiSwitch1.expr[con.multiSwitch1.firstActiveIndex] Error: Internal error - IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information. Error: Internal error - IndexReduction.pantelidesIndexReduction failed! Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!