Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.454/2.454, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 192.9 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.567/2.567, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 92.36 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006261/0.0006263, allocations: 12.19 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2313, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.31/1.541, allocations: 400.1 MB / 1.29 GB, free: 15.56 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1656/1.707, allocations: 71.63 MB / 1.36 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01791/1.725, allocations: 325.8 kB / 1.36 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.02385/1.749, allocations: 4.733 MB / 1.364 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.06528/1.814, allocations: 12.67 MB / 1.377 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.05002/1.864, allocations: 10.58 MB / 1.387 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05874/1.923, allocations: 21.25 MB / 1.408 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 1.848/3.771, allocations: 15.33 MB / 1.423 GB, free: 33.99 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0476/3.819, allocations: 10.08 MB / 1.433 GB, free: 33.97 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02914/3.848, allocations: 7.53 MB / 1.44 GB, free: 33.93 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.008734/3.857, allocations: 0.6082 MB / 1.441 GB, free: 33.93 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03982/3.897, allocations: 5.536 MB / 1.446 GB, free: 33.93 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.01313/3.91, allocations: 3.388 MB / 1.449 GB, free: 33.93 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.01429/3.924, allocations: 3.502 MB / 1.453 GB, free: 33.9 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.06407/3.988, allocations: 25.66 MB / 1.478 GB, free: 32.55 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/3.988, allocations: 0 / 1.478 GB, free: 32.55 MB / 0.9324 GB Notification: Performance of FrontEnd: time 5.31e-06/3.988, allocations: 0 / 1.478 GB, free: 32.55 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.001058/3.99, allocations: 1.75 kB / 1.478 GB, free: 32.55 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.07841/4.068, allocations: 14.65 MB / 1.492 GB, free: 24.52 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/4.068, allocations: 10.25 kB / 1.492 GB, free: 24.52 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06434/4.132, allocations: 4.582 MB / 1.497 GB, free: 22.6 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06258/4.195, allocations: 14.18 MB / 1.511 GB, free: 18.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005003/4.2, allocations: 1.538 MB / 1.512 GB, free: 17.52 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007642/4.208, allocations: 1.131 MB / 1.513 GB, free: 17.51 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08581/4.294, allocations: 15.36 MB / 1.528 GB, free: 13.27 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009664/4.295, allocations: 21.5 kB / 1.528 GB, free: 13.26 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006293/4.301, allocations: 452.6 kB / 1.529 GB, free: 13.26 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/4.302, allocations: 0.4925 MB / 1.529 GB, free: 13.2 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0854/4.388, allocations: 14.71 MB / 1.543 GB, free: 10.68 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.2509/4.639, allocations: 67.42 MB / 1.609 GB, free: 10.1 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0698/4.708, allocations: 12.33 MB / 1.621 GB, free: 1.684 MB / 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.1099/4.818, allocations: 22.32 MB / 1.643 GB, free: 2.277 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03612/4.855, allocations: 5.744 MB / 1.649 GB, free: 14.3 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02285/4.878, allocations: 1.718 MB / 1.65 GB, free: 12.77 MB / 1.011 GB Notification: Performance of pre-optimization done (n=747): time 6.135e-05/4.878, allocations: 0 / 1.65 GB, free: 12.77 MB / 1.011 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!