Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.612/2.612, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.002284/0.002284, allocations: 192 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001234/0.001233, allocations: 93.14 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.0005589, allocations: 11.19 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2312, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.467/1.698, allocations: 399.7 MB / 1.369 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 1.139/2.837, allocations: 71.49 MB / 1.438 GB, free: 46.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0192/2.856, allocations: 322.2 kB / 1.439 GB, free: 46.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.02437/2.881, allocations: 4.733 MB / 1.443 GB, free: 46.85 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.05978/2.941, allocations: 12.64 MB / 1.456 GB, free: 46.67 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.05002/2.991, allocations: 10.63 MB / 1.466 GB, free: 46.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.06146/3.052, allocations: 21.09 MB / 1.487 GB, free: 46.2 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04848/3.101, allocations: 15.29 MB / 1.502 GB, free: 44.22 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04417/3.145, allocations: 10.07 MB / 1.511 GB, free: 44.2 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02927/3.174, allocations: 7.476 MB / 1.519 GB, free: 43.24 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007786/3.182, allocations: 0.6057 MB / 1.519 GB, free: 43.24 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03306/3.215, allocations: 5.598 MB / 1.525 GB, free: 42.37 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0102/3.226, allocations: 3.373 MB / 1.528 GB, free: 41.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01111/3.237, allocations: 3.486 MB / 1.531 GB, free: 41.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04713/3.284, allocations: 25.6 MB / 1.556 GB, free: 27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/3.284, allocations: 0 / 1.556 GB, free: 27 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.396e-06/3.284, allocations: 0 / 1.556 GB, free: 27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001094/3.285, allocations: 7.938 kB / 1.557 GB, free: 26.99 MB / 0.948 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.06049/3.346, allocations: 14.63 MB / 1.571 GB, free: 17.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/3.346, allocations: 11.98 kB / 1.571 GB, free: 17.11 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007688/3.353, allocations: 1.421 MB / 1.572 GB, free: 16.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04901/3.402, allocations: 4.588 MB / 1.577 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04848/3.451, allocations: 14.19 MB / 1.591 GB, free: 3.574 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004737/3.456, allocations: 1.538 MB / 1.592 GB, free: 2.289 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007269/3.463, allocations: 1.127 MB / 1.593 GB, free: 1.527 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1064/3.57, allocations: 15.34 MB / 1.608 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001081/3.571, allocations: 23.12 kB / 1.608 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007342/3.578, allocations: 460.4 kB / 1.609 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009618/3.579, allocations: 488.5 kB / 1.609 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07044/3.65, allocations: 14.68 MB / 1.623 GB, free: 12.7 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.2268/3.877, allocations: 67.41 MB / 1.689 GB, free: 8.957 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06824/3.945, allocations: 12.47 MB / 1.701 GB, free: 432 kB / 1.026 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.1079/4.053, allocations: 22.45 MB / 1.723 GB, free: 0.9023 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03074/4.084, allocations: 5.751 MB / 1.729 GB, free: 12.92 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01548/4.099, allocations: 1.718 MB / 1.731 GB, free: 11.39 MB / 1.057 GB Notification: Performance of pre-optimization done (n=746): time 5.79e-05/4.099, allocations: 0 / 1.731 GB, free: 11.39 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!