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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001325/0.001325, allocations: 183.9 kB / 371.8 MB, free: 10.3 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.904/1.904, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009021/0.0009021, allocations: 101.4 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004603, allocations: 11 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2698, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.109/1.379, allocations: 399.7 MB / 1.37 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.1292/1.508, allocations: 71.49 MB / 1.44 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02022/1.529, allocations: 325.8 kB / 1.44 GB, free: 440 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.8416/2.37, allocations: 4.731 MB / 1.445 GB, free: 48.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.05305/2.423, allocations: 12.63 MB / 1.457 GB, free: 48.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.03754/2.461, allocations: 10.61 MB / 1.467 GB, free: 47.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.05632/2.517, allocations: 21.08 MB / 1.488 GB, free: 47.94 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04146/2.559, allocations: 15.29 MB / 1.503 GB, free: 45.98 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03562/2.595, allocations: 10.06 MB / 1.513 GB, free: 45.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02304/2.618, allocations: 7.477 MB / 1.52 GB, free: 45.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.007626/2.625, allocations: 0.6075 MB / 1.521 GB, free: 45.92 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02817/2.654, allocations: 5.598 MB / 1.526 GB, free: 45.92 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.01132/2.665, allocations: 3.372 MB / 1.529 GB, free: 45.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.01152/2.676, allocations: 3.485 MB / 1.533 GB, free: 45.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.04389/2.72, allocations: 25.6 MB / 1.558 GB, free: 31.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/2.72, allocations: 0 / 1.558 GB, free: 31.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.368e-06/2.72, allocations: 0 / 1.558 GB, free: 31.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001333/2.722, allocations: 3 kB / 1.558 GB, free: 31.01 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.04905/2.771, allocations: 14.62 MB / 1.572 GB, free: 22.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/2.771, allocations: 9.625 kB / 1.572 GB, free: 22.71 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008146/2.779, allocations: 1.422 MB / 1.573 GB, free: 22.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03034/2.809, allocations: 4.593 MB / 1.578 GB, free: 20.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03629/2.846, allocations: 14.18 MB / 1.592 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002452/2.848, allocations: 1.548 MB / 1.593 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005055/2.853, allocations: 1.122 MB / 1.594 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04895/2.902, allocations: 15.33 MB / 1.609 GB, free: 372 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007851/2.903, allocations: 30.31 kB / 1.609 GB, free: 356 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004725/2.908, allocations: 460.5 kB / 1.61 GB, free: 244 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007151/2.909, allocations: 492.8 kB / 1.61 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05634/2.965, allocations: 14.68 MB / 1.625 GB, free: 6.082 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.1949/3.16, allocations: 67.42 MB / 1.69 GB, free: 2.371 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03203/3.192, allocations: 12.45 MB / 1.703 GB, free: 9.844 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.06569/3.258, allocations: 22.45 MB / 1.724 GB, free: 10.32 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01876/3.277, allocations: 5.757 MB / 1.73 GB, free: 6.336 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01238/3.289, allocations: 1.715 MB / 1.732 GB, free: 4.805 MB / 1.057 GB Notification: Performance of pre-optimization done (n=746): time 6.302e-05/3.289, allocations: 0 / 1.732 GB, free: 4.805 MB / 1.057 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!