Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001123/0.001123, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 180 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7172, allocations: 142.4 MB / 0.9557 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.014/1.731, allocations: 348 MB / 1.296 GB, free: 56.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1067/1.838, allocations: 72.36 MB / 1.366 GB, free: 54.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02253/1.86, allocations: 374.4 kB / 1.367 GB, free: 54.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/1.879, allocations: 4.41 MB / 1.371 GB, free: 54.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04579/1.924, allocations: 12.55 MB / 1.383 GB, free: 47.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02593/1.95, allocations: 8.931 MB / 1.392 GB, free: 41.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05601/2.006, allocations: 48.38 MB / 1.439 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03079/2.037, allocations: 17.24 MB / 1.456 GB, free: 5.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04019/2.077, allocations: 14.17 MB / 1.47 GB, free: 7.539 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03394/2.111, allocations: 15.3 MB / 1.485 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008666/2.12, allocations: 1.062 MB / 1.486 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02322/2.143, allocations: 4.723 MB / 1.49 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01153/2.155, allocations: 4.871 MB / 1.495 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02615/2.181, allocations: 9.241 MB / 1.504 GB, free: 6.188 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03427/2.216, allocations: 21.76 MB / 1.525 GB, free: 1.305 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/2.216, allocations: 3.984 kB / 1.525 GB, free: 1.301 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.987e-06/2.216, allocations: 0 / 1.525 GB, free: 1.301 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.001084/2.217, allocations: 0 / 1.525 GB, free: 1.301 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06016/2.277, allocations: 20.04 MB / 1.545 GB, free: 13.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/2.277, allocations: 12.03 kB / 1.545 GB, free: 13.26 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/2.292, allocations: 2.625 MB / 1.548 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04357/2.336, allocations: 15.69 MB / 1.563 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009501/2.337, allocations: 0.6773 MB / 1.564 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00569/2.343, allocations: 0.9288 MB / 1.564 GB, free: 9.609 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04857/2.391, allocations: 16.58 MB / 1.581 GB, free: 8.844 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004943/2.392, allocations: 7.938 kB / 1.581 GB, free: 8.836 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004722/2.397, allocations: 325.6 kB / 1.581 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005119/2.397, allocations: 371.2 kB / 1.581 GB, free: 8.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04968/2.447, allocations: 21.13 MB / 1.602 GB, free: 3.012 MB / 1.154 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.1664/2.613, allocations: 82.32 MB / 1.682 GB, free: 13.74 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02527/2.639, allocations: 12.92 MB / 1.695 GB, free: 1.059 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01793/2.657, allocations: 9.614 MB / 1.704 GB, free: 7.434 MB / 1.264 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 1.176/3.832, allocations: 35.75 MB / 1.739 GB, free: 0.5017 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02046/3.853, allocations: 9.82 MB / 1.749 GB, free: 0.4984 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03269/3.886, allocations: 9.928 MB / 1.759 GB, free: 0.4974 GB / 1.279 GB Notification: Performance of pre-optimization done (n=576): time 8.047e-05/3.886, allocations: 0 / 1.759 GB, free: 0.4974 GB / 1.279 GB Notification: Performance of matching and sorting (n=868): time 1.067/4.953, allocations: 302.2 MB / 2.054 GB, free: 226.9 MB / 1.279 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1313/5.084, allocations: 55.17 MB / 2.108 GB, free: 170.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0293/5.113, allocations: 14.82 MB / 2.122 GB, free: 155.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.004521/5.118, allocations: 225.6 kB / 2.122 GB, free: 155.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007862/5.126, allocations: 7.201 MB / 2.129 GB, free: 148.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.01283/5.139, allocations: 3.124 MB / 2.132 GB, free: 145 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00629/5.145, allocations: 0.9608 MB / 2.133 GB, free: 144 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/5.145, allocations: 301.1 kB / 2.133 GB, free: 143.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03556/5.181, allocations: 24.31 MB / 2.157 GB, free: 119.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03815/5.219, allocations: 26.96 MB / 2.184 GB, free: 91.39 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07142/5.29, allocations: 44.49 MB / 2.227 GB, free: 46.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-05/5.291, allocations: 16 kB / 2.227 GB, free: 46.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 1.716/7.007, allocations: 155.9 MB / 2.379 GB, free: 428.3 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009195/7.008, allocations: 1.719 MB / 2.381 GB, free: 425.9 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.174e-05/7.008, allocations: 48 kB / 2.381 GB, free: 425.8 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6249/7.633, allocations: 145.5 MB / 2.523 GB, free: 280.1 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01979/7.652, allocations: 3.563 MB / 2.527 GB, free: 276.6 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1618/7.814, allocations: 81.31 MB / 2.606 GB, free: 195.1 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2236/8.038, allocations: 10.93 MB / 2.617 GB, free: 184.2 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008518/8.046, allocations: 1.637 MB / 2.618 GB, free: 182.6 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/8.047, allocations: 4 kB / 2.618 GB, free: 182.6 MB / 1.28 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6369/8.683, allocations: 152.9 MB / 2.768 GB, free: 29.39 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/8.684, allocations: 52.94 kB / 2.768 GB, free: 29.34 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216/9.9, allocations: 144.5 MB / 2.909 GB, free: 406.7 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01767/9.917, allocations: 3.525 MB / 2.912 GB, free: 403.2 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1517/10.07, allocations: 84.88 MB / 2.995 GB, free: 318.4 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.224/10.29, allocations: 10.9 MB / 3.006 GB, free: 307.5 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008129/10.3, allocations: 1.614 MB / 3.007 GB, free: 305.9 MB / 1.28 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.01659/10.32, allocations: 3.978 MB / 3.011 GB, free: 302 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00885/10.33, allocations: 1.472 MB / 3.013 GB, free: 301.3 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2413/10.57, allocations: 69.14 MB / 3.08 GB, free: 232.1 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2536/10.82, allocations: 83.77 MB / 3.162 GB, free: 148.2 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001333/10.82, allocations: 32 kB / 3.162 GB, free: 148.1 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2389/11.06, allocations: 82.65 MB / 3.243 GB, free: 65.3 MB / 1.28 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 postOpt removeSimpleEquations (simulation): time 1.014/12.07, allocations: 207.6 MB / 3.445 GB, free: 376.1 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001267/12.07, allocations: 4 kB / 3.445 GB, free: 376.1 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01344/12.09, allocations: 2.19 MB / 3.448 GB, free: 373.9 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5908/12.68, allocations: 146.6 MB / 3.591 GB, free: 229.2 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004769/12.68, allocations: 0.8103 MB / 3.592 GB, free: 228.3 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2037/12.89, allocations: 120.1 MB / 3.709 GB, free: 108.1 MB / 1.28 GB Warning: The linear system: 1 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[1].dp ; -valSouth2[4].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[4].dp ; -valSouth2[1].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2285:10-2285:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2202:9-2202:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (619): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (61,193)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4560:9-4560:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:764:5-764:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]