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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.494/0.494, allocations: 87.5 MB / 104.9 MB, free: 13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001387, allocations: 115.2 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009608/0.0009609, allocations: 59.91 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.327, allocations: 70.06 MB / 0.5575 GB, free: 44.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Basic): time 0.7793/1.106, allocations: 353 MB / 0.9022 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.5429/1.649, allocations: 73.02 MB / 0.9735 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02003/1.669, allocations: 397.7 kB / 0.9739 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0195/1.689, allocations: 4.422 MB / 0.9782 GB, free: 19.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.04633/1.735, allocations: 12.54 MB / 0.9905 GB, free: 19.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.02698/1.762, allocations: 8.903 MB / 0.9991 GB, free: 18.91 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.07007/1.833, allocations: 48.82 MB / 1.047 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03279/1.865, allocations: 17.59 MB / 1.064 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04016/1.906, allocations: 14.77 MB / 1.078 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0322/1.938, allocations: 15.81 MB / 1.094 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.009618/1.948, allocations: 1.219 MB / 1.095 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0241/1.972, allocations: 4.885 MB / 1.1 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.01162/1.983, allocations: 5.143 MB / 1.105 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.02589/2.009, allocations: 9.559 MB / 1.114 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0542/2.063, allocations: 28.1 MB / 1.142 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/2.064, allocations: 0 / 1.142 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.755e-06/2.064, allocations: 0 / 1.142 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001554/2.065, allocations: 0 / 1.142 GB, free: 9.016 MB / 0.7292 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.07656/2.142, allocations: 22.18 MB / 1.163 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/2.142, allocations: 12.03 kB / 1.163 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/2.158, allocations: 2.582 MB / 1.166 GB, free: 300 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04109/2.199, allocations: 15.72 MB / 1.181 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007982/2.2, allocations: 0.6899 MB / 1.182 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005174/2.205, allocations: 0.9468 MB / 1.183 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04228/2.247, allocations: 16.7 MB / 1.199 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003637/2.247, allocations: 11.94 kB / 1.199 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003617/2.251, allocations: 326.4 kB / 1.199 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000419/2.252, allocations: 367.2 kB / 1.2 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04348/2.295, allocations: 21.2 MB / 1.22 GB, free: 8.449 MB / 0.8073 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 1.037/3.332, allocations: 79.92 MB / 1.298 GB, free: 153.5 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02401/3.356, allocations: 13.19 MB / 1.311 GB, free: 153.1 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01702/3.373, allocations: 10.09 MB / 1.321 GB, free: 153 MB / 0.8387 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.08313/3.456, allocations: 35.1 MB / 1.355 GB, free: 142.4 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0187/3.475, allocations: 10.04 MB / 1.365 GB, free: 138.3 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02723/3.502, allocations: 8.574 MB / 1.374 GB, free: 135 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=600): time 5.139e-05/3.502, allocations: 0 / 1.374 GB, free: 135 MB / 0.8387 GB Notification: Performance of matching and sorting (n=916): time 1.572/5.074, allocations: 249.6 MB / 1.617 GB, free: 448.1 MB / 0.9013 GB Warning: The linear system: 1 : valNorth2[7].dp = valNorth2[2].port_a.p - valNorth2[7].port_b.p 2 : valNorth2[5].dp = valNorth2[2].port_a.p - valNorth2[5].port_b.p 3 : tabsNorth2[5].dp = valNorth2[5].port_b.p - tabsSouth1[1].port_b.p 4 : tabsNorth2[7].dp = valNorth2[7].port_b.p - tabsSouth1[1].port_b.p [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2[7].port_b.p ; tabsSouth1[1].port_b.p ; valNorth2[5].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[7].dp ; -valNorth2[5].dp ; -tabsNorth2[5].dp ; -tabsNorth2[7].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.p since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : 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 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[2].m_flow ; tabsSouth1[1].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 ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].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 : valNorth2[7].dp = valNorth2[2].port_a.p - valNorth2[7].port_b.p 2 : tabsNorth2[7].dp = valNorth2[7].port_b.p - tabsSouth1[1].port_b.p 3 : tabsNorth2[5].dp = valNorth2[5].port_b.p - tabsSouth1[1].port_b.p 4 : valNorth2[5].dp = valNorth2[2].port_a.p - valNorth2[5].port_b.p [ -1.0 , 0.0 , 0.0 , 1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , -1.0 , 1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2[2].port_a.p ; valNorth2[5].port_b.p ; tabsSouth1[1].port_b.p ; valNorth2[7].port_b.p ] = [ -valNorth2[7].dp ; -tabsNorth2[7].dp ; -tabsNorth2[5].dp ; -valNorth2[5].dp ] might be structurally or numerically singular for variable valNorth2[7].port_b.p since U(4,4) = 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 : valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 2 : tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 3 : tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 4 : valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 [ -1.0 , 0.0 , 0.0 , 1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , -1.0 , 1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ -valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : 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 2 : 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 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ 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 ; pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 2 : valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 3 : tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 4 : tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ -valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : 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 2 : 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 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ 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 ; pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ] 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.1748/5.249, allocations: 58.35 MB / 1.674 GB, free: 406.4 MB / 0.9013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02621/5.275, allocations: 14.76 MB / 1.689 GB, free: 391.9 MB / 0.9013 GB Notification: Performance of collectPreVariables (initialization): time 0.004791/5.28, allocations: 237.7 kB / 1.689 GB, free: 391.6 MB / 0.9013 GB Notification: Performance of collectInitialEqns (initialization): time 0.008183/5.288, allocations: 7.144 MB / 1.696 GB, free: 385.6 MB / 0.9013 GB Notification: Performance of collectInitialBindings (initialization): time 0.01239/5.301, allocations: 3.295 MB / 1.699 GB, free: 383.3 MB / 0.9013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01762/5.318, allocations: 4.138 MB / 1.703 GB, free: 379.1 MB / 0.9013 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/5.319, allocations: 313.1 kB / 1.704 GB, free: 378.8 MB / 0.9013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03314/5.352, allocations: 24.58 MB / 1.728 GB, free: 354.2 MB / 0.9013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03728/5.389, allocations: 27.24 MB / 1.754 GB, free: 326 MB / 0.9013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06843/5.457, allocations: 44.86 MB / 1.798 GB, free: 280.4 MB / 0.9013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.482e-05/5.458, allocations: 12 kB / 1.798 GB, free: 280.4 MB / 0.9013 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.6291/6.087, allocations: 145.1 MB / 1.94 GB, free: 135.2 MB / 0.9013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/6.087, allocations: 50.7 kB / 1.94 GB, free: 135.1 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.607e-05/6.087, allocations: 44 kB / 1.94 GB, free: 135.1 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6109/6.698, allocations: 124.4 MB / 2.061 GB, free: 10.72 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/6.717, allocations: 3.373 MB / 2.065 GB, free: 7.344 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4847/7.201, allocations: 82.48 MB / 2.145 GB, free: 415.2 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.223/7.424, allocations: 10.89 MB / 2.156 GB, free: 411.1 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007322/7.432, allocations: 1.636 MB / 2.157 GB, free: 410 MB / 0.9013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04181/7.474, allocations: 27.55 MB / 2.184 GB, free: 391.5 MB / 0.9013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.036/7.51, allocations: 26.69 MB / 2.21 GB, free: 363.8 MB / 0.9013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06239/7.572, allocations: 43.75 MB / 2.253 GB, free: 319.4 MB / 0.9013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.295e-05/7.572, allocations: 12 kB / 2.253 GB, free: 319.4 MB / 0.9013 GB Notification: Performance of matching and sorting (n=1408) (initialization_lambda0): time 0.6251/8.197, allocations: 143 MB / 2.393 GB, free: 177.3 MB / 0.9013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001713/8.198, allocations: 50.64 kB / 2.393 GB, free: 177.2 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/8.198, allocations: 46.95 kB / 2.393 GB, free: 177.2 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5975/8.795, allocations: 124.3 MB / 2.514 GB, free: 53.15 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/8.812, allocations: 3.314 MB / 2.517 GB, free: 49.83 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4697/9.281, allocations: 88.65 MB / 2.604 GB, free: 413.4 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2154/9.497, allocations: 10.93 MB / 2.615 GB, free: 413 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007495/9.504, allocations: 1.596 MB / 2.616 GB, free: 412.9 MB / 0.9013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (952): * Single equations (assignments): 934 * 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 {(33,119), (33,119)} Notification: Performance of prepare postOptimizeDAE: time 0.009286/9.514, allocations: 0.7364 MB / 2.617 GB, free: 412.5 MB / 0.9013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008629/9.522, allocations: 1.48 MB / 2.618 GB, free: 412.5 MB / 0.9013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2412/9.763, allocations: 70.09 MB / 2.687 GB, free: 370.7 MB / 0.9013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2483/10.01, allocations: 84.57 MB / 2.769 GB, free: 286.2 MB / 0.9013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001806/10.01, allocations: 28 kB / 2.769 GB, free: 286.2 MB / 0.9013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2303/10.24, allocations: 83.44 MB / 2.851 GB, free: 202.7 MB / 0.9013 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 0.6658/10.91, allocations: 209.5 MB / 3.055 GB, free: 414.4 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001052/10.91, allocations: 3.969 kB / 3.055 GB, free: 414.4 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01258/10.92, allocations: 2.085 MB / 3.058 GB, free: 414.4 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6132/11.53, allocations: 147.4 MB / 3.201 GB, free: 330.7 MB / 0.9013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005476/11.54, allocations: 0.8157 MB / 3.202 GB, free: 330 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1284/11.67, allocations: 71.73 MB / 3.272 GB, free: 259.2 MB / 0.9013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1049/11.77, allocations: 48.88 MB / 3.32 GB, free: 210.1 MB / 0.9013 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.