Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterRenewables",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.001207/0.001207, 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.001387/0.001387, 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 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7901, allocations: 142.3 MB / 0.9536 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.236/2.026, allocations: 399.6 MB / 1.344 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09796/2.124, allocations: 68.58 MB / 1.411 GB, free: 22.9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01811/2.142, allocations: 323.1 kB / 1.411 GB, free: 22.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01803/2.16, allocations: 4.354 MB / 1.415 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04715/2.207, allocations: 13.08 MB / 1.428 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02771/2.235, allocations: 8.426 MB / 1.436 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04822/2.283, allocations: 21.35 MB / 1.457 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03736/2.32, allocations: 15.4 MB / 1.472 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02969/2.35, allocations: 10.16 MB / 1.482 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02021/2.37, allocations: 7.585 MB / 1.49 GB, free: 2.418 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.005808/2.376, allocations: 0.6133 MB / 1.49 GB, free: 1.805 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02663/2.403, allocations: 5.676 MB / 1.496 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.009746/2.413, allocations: 3.422 MB / 1.499 GB, free: 8.754 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01239/2.425, allocations: 3.539 MB / 1.502 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.04223/2.467, allocations: 26 MB / 1.528 GB, free: 11.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/2.467, allocations: 0 / 1.528 GB, free: 11.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.715e-06/2.467, allocations: 0 / 1.528 GB, free: 11.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.001076/2.469, allocations: 0 / 1.528 GB, free: 11.14 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2797 * Number of variables: 2797 Notification: Performance of Generate backend data structure: time 0.04909/2.518, allocations: 14.94 MB / 1.542 GB, free: 12.03 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/2.518, allocations: 23.97 kB / 1.542 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005921/2.524, allocations: 1.44 MB / 1.544 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0327/2.556, allocations: 4.911 MB / 1.549 GB, free: 5.621 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05262/2.609, allocations: 14.57 MB / 1.563 GB, free: 6.953 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002916/2.612, allocations: 1.545 MB / 1.564 GB, free: 5.293 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005875/2.618, allocations: 1.14 MB / 1.566 GB, free: 4.152 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05198/2.67, allocations: 15.63 MB / 1.581 GB, free: 4.137 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/2.67, allocations: 27.77 kB / 1.581 GB, free: 4.109 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/2.672, allocations: 456 kB / 1.581 GB, free: 3.664 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005013/2.672, allocations: 0.4948 MB / 1.582 GB, free: 3.168 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04565/2.718, allocations: 15.08 MB / 1.596 GB, free: 4.062 MB / 1.139 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.1432/2.861, allocations: 67.81 MB / 1.663 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03064/2.892, allocations: 12.99 MB / 1.675 GB, free: 15.69 MB / 1.232 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.05795/2.95, allocations: 23.21 MB / 1.698 GB, free: 7.398 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01627/2.966, allocations: 6.065 MB / 1.704 GB, free: 1.27 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01099/2.977, allocations: 1.797 MB / 1.706 GB, free: 15.46 MB / 1.264 GB Notification: Performance of pre-optimization done (n=764): time 4.388e-05/2.977, allocations: 0 / 1.706 GB, free: 15.46 MB / 1.264 GB [/var/lib/jenkins1/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 4.0.0+maint.om/Blocks/Math.mo:730:5-730: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!