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.001401/0.001401, allocations: 113.7 kB / 16.42 MB, free: 6.492 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.001593/0.001593, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 278.9 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.922/0.922, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3715, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Basic): time 0.6304/1.002, allocations: 357.7 MB / 1.116 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1015/1.103, allocations: 75.87 MB / 1.19 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01322/1.117, allocations: 433.6 kB / 1.191 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01711/1.134, allocations: 6.427 MB / 1.197 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0362/1.17, allocations: 14.1 MB / 1.211 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02223/1.192, allocations: 10.19 MB / 1.221 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09103/1.283, allocations: 74.5 MB / 1.294 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0261/1.309, allocations: 20.1 MB / 1.313 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8199/2.129, allocations: 17.53 MB / 1.33 GB, free: 65.3 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02788/2.157, allocations: 16.49 MB / 1.346 GB, free: 63.39 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.008522/2.166, allocations: 1.989 MB / 1.348 GB, free: 63.39 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01913/2.185, allocations: 6.074 MB / 1.354 GB, free: 63.39 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01019/2.195, allocations: 6.563 MB / 1.361 GB, free: 62.65 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02183/2.217, allocations: 11.26 MB / 1.372 GB, free: 59.74 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.03962/2.257, allocations: 31.3 MB / 1.402 GB, free: 56.44 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.257, allocations: 1.031 kB / 1.402 GB, free: 56.44 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.934e-06/2.257, allocations: 2.719 kB / 1.402 GB, free: 56.44 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0007647/2.258, allocations: 0 / 1.402 GB, free: 56.44 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.06144/2.319, allocations: 23.97 MB / 1.426 GB, free: 47.88 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/2.319, allocations: 7.219 kB / 1.426 GB, free: 47.88 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/2.335, allocations: 3.206 MB / 1.429 GB, free: 46.83 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03505/2.37, allocations: 20.89 MB / 1.449 GB, free: 41.67 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/2.371, allocations: 0.6756 MB / 1.45 GB, free: 41.65 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/2.375, allocations: 0.9551 MB / 1.451 GB, free: 41.63 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/2.404, allocations: 17.24 MB / 1.468 GB, free: 31.48 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/2.405, allocations: 12.69 kB / 1.468 GB, free: 31.47 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002194/2.407, allocations: 326 kB / 1.468 GB, free: 31.4 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002481/2.407, allocations: 374.7 kB / 1.468 GB, free: 31.05 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03426/2.441, allocations: 21.62 MB / 1.489 GB, free: 16.13 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.1362/2.578, allocations: 82.11 MB / 1.57 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/2.602, allocations: 13.61 MB / 1.583 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01613/2.618, allocations: 10.29 MB / 1.593 GB, free: 4.148 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.07279/2.691, allocations: 36.13 MB / 1.628 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01986/2.71, allocations: 10.47 MB / 1.638 GB, free: 5.121 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02258/2.733, allocations: 5.83 MB / 1.644 GB, free: 15.45 MB / 1.092 GB Notification: Performance of pre-optimization done (n=612): time 2.895e-05/2.733, allocations: 0 / 1.644 GB, free: 15.45 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