Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001459, allocations: 114.5 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 188.3 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7209, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.3159/1.037, allocations: 357.7 MB / 1.517 GB, free: 13.02 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.8508/1.888, allocations: 75.85 MB / 1.591 GB, free: 61.86 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01764/1.905, allocations: 432.5 kB / 1.591 GB, free: 61.86 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01668/1.922, allocations: 6.558 MB / 1.597 GB, free: 61.85 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03548/1.958, allocations: 14.74 MB / 1.612 GB, free: 61.32 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02311/1.981, allocations: 10.2 MB / 1.622 GB, free: 60.98 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09524/2.076, allocations: 74.6 MB / 1.695 GB, free: 52.61 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02737/2.103, allocations: 20.12 MB / 1.714 GB, free: 36.71 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03233/2.136, allocations: 17.56 MB / 1.732 GB, free: 20.59 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02474/2.16, allocations: 16.49 MB / 1.748 GB, free: 5.27 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.007255/2.168, allocations: 1.996 MB / 1.75 GB, free: 3.277 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01938/2.187, allocations: 6.071 MB / 1.755 GB, free: 13.48 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0102/2.197, allocations: 6.559 MB / 1.762 GB, free: 7.152 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02251/2.22, allocations: 11.26 MB / 1.773 GB, free: 12.09 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04614/2.266, allocations: 31.4 MB / 1.804 GB, free: 13.77 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/2.266, allocations: 0 / 1.804 GB, free: 13.77 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.453e-06/2.266, allocations: 4 kB / 1.804 GB, free: 13.77 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0008749/2.267, allocations: 0 / 1.804 GB, free: 13.77 MB / 1.342 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06427/2.331, allocations: 24.6 MB / 1.828 GB, free: 5.312 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/2.331, allocations: 8.922 kB / 1.828 GB, free: 5.305 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/2.349, allocations: 3.301 MB / 1.831 GB, free: 1.988 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04582/2.395, allocations: 21.05 MB / 1.851 GB, free: 13.25 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007826/2.396, allocations: 0.6819 MB / 1.852 GB, free: 12.58 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004802/2.401, allocations: 0.953 MB / 1.853 GB, free: 11.63 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04036/2.441, allocations: 17.23 MB / 1.87 GB, free: 10.2 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003494/2.441, allocations: 23.88 kB / 1.87 GB, free: 10.18 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003274/2.445, allocations: 325.9 kB / 1.87 GB, free: 9.867 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000371/2.445, allocations: 371.3 kB / 1.87 GB, free: 9.504 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04265/2.488, allocations: 21.62 MB / 1.892 GB, free: 3.867 MB / 1.42 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.1423/2.63, allocations: 82.2 MB / 1.972 GB, free: 15.51 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02451/2.655, allocations: 13.62 MB / 1.985 GB, free: 1.879 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0171/2.672, allocations: 10.29 MB / 1.995 GB, free: 7.562 MB / 1.529 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.07578/2.748, allocations: 36.15 MB / 2.031 GB, free: 3.066 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01943/2.767, allocations: 10.47 MB / 2.041 GB, free: 8.531 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02057/2.788, allocations: 5.846 MB / 2.046 GB, free: 2.848 MB / 1.576 GB Notification: Performance of pre-optimization done (n=612): time 3.354e-05/2.788, allocations: 0 / 2.046 GB, free: 2.848 MB / 1.576 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: tabsNorth2[8].dp = homotopy(Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(tabsNorth2[8].m_flow, tabsNorth2[8].k, tabsNorth2[8].m_flow_turbulent), 5e4 * tabsNorth2[8].m_flow / tabsNorth2[8].m_flow_nominal_pos) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Examples.FlowSystem.Basic could not be translated