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.0012/0.0012, allocations: 116.8 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.001318/0.001318, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.293/1.293, allocations: 222.9 MB / 241 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.002133, allocations: 291 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3657, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.6238/0.9895, allocations: 357.7 MB / 1.116 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.101/1.091, allocations: 75.88 MB / 1.19 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01303/1.104, allocations: 429.6 kB / 1.191 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0168/1.12, allocations: 6.559 MB / 1.197 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03643/1.157, allocations: 14.76 MB / 1.212 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0221/1.179, allocations: 10.2 MB / 1.222 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0922/1.271, allocations: 74.4 MB / 1.294 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02696/1.298, allocations: 20.05 MB / 1.314 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8428/2.141, allocations: 17.48 MB / 1.331 GB, free: 66.03 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02829/2.169, allocations: 16.43 MB / 1.347 GB, free: 64.02 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.007981/2.177, allocations: 1.969 MB / 1.349 GB, free: 64.02 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/2.198, allocations: 6.071 MB / 1.355 GB, free: 64.02 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01078/2.208, allocations: 6.521 MB / 1.361 GB, free: 63.29 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02172/2.23, allocations: 11.22 MB / 1.372 GB, free: 60.37 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04009/2.27, allocations: 31.18 MB / 1.403 GB, free: 57.06 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/2.27, allocations: 0 / 1.403 GB, free: 57.06 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.893e-06/2.27, allocations: 3.562 kB / 1.403 GB, free: 57.06 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001156/2.271, allocations: 0 / 1.403 GB, free: 57.06 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.07221/2.344, allocations: 23.93 MB / 1.426 GB, free: 48.5 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/2.344, allocations: 13.94 kB / 1.426 GB, free: 48.5 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/2.363, allocations: 3.192 MB / 1.429 GB, free: 47.45 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04476/2.408, allocations: 20.86 MB / 1.45 GB, free: 42.21 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/2.409, allocations: 0.6758 MB / 1.45 GB, free: 42.19 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004886/2.413, allocations: 0.9429 MB / 1.451 GB, free: 42.17 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/2.448, allocations: 17.11 MB / 1.468 GB, free: 32.16 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/2.448, allocations: 13 kB / 1.468 GB, free: 32.15 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00215/2.45, allocations: 331.5 kB / 1.468 GB, free: 32.07 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/2.45, allocations: 367.2 kB / 1.468 GB, free: 31.73 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03275/2.483, allocations: 21.54 MB / 1.49 GB, free: 16.88 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.1331/2.616, allocations: 82.93 MB / 1.57 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0232/2.64, allocations: 13.32 MB / 1.583 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01581/2.655, allocations: 9.803 MB / 1.593 GB, free: 5.289 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.0729/2.728, allocations: 35.53 MB / 1.628 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01811/2.746, allocations: 10.24 MB / 1.638 GB, free: 7.086 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02084/2.767, allocations: 5.822 MB / 1.643 GB, free: 1.422 MB / 1.076 GB Notification: Performance of pre-optimization done (n=588): time 2.511e-05/2.767, allocations: 0 / 1.643 GB, free: 1.422 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