Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00132/0.00132, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001273/0.001273, allocations: 192.3 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.268/1.268, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 289 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9103/0.9103, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3649, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.6421/1.007, allocations: 357.7 MB / 1.116 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.09908/1.106, allocations: 75.88 MB / 1.19 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01219/1.118, allocations: 433.5 kB / 1.191 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01577/1.134, allocations: 6.431 MB / 1.197 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03367/1.168, allocations: 14.1 MB / 1.211 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0216/1.189, allocations: 10.18 MB / 1.221 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09/1.279, allocations: 74.32 MB / 1.293 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02559/1.305, allocations: 20.05 MB / 1.313 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8253/2.13, allocations: 17.45 MB / 1.33 GB, free: 65.75 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02699/2.157, allocations: 16.43 MB / 1.346 GB, free: 63.9 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.008966/2.166, allocations: 1.973 MB / 1.348 GB, free: 63.9 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0171/2.183, allocations: 6.062 MB / 1.354 GB, free: 63.9 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.0074/2.191, allocations: 6.525 MB / 1.36 GB, free: 63.17 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.01855/2.209, allocations: 11.22 MB / 1.371 GB, free: 60.25 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.034/2.243, allocations: 31.17 MB / 1.402 GB, free: 56.95 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/2.244, allocations: 3.938 kB / 1.402 GB, free: 56.94 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.944e-06/2.244, allocations: 0 / 1.402 GB, free: 56.94 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0007175/2.244, allocations: 0 / 1.402 GB, free: 56.94 MB / 0.9357 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.05617/2.3, allocations: 23.94 MB / 1.425 GB, free: 48.39 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/2.3, allocations: 7.344 kB / 1.425 GB, free: 48.39 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/2.315, allocations: 3.202 MB / 1.428 GB, free: 47.34 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03544/2.35, allocations: 20.84 MB / 1.449 GB, free: 42.32 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004152/2.351, allocations: 0.6769 MB / 1.449 GB, free: 42.31 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002939/2.353, allocations: 0.9408 MB / 1.45 GB, free: 42.29 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/2.379, allocations: 17.11 MB / 1.467 GB, free: 32.5 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/2.379, allocations: 7.375 kB / 1.467 GB, free: 32.5 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/2.38, allocations: 332.4 kB / 1.467 GB, free: 32.43 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/2.381, allocations: 370.1 kB / 1.468 GB, free: 32.09 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/2.408, allocations: 21.53 MB / 1.489 GB, free: 17.23 MB / 0.9357 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.117/2.525, allocations: 82.93 MB / 1.57 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02038/2.546, allocations: 13.33 MB / 1.583 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01338/2.559, allocations: 9.803 MB / 1.592 GB, free: 5.609 MB / 1.029 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.05964/2.619, allocations: 35.53 MB / 1.627 GB, free: 1.719 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01488/2.634, allocations: 10.24 MB / 1.637 GB, free: 7.41 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01911/2.653, allocations: 5.811 MB / 1.643 GB, free: 1.754 MB / 1.076 GB Notification: Performance of pre-optimization done (n=588): time 2.159e-05/2.653, allocations: 0 / 1.643 GB, free: 1.754 MB / 1.076 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(BuildingSystems.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 BuildingSystems.Fluid.Examples.FlowSystem.Simplified1 could not be translated