Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 288.3 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001469, allocations: 177.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009438, allocations: 99.08 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 18.14 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.067/1.317, allocations: 399.7 MB / 1.37 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.1247/1.442, allocations: 71.48 MB / 1.44 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02254/1.464, allocations: 325.8 kB / 1.44 GB, free: 464 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.8214/2.286, allocations: 4.73 MB / 1.445 GB, free: 48.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.05208/2.338, allocations: 12.62 MB / 1.457 GB, free: 48.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.04246/2.381, allocations: 10.62 MB / 1.467 GB, free: 48.03 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.06081/2.441, allocations: 21.08 MB / 1.488 GB, free: 48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05262/2.494, allocations: 15.29 MB / 1.503 GB, free: 46.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03758/2.532, allocations: 10.07 MB / 1.513 GB, free: 46.01 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0269/2.559, allocations: 7.472 MB / 1.52 GB, free: 45.97 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.009863/2.569, allocations: 0.6073 MB / 1.52 GB, free: 45.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03291/2.601, allocations: 5.599 MB / 1.526 GB, free: 45.97 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.01278/2.614, allocations: 3.375 MB / 1.529 GB, free: 45.63 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.01317/2.628, allocations: 3.486 MB / 1.533 GB, free: 45.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.04559/2.673, allocations: 25.6 MB / 1.558 GB, free: 31.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/2.673, allocations: 0 / 1.558 GB, free: 31.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.15e-06/2.673, allocations: 0 / 1.558 GB, free: 31.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001581/2.675, allocations: 0 / 1.558 GB, free: 31.05 MB / 0.9636 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.05622/2.731, allocations: 14.63 MB / 1.572 GB, free: 22.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/2.731, allocations: 9.25 kB / 1.572 GB, free: 22.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03223/2.763, allocations: 4.587 MB / 1.576 GB, free: 20.83 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04486/2.808, allocations: 14.19 MB / 1.59 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002523/2.811, allocations: 1.534 MB / 1.592 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007677/2.819, allocations: 1.125 MB / 1.593 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05864/2.877, allocations: 15.33 MB / 1.608 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005524/2.878, allocations: 28.05 kB / 1.608 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004983/2.883, allocations: 458.2 kB / 1.608 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004847/2.883, allocations: 497.8 kB / 1.609 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04786/2.931, allocations: 14.68 MB / 1.623 GB, free: 6.883 MB / 0.9792 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.1812/3.112, allocations: 67.43 MB / 1.689 GB, free: 3.156 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03155/3.144, allocations: 12.45 MB / 1.701 GB, free: 10.63 MB / 1.042 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.06359/3.208, allocations: 22.45 MB / 1.723 GB, free: 11.11 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01917/3.227, allocations: 5.753 MB / 1.729 GB, free: 7.117 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01257/3.239, allocations: 1.723 MB / 1.73 GB, free: 5.582 MB / 1.057 GB Notification: Performance of pre-optimization done (n=746): time 4.918e-05/3.24, allocations: 0 / 1.73 GB, free: 5.582 MB / 1.057 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!