Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001387/0.001387, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.337/1.337, allocations: 222.9 MB / 241 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.383/2.383, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.11 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6991, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.3319/1.031, allocations: 357.7 MB / 1.517 GB, free: 12.92 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.7866/1.818, allocations: 75.84 MB / 1.591 GB, free: 61.85 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01427/1.832, allocations: 430.6 kB / 1.591 GB, free: 61.85 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01599/1.848, allocations: 6.56 MB / 1.598 GB, free: 61.84 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03479/1.883, allocations: 14.75 MB / 1.612 GB, free: 61.3 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02144/1.904, allocations: 10.2 MB / 1.622 GB, free: 60.96 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08868/1.993, allocations: 74.39 MB / 1.695 GB, free: 52.73 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02772/2.021, allocations: 20.04 MB / 1.714 GB, free: 36.94 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.031/2.052, allocations: 17.5 MB / 1.731 GB, free: 20.87 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02456/2.076, allocations: 16.43 MB / 1.747 GB, free: 5.598 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008225/2.085, allocations: 1.969 MB / 1.749 GB, free: 3.629 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02031/2.105, allocations: 6.059 MB / 1.755 GB, free: 13.84 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01043/2.115, allocations: 6.519 MB / 1.761 GB, free: 7.555 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02422/2.14, allocations: 11.23 MB / 1.772 GB, free: 12.51 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04741/2.187, allocations: 31.16 MB / 1.803 GB, free: 14.45 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/2.187, allocations: 0 / 1.803 GB, free: 14.45 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.664e-06/2.187, allocations: 0 / 1.803 GB, free: 14.45 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0009204/2.188, allocations: 0 / 1.803 GB, free: 14.45 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.07178/2.26, allocations: 23.94 MB / 1.826 GB, free: 6.555 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/2.26, allocations: 8.922 kB / 1.826 GB, free: 6.547 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/2.278, allocations: 3.193 MB / 1.829 GB, free: 3.328 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04757/2.325, allocations: 20.86 MB / 1.85 GB, free: 14.77 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007686/2.326, allocations: 0.6728 MB / 1.85 GB, free: 14.11 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/2.331, allocations: 0.9387 MB / 1.851 GB, free: 13.17 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03845/2.369, allocations: 17.11 MB / 1.868 GB, free: 11.86 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/2.37, allocations: 11.94 kB / 1.868 GB, free: 11.85 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003031/2.373, allocations: 327.7 kB / 1.868 GB, free: 11.54 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003922/2.373, allocations: 375.3 kB / 1.869 GB, free: 11.17 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03889/2.412, allocations: 21.53 MB / 1.89 GB, free: 5.621 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.1373/2.549, allocations: 82.93 MB / 1.971 GB, free: 264 kB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/2.571, allocations: 13.3 MB / 1.984 GB, free: 3.211 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01472/2.586, allocations: 9.801 MB / 1.993 GB, free: 9.398 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.07263/2.659, allocations: 35.53 MB / 2.028 GB, free: 5.543 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01846/2.677, allocations: 10.25 MB / 2.038 GB, free: 11.23 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02117/2.699, allocations: 5.832 MB / 2.044 GB, free: 5.555 MB / 1.576 GB Notification: Performance of pre-optimization done (n=588): time 3.069e-05/2.699, allocations: 0 / 2.044 GB, free: 5.555 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: valNorth2[7].dp = homotopy(Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(tabsNorth2[7].m_flow, valNorth2[7].k, valNorth2[7].m_flow_turbulent), valNorth2[7].dp_nominal_pos * tabsNorth2[7].m_flow / valNorth2[7].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.Simplified1 could not be translated