Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001079/0.001079, allocations: 112 kB / 16.42 MB, free: 6.516 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.001047/0.001047, allocations: 187.9 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.281/1.281, 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.00214/0.00214, allocations: 295.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9175/0.9175, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 95.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3691, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Basic): time 0.638/1.007, allocations: 357.7 MB / 1.116 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.09882/1.106, allocations: 75.87 MB / 1.19 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/1.119, allocations: 433.5 kB / 1.191 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01634/1.135, allocations: 6.564 MB / 1.197 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03769/1.173, allocations: 14.76 MB / 1.212 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02359/1.196, allocations: 10.2 MB / 1.222 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09591/1.292, allocations: 74.6 MB / 1.294 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02745/1.32, allocations: 20.1 MB / 1.314 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8159/2.136, allocations: 17.55 MB / 1.331 GB, free: 65.77 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02738/2.163, allocations: 16.49 MB / 1.347 GB, free: 63.68 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.008429/2.172, allocations: 1.989 MB / 1.349 GB, free: 63.68 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01925/2.191, allocations: 6.077 MB / 1.355 GB, free: 63.68 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01018/2.201, allocations: 6.56 MB / 1.362 GB, free: 62.95 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02072/2.222, allocations: 11.26 MB / 1.373 GB, free: 60.04 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.03781/2.26, allocations: 31.3 MB / 1.403 GB, free: 56.72 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/2.26, allocations: 3.094 kB / 1.403 GB, free: 56.72 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.553e-06/2.26, allocations: 0 / 1.403 GB, free: 56.72 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0009451/2.261, allocations: 0 / 1.403 GB, free: 56.72 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.06436/2.325, allocations: 23.97 MB / 1.427 GB, free: 48.17 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/2.325, allocations: 10.59 kB / 1.427 GB, free: 48.17 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/2.341, allocations: 3.195 MB / 1.43 GB, free: 47.12 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03864/2.38, allocations: 20.9 MB / 1.45 GB, free: 41.91 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/2.381, allocations: 0.6794 MB / 1.451 GB, free: 41.89 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00363/2.384, allocations: 0.9489 MB / 1.452 GB, free: 41.87 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/2.412, allocations: 17.24 MB / 1.469 GB, free: 31.45 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/2.412, allocations: 16.94 kB / 1.469 GB, free: 31.44 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/2.413, allocations: 336.1 kB / 1.469 GB, free: 31.36 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/2.414, allocations: 369.5 kB / 1.469 GB, free: 31.02 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03112/2.445, allocations: 21.62 MB / 1.49 GB, free: 16.09 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.1336/2.578, allocations: 82.11 MB / 1.571 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/2.602, allocations: 13.6 MB / 1.584 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01657/2.618, allocations: 10.3 MB / 1.594 GB, free: 4.18 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.07211/2.69, allocations: 36.13 MB / 1.629 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01688/2.707, allocations: 10.47 MB / 1.639 GB, free: 5.145 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02087/2.728, allocations: 5.831 MB / 1.645 GB, free: 15.47 MB / 1.092 GB Notification: Performance of pre-optimization done (n=612): time 2.315e-05/2.728, allocations: 0 / 1.645 GB, free: 15.47 MB / 1.092 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(BuildingSystems.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 BuildingSystems.Fluid.Examples.FlowSystem.Basic could not be translated