Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001125/0.001125, allocations: 99.7 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.001162/0.001162, allocations: 177.3 kB / 15.94 MB, free: 228 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.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005323/0.0005324, allocations: 22.44 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.046/1.327, allocations: 399.8 MB / 1.177 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1148/1.442, allocations: 71.48 MB / 1.247 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02238/1.464, allocations: 325.8 kB / 1.248 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.02272/1.487, allocations: 4.721 MB / 1.252 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.05738/1.545, allocations: 12.64 MB / 1.265 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.03826/1.583, allocations: 10.6 MB / 1.275 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.8523/2.435, allocations: 21.08 MB / 1.295 GB, free: 42.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04523/2.48, allocations: 15.3 MB / 1.31 GB, free: 40.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03493/2.515, allocations: 10.09 MB / 1.32 GB, free: 40.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.023/2.538, allocations: 7.482 MB / 1.328 GB, free: 40.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.007261/2.546, allocations: 0.6089 MB / 1.328 GB, free: 40.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02909/2.575, allocations: 5.604 MB / 1.334 GB, free: 40.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01259/2.588, allocations: 3.373 MB / 1.337 GB, free: 40.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01271/2.6, allocations: 3.481 MB / 1.34 GB, free: 40.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.04104/2.641, allocations: 25.63 MB / 1.365 GB, free: 36.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/2.641, allocations: 4.359 kB / 1.365 GB, free: 36.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.517e-06/2.641, allocations: 0 / 1.365 GB, free: 36.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001404/2.643, allocations: 0 / 1.365 GB, free: 36.83 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.05203/2.695, allocations: 14.62 MB / 1.38 GB, free: 28.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/2.695, allocations: 8.125 kB / 1.38 GB, free: 28.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03246/2.727, allocations: 4.598 MB / 1.384 GB, free: 26.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03874/2.766, allocations: 14.18 MB / 1.398 GB, free: 22.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002387/2.769, allocations: 1.535 MB / 1.4 GB, free: 21.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006801/2.775, allocations: 1.123 MB / 1.401 GB, free: 21.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05347/2.829, allocations: 15.34 MB / 1.416 GB, free: 17.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004557/2.829, allocations: 21.09 kB / 1.416 GB, free: 17.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004352/2.834, allocations: 454.2 kB / 1.416 GB, free: 17.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000665/2.834, allocations: 497.4 kB / 1.417 GB, free: 17.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04467/2.879, allocations: 14.68 MB / 1.431 GB, free: 7.945 MB / 0.9825 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.1448/3.024, allocations: 66.97 MB / 1.496 GB, free: 4.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02802/3.052, allocations: 12.47 MB / 1.508 GB, free: 12.27 MB / 1.045 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.05782/3.11, allocations: 22.51 MB / 1.53 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01522/3.125, allocations: 5.747 MB / 1.536 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0148/3.14, allocations: 1.724 MB / 1.538 GB, free: 7.184 MB / 1.061 GB Notification: Performance of pre-optimization done (n=746): time 7.089e-05/3.14, allocations: 0 / 1.538 GB, free: 7.184 MB / 1.061 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!