Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") translateModel(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001641/0.001641, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 404.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 111.5 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1255, allocations: 80.42 MB / 0.6421 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 0.9057/1.031, allocations: 353 MB / 0.9868 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.07956/1.111, allocations: 73 MB / 1.058 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0141/1.125, allocations: 394.2 kB / 1.058 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01315/1.138, allocations: 4.418 MB / 1.063 GB, free: 43.92 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.032/1.17, allocations: 12.54 MB / 1.075 GB, free: 36.88 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02004/1.19, allocations: 8.88 MB / 1.084 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0452/1.236, allocations: 48.78 MB / 1.131 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02687/1.262, allocations: 17.58 MB / 1.149 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03233/1.295, allocations: 14.75 MB / 1.163 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02658/1.321, allocations: 15.8 MB / 1.178 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.007951/1.329, allocations: 1.223 MB / 1.18 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02001/1.349, allocations: 4.886 MB / 1.184 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.009658/1.359, allocations: 5.128 MB / 1.189 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.01968/1.379, allocations: 9.557 MB / 1.199 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.04353/1.422, allocations: 28.09 MB / 1.226 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.422, allocations: 4 kB / 1.226 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.346e-06/1.423, allocations: 0 / 1.226 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009417/1.423, allocations: 3.938 kB / 1.226 GB, free: 6.195 MB / 0.7917 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.06464/1.488, allocations: 22.18 MB / 1.248 GB, free: 88 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.488, allocations: 8.031 kB / 1.248 GB, free: 80 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/1.499, allocations: 2.242 MB / 1.25 GB, free: 13.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5467/2.046, allocations: 15.6 MB / 1.265 GB, free: 360.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008481/2.047, allocations: 0.6866 MB / 1.266 GB, free: 360.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004618/2.052, allocations: 0.9372 MB / 1.267 GB, free: 360.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/2.092, allocations: 16.59 MB / 1.283 GB, free: 354.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/2.093, allocations: 24.48 kB / 1.283 GB, free: 354.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004363/2.097, allocations: 324.2 kB / 1.283 GB, free: 354.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005166/2.098, allocations: 364.5 kB / 1.284 GB, free: 354.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03802/2.136, allocations: 21.01 MB / 1.304 GB, free: 346 MB / 0.823 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.1279/2.264, allocations: 79.67 MB / 1.382 GB, free: 272.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/2.283, allocations: 13 MB / 1.395 GB, free: 259.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01311/2.297, allocations: 10.02 MB / 1.404 GB, free: 249.7 MB / 0.823 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.06756/2.364, allocations: 34.99 MB / 1.439 GB, free: 214.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01593/2.38, allocations: 9.944 MB / 1.448 GB, free: 204.9 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02777/2.408, allocations: 8.57 MB / 1.457 GB, free: 197 MB / 0.823 GB Notification: Performance of pre-optimization done (n=600): time 5.395e-05/2.408, allocations: 0 / 1.457 GB, free: 197 MB / 0.823 GB Notification: Performance of matching and sorting (n=916): time 1.513/3.921, allocations: 249.2 MB / 1.7 GB, free: 311.5 MB / 0.8231 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.1234/4.044, allocations: 58.34 MB / 1.757 GB, free: 273.9 MB / 0.8231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02998/4.074, allocations: 14.76 MB / 1.771 GB, free: 260.8 MB / 0.8231 GB Notification: Performance of collectPreVariables (initialization): time 0.004903/4.079, allocations: 245.5 kB / 1.772 GB, free: 260.5 MB / 0.8231 GB Notification: Performance of collectInitialEqns (initialization): time 0.009199/4.089, allocations: 7.132 MB / 1.779 GB, free: 254.6 MB / 0.8231 GB Notification: Performance of collectInitialBindings (initialization): time 0.01256/4.101, allocations: 3.292 MB / 1.782 GB, free: 251.9 MB / 0.8231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01992/4.121, allocations: 4.142 MB / 1.786 GB, free: 247.7 MB / 0.8231 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/4.121, allocations: 301.1 kB / 1.786 GB, free: 247.4 MB / 0.8231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03375/4.155, allocations: 24.5 MB / 1.81 GB, free: 222.9 MB / 0.8231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03606/4.191, allocations: 27.16 MB / 1.837 GB, free: 194.7 MB / 0.8231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06386/4.255, allocations: 44.7 MB / 1.88 GB, free: 149.3 MB / 0.8231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-05/4.255, allocations: 12 kB / 1.88 GB, free: 149.3 MB / 0.8231 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.9537/5.209, allocations: 144.9 MB / 2.022 GB, free: 298.2 MB / 0.8231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/5.209, allocations: 51.39 kB / 2.022 GB, free: 298.2 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/5.209, allocations: 48.64 kB / 2.022 GB, free: 298.2 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5888/5.798, allocations: 124.4 MB / 2.143 GB, free: 243.2 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01824/5.816, allocations: 3.324 MB / 2.147 GB, free: 240 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1697/5.986, allocations: 82.49 MB / 2.227 GB, free: 157.4 MB / 0.8231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2231/6.209, allocations: 10.86 MB / 2.238 GB, free: 146.6 MB / 0.8231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008005/6.217, allocations: 1.637 MB / 2.239 GB, free: 145 MB / 0.8231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04382/6.261, allocations: 27.45 MB / 2.266 GB, free: 117.5 MB / 0.8231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03431/6.295, allocations: 26.6 MB / 2.292 GB, free: 89.91 MB / 0.8231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06166/6.357, allocations: 43.59 MB / 2.335 GB, free: 45.6 MB / 0.8231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.488e-05/6.357, allocations: 12 kB / 2.335 GB, free: 45.59 MB / 0.8231 GB Notification: Performance of matching and sorting (n=1408) (initialization_lambda0): time 0.9712/7.328, allocations: 142.8 MB / 2.474 GB, free: 258.4 MB / 0.8231 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-05/7.328, allocations: 53.7 kB / 2.474 GB, free: 258.4 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.653e-05/7.329, allocations: 48.84 kB / 2.474 GB, free: 258.3 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5666/7.895, allocations: 124.3 MB / 2.596 GB, free: 134.4 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01666/7.912, allocations: 3.284 MB / 2.599 GB, free: 131.1 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1709/8.083, allocations: 88.66 MB / 2.685 GB, free: 42.64 MB / 0.8231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.221/8.304, allocations: 10.9 MB / 2.696 GB, free: 31.79 MB / 0.8231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006922/8.311, allocations: 1.598 MB / 2.698 GB, free: 30.19 MB / 0.8231 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.007891/8.319, allocations: 0.7231 MB / 2.698 GB, free: 29.46 MB / 0.8231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007315/8.326, allocations: 1.484 MB / 2.7 GB, free: 28.5 MB / 0.8231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5722/8.898, allocations: 69.9 MB / 2.768 GB, free: 292.3 MB / 0.8231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2512/9.149, allocations: 84.39 MB / 2.851 GB, free: 225.9 MB / 0.8231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002381/9.15, allocations: 28 kB / 2.851 GB, free: 225.9 MB / 0.8231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2369/9.387, allocations: 83.27 MB / 2.932 GB, free: 142.7 MB / 0.8231 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.7182/10.1, allocations: 209.2 MB / 3.136 GB, free: 266.7 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/10.11, allocations: 0.75 kB / 3.136 GB, free: 266.7 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/10.12, allocations: 2.051 MB / 3.138 GB, free: 266.6 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5821/10.7, allocations: 147.4 MB / 3.282 GB, free: 130.6 MB / 0.8231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004145/10.7, allocations: 0.8181 MB / 3.283 GB, free: 129.8 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1246/10.83, allocations: 71.73 MB / 3.353 GB, free: 58.03 MB / 0.8231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4378/11.27, allocations: 48.86 MB / 3.401 GB, free: 282.5 MB / 0.8231 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.