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.5286/0.5286, allocations: 95.61 MB / 110.6 MB, free: 9.223 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.001152/0.001152, allocations: 173.4 kB / 134.2 MB, free: 2.16 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.473/1.473, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001946/0.001946, allocations: 112.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.182, allocations: 428.9 MB / 0.9308 GB, free: 360 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/1.182, allocations: 103.9 kB / 0.9309 GB, free: 256 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.848/3.031, allocations: 479 MB / 1.399 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/3.031, allocations: 0 / 1.399 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001432/3.031, allocations: 42.58 kB / 1.399 GB, free: 83.91 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.003896/3.035, allocations: 2.099 MB / 1.401 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/3.035, allocations: 14.95 kB / 1.401 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/3.036, allocations: 236 kB / 1.401 GB, free: 82.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/3.038, allocations: 1.399 MB / 1.402 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/3.038, allocations: 97.36 kB / 1.402 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/3.039, allocations: 131.1 kB / 1.403 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/3.041, allocations: 1.228 MB / 1.404 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/3.041, allocations: 5.953 kB / 1.404 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/3.041, allocations: 43.03 kB / 1.404 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/3.041, allocations: 26.16 kB / 1.404 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/3.043, allocations: 0.9012 MB / 1.405 GB, free: 82.23 MB / 0.5261 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.007128/3.05, allocations: 5.883 MB / 1.41 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/3.051, allocations: 464.2 kB / 1.411 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/3.051, allocations: 340.7 kB / 1.411 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/3.051, allocations: 45.88 kB / 1.411 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/3.051, allocations: 0 / 1.411 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005132/3.056, allocations: 1.925 MB / 1.413 GB, free: 78.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/3.057, allocations: 139.8 kB / 1.413 GB, free: 78.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/3.058, allocations: 1.351 MB / 1.415 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/3.059, allocations: 48.2 kB / 1.415 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/3.059, allocations: 0.775 MB / 1.415 GB, free: 77.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/3.059, allocations: 172.2 kB / 1.416 GB, free: 77.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/3.059, allocations: 26.88 kB / 1.416 GB, free: 77.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001165/3.059, allocations: 343.3 kB / 1.416 GB, free: 77.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/3.06, allocations: 437.9 kB / 1.416 GB, free: 77.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/3.061, allocations: 0.7622 MB / 1.417 GB, free: 77.05 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