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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001399, allocations: 181.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.5775 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 85.89 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 8.938 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.269, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.114/1.383, allocations: 400.2 MB / 1.291 GB, free: 14.09 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1332/1.516, allocations: 71.62 MB / 1.361 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02306/1.539, allocations: 321.8 kB / 1.361 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.02162/1.561, allocations: 4.736 MB / 1.366 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.05446/1.616, allocations: 12.67 MB / 1.378 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03787/1.654, allocations: 10.55 MB / 1.388 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05647/1.71, allocations: 21.23 MB / 1.409 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 1.513/3.223, allocations: 15.33 MB / 1.424 GB, free: 33.73 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03567/3.259, allocations: 10.11 MB / 1.434 GB, free: 33.71 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02327/3.282, allocations: 7.537 MB / 1.441 GB, free: 33.68 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.009713/3.292, allocations: 0.6084 MB / 1.442 GB, free: 33.68 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03149/3.323, allocations: 5.539 MB / 1.447 GB, free: 33.67 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.0112/3.335, allocations: 3.389 MB / 1.451 GB, free: 33.67 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.01332/3.348, allocations: 3.504 MB / 1.454 GB, free: 33.64 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.0417/3.39, allocations: 25.69 MB / 1.479 GB, free: 31.89 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/3.39, allocations: 0 / 1.479 GB, free: 31.89 MB / 0.9324 GB Notification: Performance of FrontEnd: time 4.198e-06/3.39, allocations: 0 / 1.479 GB, free: 31.89 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.001404/3.391, allocations: 0 / 1.479 GB, free: 31.89 MB / 0.9324 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.05076/3.442, allocations: 14.65 MB / 1.494 GB, free: 23.57 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/3.442, allocations: 10.06 kB / 1.494 GB, free: 23.57 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009255/3.451, allocations: 1.421 MB / 1.495 GB, free: 23.21 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03171/3.483, allocations: 4.589 MB / 1.499 GB, free: 21.29 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0443/3.527, allocations: 14.19 MB / 1.513 GB, free: 16.88 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002739/3.53, allocations: 1.541 MB / 1.515 GB, free: 16.2 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006598/3.537, allocations: 1.123 MB / 1.516 GB, free: 16.19 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0588/3.596, allocations: 15.35 MB / 1.531 GB, free: 11.95 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001113/3.597, allocations: 23.28 kB / 1.531 GB, free: 11.95 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006223/3.603, allocations: 457.4 kB / 1.531 GB, free: 11.94 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007853/3.604, allocations: 496 kB / 1.532 GB, free: 11.89 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0483/3.652, allocations: 14.71 MB / 1.546 GB, free: 9.367 MB / 0.9324 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.1724/3.825, allocations: 66.97 MB / 1.612 GB, free: 8.605 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03422/3.859, allocations: 12.33 MB / 1.624 GB, free: 196 kB / 0.9793 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.06659/3.926, allocations: 22.37 MB / 1.645 GB, free: 0.7422 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01894/3.945, allocations: 5.74 MB / 1.651 GB, free: 12.77 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0123/3.957, allocations: 1.725 MB / 1.653 GB, free: 11.23 MB / 1.011 GB Notification: Performance of pre-optimization done (n=747): time 4.987e-05/3.957, allocations: 0 / 1.653 GB, free: 11.23 MB / 1.011 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 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!