Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.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.001147/0.001147, allocations: 111.5 kB / 16.42 MB, free: 6.465 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.001193/0.001193, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.582/2.582, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7028, allocations: 159.9 MB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.9814/1.684, allocations: 357.7 MB / 1.576 GB, free: 61.75 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09002/1.774, allocations: 75.86 MB / 1.65 GB, free: 60.71 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01486/1.789, allocations: 436.6 kB / 1.65 GB, free: 60.71 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01732/1.807, allocations: 6.566 MB / 1.657 GB, free: 60.59 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03631/1.843, allocations: 14.75 MB / 1.671 GB, free: 60.01 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0241/1.867, allocations: 10.2 MB / 1.681 GB, free: 58.27 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0857/1.953, allocations: 74.39 MB / 1.754 GB, free: 11.06 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02546/1.978, allocations: 20.08 MB / 1.773 GB, free: 7.57 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03289/2.011, allocations: 17.48 MB / 1.79 GB, free: 7.051 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02733/2.038, allocations: 16.44 MB / 1.806 GB, free: 7.777 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007265/2.046, allocations: 1.969 MB / 1.808 GB, free: 5.809 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02104/2.067, allocations: 6.065 MB / 1.814 GB, free: 16 kB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01141/2.078, allocations: 6.519 MB / 1.821 GB, free: 9.73 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02214/2.1, allocations: 11.22 MB / 1.832 GB, free: 14.69 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.04693/2.147, allocations: 31.28 MB / 1.862 GB, free: 0.5 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/2.147, allocations: 0 / 1.862 GB, free: 0.5 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.674e-06/2.147, allocations: 4 kB / 1.862 GB, free: 0.4961 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0009009/2.148, allocations: 0 / 1.862 GB, free: 0.4961 MB / 1.373 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.06302/2.211, allocations: 24.58 MB / 1.886 GB, free: 8.047 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/2.211, allocations: 8.031 kB / 1.886 GB, free: 8.039 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/2.229, allocations: 3.298 MB / 1.889 GB, free: 4.727 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04359/2.272, allocations: 21.01 MB / 1.91 GB, free: 32 kB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/2.273, allocations: 0.6763 MB / 1.91 GB, free: 15.36 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/2.277, allocations: 0.9423 MB / 1.911 GB, free: 14.43 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/2.313, allocations: 17.1 MB / 1.928 GB, free: 13.12 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/2.313, allocations: 11.94 kB / 1.928 GB, free: 13.11 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/2.316, allocations: 330.4 kB / 1.928 GB, free: 12.8 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003516/2.316, allocations: 375.3 kB / 1.929 GB, free: 12.43 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03911/2.355, allocations: 21.53 MB / 1.95 GB, free: 6.883 MB / 1.467 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.1377/2.493, allocations: 83.01 MB / 2.031 GB, free: 1.215 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02293/2.516, allocations: 13.33 MB / 2.044 GB, free: 4.133 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01564/2.531, allocations: 9.799 MB / 2.053 GB, free: 10.32 MB / 1.576 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.07138/2.603, allocations: 35.54 MB / 2.088 GB, free: 6.473 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01806/2.621, allocations: 10.26 MB / 2.098 GB, free: 12.14 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02182/2.643, allocations: 5.836 MB / 2.104 GB, free: 6.469 MB / 1.623 GB Notification: Performance of pre-optimization done (n=588): time 4.197e-05/2.643, allocations: 0 / 2.104 GB, free: 6.469 MB / 1.623 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(Buildings.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 Buildings.Fluid.Examples.FlowSystem.Simplified1 could not be translated