Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.773/2.773, allocations: 287.9 MB / 302.9 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 182.4 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 98.97 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 14.28 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 115.2 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.179/1.348, allocations: 399.7 MB / 1.369 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.8479/2.196, allocations: 71.47 MB / 1.439 GB, free: 47.42 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01749/2.213, allocations: 325.2 kB / 1.439 GB, free: 47.42 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01973/2.233, allocations: 4.734 MB / 1.444 GB, free: 47.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.04406/2.277, allocations: 12.63 MB / 1.456 GB, free: 47.21 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03771/2.315, allocations: 10.63 MB / 1.467 GB, free: 46.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.04336/2.358, allocations: 21.09 MB / 1.487 GB, free: 46.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03185/2.39, allocations: 15.3 MB / 1.502 GB, free: 44.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02713/2.418, allocations: 10.06 MB / 1.512 GB, free: 44.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02322/2.441, allocations: 7.473 MB / 1.519 GB, free: 43.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006449/2.447, allocations: 0.6085 MB / 1.52 GB, free: 43.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03473/2.482, allocations: 5.6 MB / 1.525 GB, free: 42.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009747/2.492, allocations: 3.372 MB / 1.529 GB, free: 42.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01202/2.504, allocations: 3.484 MB / 1.532 GB, free: 42.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03752/2.542, allocations: 25.6 MB / 1.557 GB, free: 27.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/2.542, allocations: 0 / 1.557 GB, free: 27.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.856e-06/2.542, allocations: 0 / 1.557 GB, free: 27.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000624/2.542, allocations: 0 / 1.557 GB, free: 27.52 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.03887/2.581, allocations: 14.63 MB / 1.571 GB, free: 17.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/2.581, allocations: 11.98 kB / 1.571 GB, free: 17.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03223/2.613, allocations: 4.595 MB / 1.576 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03472/2.648, allocations: 14.19 MB / 1.59 GB, free: 4.812 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002307/2.651, allocations: 1.537 MB / 1.591 GB, free: 3.531 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003849/2.654, allocations: 1.12 MB / 1.592 GB, free: 2.777 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05002/2.704, allocations: 15.33 MB / 1.607 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004608/2.705, allocations: 27.12 kB / 1.607 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003228/2.708, allocations: 452 kB / 1.608 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007067/2.709, allocations: 499.8 kB / 1.608 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05102/2.76, allocations: 14.68 MB / 1.622 GB, free: 13.94 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.1465/2.907, allocations: 67.41 MB / 1.688 GB, free: 10.21 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03592/2.942, allocations: 12.47 MB / 1.7 GB, free: 1.664 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.07061/3.013, allocations: 22.45 MB / 1.722 GB, free: 2.145 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03262/3.046, allocations: 5.753 MB / 1.728 GB, free: 14.16 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01839/3.064, allocations: 1.721 MB / 1.73 GB, free: 12.62 MB / 1.057 GB Notification: Performance of pre-optimization done (n=746): time 5.966e-05/3.064, allocations: 0 / 1.73 GB, free: 12.62 MB / 1.057 GB [/var/lib/jenkins/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. [/var/lib/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!