Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.587/0.587, allocations: 95.61 MB / 110.6 MB, free: 9.355 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001104/0.001104, allocations: 184.3 kB / 134.2 MB, free: 2.246 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.63/1.63, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002189/0.002189, allocations: 118 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 12 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 61.54 MB / 0.512 GB, free: 6.066 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.8/14.99, allocations: 5.612 GB / 6.124 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/14.99, allocations: 98.81 kB / 6.124 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.389/23.38, allocations: 1.862 GB / 7.987 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.74e-06/23.38, allocations: 1.062 kB / 7.987 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001579/23.38, allocations: 138.5 kB / 7.987 GB, free: 40.57 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1016 * Number of variables: 1016 Notification: Performance of Generate backend data structure: time 0.04816/23.43, allocations: 7.362 MB / 7.994 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.328e-05/23.43, allocations: 18.14 kB / 7.994 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007799/23.43, allocations: 0.704 MB / 7.995 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09563/23.53, allocations: 33.84 MB / 8.028 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005182/23.53, allocations: 305.5 kB / 8.028 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002532/23.53, allocations: 422.4 kB / 8.028 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/23.55, allocations: 5.787 MB / 8.034 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/23.55, allocations: 6.562 kB / 8.034 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008357/23.55, allocations: 165.2 kB / 8.034 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/23.55, allocations: 171.3 kB / 8.034 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/23.56, allocations: 5.413 MB / 8.04 GB, free: 34.65 MB / 0.6042 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.06032/23.62, allocations: 21.82 MB / 8.061 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/23.63, allocations: 3.62 MB / 8.064 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/23.63, allocations: 0.8387 MB / 8.065 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007231/23.64, allocations: 2.35 MB / 8.068 GB, free: 26.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=293): time 1.457e-05/23.64, allocations: 0 / 8.068 GB, free: 26.74 MB / 0.6042 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: hex.ele[2].vol2.dynBal.medium.p 2: hex.ele[1].vol2.dynBal.medium.T 3: hex.ele[1].vol2.dynBal.medium.Xi[1] 4: hex.ele[2].vol2.dynBal.medium.Xi[1] 5: hex.ele[2].vol2.dynBal.medium.T 6: hex.ele[3].vol2.dynBal.medium.Xi[1] 7: hex.ele[3].vol2.dynBal.medium.T 8: hex.ele[4].vol2.dynBal.medium.Xi[1] 9: hex.ele[4].vol2.dynBal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=347): time 0.1227/23.76, allocations: 29.15 MB / 8.096 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000248/23.77, allocations: 0.5282 MB / 8.097 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/23.78, allocations: 4.307 MB / 8.101 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001992/23.78, allocations: 105.1 kB / 8.101 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004892/23.79, allocations: 2.319 MB / 8.103 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.002913/23.79, allocations: 1.202 MB / 8.104 GB, free: 21.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/23.79, allocations: 68.38 kB / 8.104 GB, free: 21.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0005712/23.79, allocations: 449.8 kB / 8.105 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005216/23.8, allocations: 2.11 MB / 8.107 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006137/23.8, allocations: 2.96 MB / 8.11 GB, free: 19.96 MB / 0.6042 GB Notification: The given system is mixed-determined. [index = 1] Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn: algorithm if val.CvData == Buildings.Fluid.Types.CvTypes.OpPoint then val.Kv_SI := 0.1 / sqrt(val.dpValve_nominal); val.Kv := 1138419.957660617 * val.Kv_SI / val.rhoStd; val.Cv := 1315945.114289621 * val.Kv_SI / val.rhoStd; val.Av := val.Kv_SI / sqrt(val.rhoStd); elseif val.CvData == Buildings.Fluid.Types.CvTypes.Kv then val.Kv_SI := 8.784104611578831e-07 * val.Kv * val.rhoStd; val.Cv := 1315945.114289621 * val.Kv_SI / val.rhoStd; val.Av := val.Kv_SI / sqrt(val.rhoStd); val.dpValve_nominal := (0.1 / val.Kv_SI) ^ 2.0; elseif val.CvData == Buildings.Fluid.Types.CvTypes.Cv then val.Kv_SI := 7.599101126188108e-07 * val.Cv * val.rhoStd; val.Kv := 1138419.957660617 * val.Kv_SI / val.rhoStd; val.Av := val.Kv_SI / sqrt(val.rhoStd); val.dpValve_nominal := (0.1 / val.Kv_SI) ^ 2.0; else assert(val.CvData == Buildings.Fluid.Types.CvTypes.Av, "Invalid value for CvData. Obtained CvData = " + String(val.CvData, 0, true) + "."); val.Kv_SI := val.Av * sqrt(val.rhoStd); val.Kv := 1138419.957660617 * val.Kv_SI / val.rhoStd; val.Cv := 1315945.114289621 * val.Kv_SI / val.rhoStd; val.dpValve_nominal := (0.1 / val.Kv_SI) ^ 2.0; end if; Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed Error: No system for the symbolic initialization was generated