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: translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.823/2.823, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001614/0.001614, allocations: 196.8 kB / 370.8 MB, free: 10.87 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.091/2.091, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001118/0.001118, allocations: 92.02 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006727/0.0006729, allocations: 10.47 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2362, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.446/1.682, allocations: 399.7 MB / 1.369 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 1.067/2.749, allocations: 71.49 MB / 1.438 GB, free: 47.04 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02224/2.771, allocations: 322.3 kB / 1.439 GB, free: 47.04 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.03359/2.805, allocations: 4.732 MB / 1.443 GB, free: 47 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0565/2.861, allocations: 12.63 MB / 1.456 GB, free: 46.83 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.04543/2.907, allocations: 10.64 MB / 1.466 GB, free: 46.39 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.05808/2.965, allocations: 21.1 MB / 1.487 GB, free: 46.35 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04513/3.01, allocations: 15.29 MB / 1.502 GB, free: 44.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03315/3.043, allocations: 10.07 MB / 1.511 GB, free: 44.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02165/3.065, allocations: 7.48 MB / 1.519 GB, free: 43.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006576/3.072, allocations: 0.606 MB / 1.519 GB, free: 43.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02987/3.101, allocations: 5.589 MB / 1.525 GB, free: 42.56 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009762/3.111, allocations: 3.377 MB / 1.528 GB, free: 41.77 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01097/3.122, allocations: 3.482 MB / 1.531 GB, free: 41.74 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04623/3.169, allocations: 25.61 MB / 1.556 GB, free: 27.19 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/3.169, allocations: 4 kB / 1.556 GB, free: 27.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.916e-06/3.169, allocations: 0 / 1.556 GB, free: 27.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001068/3.17, allocations: 0 / 1.556 GB, free: 27.18 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.05746/3.227, allocations: 14.62 MB / 1.571 GB, free: 17.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/3.227, allocations: 18.52 kB / 1.571 GB, free: 17.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04732/3.275, allocations: 4.592 MB / 1.575 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05463/3.329, allocations: 14.19 MB / 1.589 GB, free: 4.488 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003657/3.333, allocations: 1.538 MB / 1.591 GB, free: 3.203 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006138/3.339, allocations: 1.125 MB / 1.592 GB, free: 2.445 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06865/3.408, allocations: 15.33 MB / 1.607 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000814/3.409, allocations: 24.52 kB / 1.607 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004927/3.414, allocations: 452.5 kB / 1.607 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/3.415, allocations: 0.4896 MB / 1.608 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06715/3.482, allocations: 14.68 MB / 1.622 GB, free: 13.62 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.1903/3.672, allocations: 67.42 MB / 1.688 GB, free: 9.875 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07651/3.749, allocations: 12.46 MB / 1.7 GB, free: 1.34 MB / 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.07843/3.827, allocations: 22.45 MB / 1.722 GB, free: 1.824 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02565/3.853, allocations: 5.758 MB / 1.727 GB, free: 13.84 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01495/3.868, allocations: 1.717 MB / 1.729 GB, free: 12.3 MB / 1.057 GB Notification: Performance of pre-optimization done (n=746): time 4.873e-05/3.868, allocations: 0 / 1.729 GB, free: 12.3 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!