Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01517/0.01518, allocations: 108.2 kB / 15.06 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001881/0.001881, allocations: 182.5 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.029/2.029, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.323/2.323, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004901, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5425, allocations: 98.71 MB / 0.6833 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.087/1.63, allocations: 397.3 MB / 1.071 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1386/1.768, allocations: 71.62 MB / 1.141 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01609/1.784, allocations: 321.8 kB / 1.142 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0191/1.804, allocations: 4.73 MB / 1.146 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.04938/1.853, allocations: 12.49 MB / 1.158 GB, free: 14.09 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04067/1.894, allocations: 10.53 MB / 1.169 GB, free: 3.641 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.04778/1.942, allocations: 21.15 MB / 1.189 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03556/1.977, allocations: 15.23 MB / 1.204 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02606/2.003, allocations: 10.06 MB / 1.214 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01648/2.02, allocations: 7.527 MB / 1.221 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.004557/2.024, allocations: 0.6094 MB / 1.222 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/2.046, allocations: 5.582 MB / 1.227 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.007098/2.054, allocations: 3.375 MB / 1.231 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.008309/2.062, allocations: 3.497 MB / 1.234 GB, free: 360 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.04176/2.104, allocations: 25.58 MB / 1.259 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/2.104, allocations: 4 kB / 1.259 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.679e-06/2.104, allocations: 4 kB / 1.259 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000595/2.104, allocations: 0 / 1.259 GB, free: 6.699 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 1.206/3.311, allocations: 14.68 MB / 1.273 GB, free: 367.6 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/3.311, allocations: 8.75 kB / 1.273 GB, free: 367.6 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03719/3.348, allocations: 4.694 MB / 1.278 GB, free: 366.6 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03865/3.387, allocations: 14.2 MB / 1.292 GB, free: 357.9 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00278/3.39, allocations: 1.541 MB / 1.293 GB, free: 356.9 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004017/3.394, allocations: 1.124 MB / 1.295 GB, free: 356.6 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06459/3.458, allocations: 15.34 MB / 1.31 GB, free: 347.3 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007077/3.459, allocations: 26.31 kB / 1.31 GB, free: 347.3 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004797/3.464, allocations: 454.5 kB / 1.31 GB, free: 346.9 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008571/3.465, allocations: 494.9 kB / 1.31 GB, free: 346.9 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0593/3.524, allocations: 14.85 MB / 1.325 GB, free: 339.3 MB / 0.9168 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.1268/3.651, allocations: 67.14 MB / 1.391 GB, free: 270.3 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03294/3.684, allocations: 12.47 MB / 1.403 GB, free: 257.8 MB / 0.9168 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.05365/3.738, allocations: 22.4 MB / 1.425 GB, free: 234.5 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01795/3.756, allocations: 5.807 MB / 1.43 GB, free: 228.6 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01056/3.766, allocations: 1.722 MB / 1.432 GB, free: 226.9 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=747): time 3.357e-05/3.766, allocations: 4 kB / 1.432 GB, free: 226.9 MB / 0.9168 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Math.mo:813:5-813: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!