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.5409/0.5409, allocations: 94.77 MB / 102.3 MB, free: 14.08 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.001149/0.001149, allocations: 175.1 kB / 125.6 MB, free: 7.93 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.571/1.571, allocations: 170.6 MB / 319.4 MB, free: 1.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001689/0.001689, allocations: 119.2 kB / 381.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.749e-05, allocations: 4 kB / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 61.52 MB / 0.4987 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.398/1.574, allocations: 428.5 MB / 0.9171 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/1.575, allocations: 94.5 kB / 0.9172 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.217/3.792, allocations: 474.5 MB / 1.381 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/3.792, allocations: 0 / 1.381 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003095/3.792, allocations: 43.89 kB / 1.381 GB, free: 78.93 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.005522/3.798, allocations: 1.823 MB / 1.382 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/3.798, allocations: 9.312 kB / 1.382 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/3.8, allocations: 232.1 kB / 1.383 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/3.804, allocations: 1.383 MB / 1.384 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/3.804, allocations: 33.28 kB / 1.384 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005445/3.804, allocations: 90.81 kB / 1.384 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002037/3.806, allocations: 0.7361 MB / 1.385 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/3.809, allocations: 1.001 MB / 1.386 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/3.809, allocations: 1.875 kB / 1.386 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/3.809, allocations: 3.719 kB / 1.386 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/3.809, allocations: 27.88 kB / 1.386 GB, free: 77.52 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.008878/3.818, allocations: 5.621 MB / 1.391 GB, free: 74.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/3.818, allocations: 392 kB / 1.392 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/3.819, allocations: 210.5 kB / 1.392 GB, free: 74.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/3.819, allocations: 347.3 kB / 1.392 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/3.819, allocations: 37.66 kB / 1.392 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.545e-06/3.819, allocations: 1.625 kB / 1.392 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.006069/3.825, allocations: 1.708 MB / 1.394 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/3.825, allocations: 139.9 kB / 1.394 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/3.827, allocations: 1.014 MB / 1.395 GB, free: 73.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/3.828, allocations: 40.67 kB / 1.395 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000778/3.828, allocations: 0.7924 MB / 1.396 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/3.829, allocations: 164.9 kB / 1.396 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/3.829, allocations: 15.94 kB / 1.396 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000112/3.829, allocations: 349.8 kB / 1.396 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/3.829, allocations: 373.9 kB / 1.397 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/3.83, allocations: 0.6908 MB / 1.397 GB, free: 72.5 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