Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Basic") translateModel(IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001191/0.001191, allocations: 118.1 kB / 17.09 MB, free: 5.996 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.001123/0.001123, allocations: 189.6 kB / 18.02 MB, free: 5.082 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.212/1.212, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6691/0.6691, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 66.05 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Basic): time 0.5736/0.6906, allocations: 357.6 MB / 0.982 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4842/1.175, allocations: 75.85 MB / 1.056 GB, free: 28.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/1.188, allocations: 432.4 kB / 1.056 GB, free: 28.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01694/1.205, allocations: 6.423 MB / 1.063 GB, free: 28.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03763/1.243, allocations: 14.09 MB / 1.077 GB, free: 28.74 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02008/1.263, allocations: 10.19 MB / 1.086 GB, free: 28.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0809/1.344, allocations: 74.5 MB / 1.159 GB, free: 18.8 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02262/1.366, allocations: 20.09 MB / 1.179 GB, free: 4.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03213/1.399, allocations: 17.54 MB / 1.196 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02812/1.427, allocations: 16.49 MB / 1.212 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006601/1.433, allocations: 1.984 MB / 1.214 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/1.451, allocations: 6.077 MB / 1.22 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.008307/1.46, allocations: 6.56 MB / 1.226 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01854/1.478, allocations: 11.26 MB / 1.237 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.04044/1.519, allocations: 31.3 MB / 1.268 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.519, allocations: 4 kB / 1.268 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.805e-06/1.519, allocations: 0 / 1.268 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0006612/1.519, allocations: 3.938 kB / 1.268 GB, free: 1.762 MB / 0.8731 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.0515/1.571, allocations: 23.97 MB / 1.291 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.571, allocations: 8.031 kB / 1.291 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/1.585, allocations: 3.208 MB / 1.294 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03818/1.623, allocations: 20.89 MB / 1.315 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006448/1.624, allocations: 0.6786 MB / 1.316 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004249/1.628, allocations: 0.9573 MB / 1.316 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/1.66, allocations: 17.23 MB / 1.333 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/1.66, allocations: 11.92 kB / 1.333 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/1.662, allocations: 327 kB / 1.334 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002891/1.662, allocations: 379.3 kB / 1.334 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/1.694, allocations: 21.63 MB / 1.355 GB, free: 8.625 MB / 0.9669 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.5086/2.202, allocations: 82.09 MB / 1.435 GB, free: 195.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/2.222, allocations: 13.6 MB / 1.449 GB, free: 195.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01225/2.234, allocations: 10.3 MB / 1.459 GB, free: 195.5 MB / 1.014 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.05294/2.287, allocations: 36.13 MB / 1.494 GB, free: 187.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01244/2.299, allocations: 10.47 MB / 1.504 GB, free: 187.5 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01723/2.317, allocations: 5.83 MB / 1.51 GB, free: 187.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=612): time 2.646e-05/2.317, allocations: 0 / 1.51 GB, free: 187.5 MB / 1.014 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(IBPSA.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 IBPSA.Fluid.Examples.FlowSystem.Basic could not be translated