Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001764/0.001764, allocations: 113.6 kB / 16.42 MB, free: 6.004 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.002039/0.002039, allocations: 190.2 kB / 17.35 MB, free: 5.586 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8208, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 1.024/1.845, allocations: 357.7 MB / 1.576 GB, free: 61.64 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.0892/1.934, allocations: 75.87 MB / 1.65 GB, free: 60.61 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01487/1.949, allocations: 433.7 kB / 1.65 GB, free: 60.61 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01702/1.966, allocations: 6.563 MB / 1.657 GB, free: 60.49 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03887/2.005, allocations: 14.76 MB / 1.671 GB, free: 59.9 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02418/2.029, allocations: 10.2 MB / 1.681 GB, free: 58.23 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08924/2.119, allocations: 74.59 MB / 1.754 GB, free: 10.76 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02893/2.147, allocations: 20.12 MB / 1.773 GB, free: 7.227 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0357/2.183, allocations: 17.55 MB / 1.791 GB, free: 6.633 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02847/2.212, allocations: 16.5 MB / 1.807 GB, free: 7.297 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.008056/2.22, allocations: 1.988 MB / 1.809 GB, free: 5.309 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/2.241, allocations: 6.082 MB / 1.815 GB, free: 15.5 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01066/2.251, allocations: 6.554 MB / 1.821 GB, free: 9.18 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.0234/2.275, allocations: 11.27 MB / 1.832 GB, free: 14.1 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05024/2.325, allocations: 31.39 MB / 1.863 GB, free: 15.8 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/2.325, allocations: 0 / 1.863 GB, free: 15.8 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.583e-06/2.325, allocations: 0 / 1.863 GB, free: 15.8 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0008906/2.326, allocations: 0 / 1.863 GB, free: 15.8 MB / 1.389 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.06386/2.39, allocations: 24.62 MB / 1.887 GB, free: 7.312 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/2.39, allocations: 15.91 kB / 1.887 GB, free: 7.297 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/2.408, allocations: 3.29 MB / 1.89 GB, free: 3.992 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04342/2.451, allocations: 21.05 MB / 1.91 GB, free: 15.26 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007206/2.452, allocations: 0.6806 MB / 1.911 GB, free: 14.58 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004385/2.456, allocations: 0.9554 MB / 1.912 GB, free: 13.63 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/2.49, allocations: 17.23 MB / 1.929 GB, free: 12.2 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/2.49, allocations: 11.94 kB / 1.929 GB, free: 12.19 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/2.492, allocations: 326.6 kB / 1.929 GB, free: 11.88 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/2.492, allocations: 367.3 kB / 1.93 GB, free: 11.52 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03703/2.529, allocations: 21.63 MB / 1.951 GB, free: 5.871 MB / 1.467 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.1334/2.662, allocations: 82.19 MB / 2.031 GB, free: 1.32 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/2.685, allocations: 13.61 MB / 2.044 GB, free: 3.695 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01557/2.701, allocations: 10.29 MB / 2.054 GB, free: 9.375 MB / 1.576 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.07003/2.771, allocations: 36.15 MB / 2.09 GB, free: 4.883 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01757/2.789, allocations: 10.49 MB / 2.1 GB, free: 10.33 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02148/2.81, allocations: 5.837 MB / 2.106 GB, free: 4.648 MB / 1.623 GB Notification: Performance of pre-optimization done (n=612): time 4.76e-05/2.81, allocations: 0 / 2.106 GB, free: 4.648 MB / 1.623 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