Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5329/0.5329, allocations: 94.69 MB / 107.2 MB, free: 5.18 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.001713/0.001713, allocations: 175.6 kB / 130.7 MB, free: 7.539 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.667/1.667, allocations: 170.5 MB / 324.5 MB, free: 4 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.001762/0.001762, allocations: 106.6 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.11e-05, allocations: 4 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5178, allocations: 61.51 MB / 0.5054 GB, free: 49.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.734, allocations: 428.8 MB / 0.9241 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/1.734, allocations: 95.97 kB / 0.9242 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.84/3.574, allocations: 477.5 MB / 1.39 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.472e-06/3.574, allocations: 0 / 1.39 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001373/3.574, allocations: 37.34 kB / 1.391 GB, free: 81.15 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002821/3.577, allocations: 1.829 MB / 1.392 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/3.577, allocations: 11.06 kB / 1.392 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/3.578, allocations: 226.6 kB / 1.393 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/3.58, allocations: 1.38 MB / 1.394 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/3.58, allocations: 94.77 kB / 1.394 GB, free: 79.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/3.58, allocations: 136.8 kB / 1.394 GB, free: 79.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/3.582, allocations: 1.181 MB / 1.395 GB, free: 79.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/3.582, allocations: 3.188 kB / 1.395 GB, free: 79.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/3.582, allocations: 44.88 kB / 1.395 GB, free: 79.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/3.582, allocations: 26.22 kB / 1.395 GB, free: 79.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/3.584, allocations: 0.8233 MB / 1.396 GB, free: 79.46 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.007091/3.591, allocations: 5.892 MB / 1.402 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/3.592, allocations: 415 kB / 1.402 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/3.592, allocations: 219.7 kB / 1.402 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/3.592, allocations: 347.3 kB / 1.403 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/3.592, allocations: 40.16 kB / 1.403 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 3.837e-06/3.592, allocations: 0 / 1.403 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.004456/3.597, allocations: 1.619 MB / 1.404 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/3.597, allocations: 143.4 kB / 1.405 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/3.599, allocations: 1.325 MB / 1.406 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/3.599, allocations: 59.36 kB / 1.406 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/3.6, allocations: 0.7689 MB / 1.407 GB, free: 73.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/3.6, allocations: 168.6 kB / 1.407 GB, free: 73.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/3.6, allocations: 33.94 kB / 1.407 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/3.6, allocations: 342.9 kB / 1.407 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/3.601, allocations: 404.8 kB / 1.408 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008904/3.602, allocations: 0.7158 MB / 1.408 GB, free: 72.53 MB / 0.5261 GB Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn: algorithm if valLin.CvData == Buildings.Fluid.Types.CvTypes.OpPoint then valLin.Kv_SI := valLin.m_flow_nominal / sqrt(valLin.dpValve_nominal); valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); elseif valLin.CvData == Buildings.Fluid.Types.CvTypes.Kv then valLin.Kv_SI := 8.784104611578831e-07 * valLin.Kv * valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; elseif valLin.CvData == Buildings.Fluid.Types.CvTypes.Cv then valLin.Kv_SI := 7.599101126188108e-07 * valLin.Cv * valLin.rhoStd; valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; else assert(valLin.CvData == Buildings.Fluid.Types.CvTypes.Av, "Invalid value for CvData. Obtained CvData = " + String(valLin.CvData, 0, true) + "."); valLin.Kv_SI := valLin.Av * sqrt(valLin.rhoStd); valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; end if; Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed Error: No system for the symbolic initialization was generated