Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8228/0.8228, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 188.5 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001054, allocations: 99.75 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 274.4 kB / 0.5973 GB, free: 49.41 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 83.88 kB / 0.6885 GB, free: 3.879 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3605, allocations: 81.29 MB / 0.7679 GB, free: 27.72 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Basic): time 0.6914/1.052, allocations: 352.9 MB / 1.113 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.545/1.597, allocations: 72.83 MB / 1.184 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01998/1.617, allocations: 374.4 kB / 1.184 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01798/1.635, allocations: 4.421 MB / 1.188 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0424/1.678, allocations: 12.49 MB / 1.201 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02388/1.701, allocations: 8.852 MB / 1.209 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.05659/1.758, allocations: 48.63 MB / 1.257 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02898/1.787, allocations: 17.52 MB / 1.274 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03814/1.825, allocations: 14.73 MB / 1.288 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03171/1.857, allocations: 15.79 MB / 1.304 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.008985/1.866, allocations: 1.223 MB / 1.305 GB, free: 348 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02224/1.888, allocations: 4.879 MB / 1.31 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.01086/1.899, allocations: 5.126 MB / 1.315 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02457/1.924, allocations: 9.545 MB / 1.324 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.04685/1.971, allocations: 28.05 MB / 1.351 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.971, allocations: 4 kB / 1.351 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.363e-06/1.971, allocations: 0 / 1.351 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001017/1.972, allocations: 0 / 1.351 GB, free: 6.492 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.06835/2.04, allocations: 22.11 MB / 1.373 GB, free: 464 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/2.04, allocations: 8.031 kB / 1.373 GB, free: 456 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/2.052, allocations: 2.235 MB / 1.375 GB, free: 14.19 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03888/2.091, allocations: 15.49 MB / 1.39 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007787/2.092, allocations: 0.6917 MB / 1.391 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/2.097, allocations: 0.9389 MB / 1.392 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03985/2.137, allocations: 16.58 MB / 1.408 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/2.137, allocations: 19.86 kB / 1.408 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005082/2.142, allocations: 327.8 kB / 1.408 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005347/2.143, allocations: 367.3 kB / 1.409 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04318/2.186, allocations: 21.02 MB / 1.429 GB, free: 6.883 MB / 0.8698 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.1509/2.337, allocations: 79.64 MB / 1.507 GB, free: 4.867 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.653/2.99, allocations: 13 MB / 1.52 GB, free: 470.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0153/3.005, allocations: 10 MB / 1.529 GB, free: 465.9 MB / 0.948 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.07217/3.077, allocations: 35 MB / 1.564 GB, free: 446.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01607/3.094, allocations: 9.941 MB / 1.573 GB, free: 440.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0245/3.118, allocations: 8.56 MB / 1.582 GB, free: 438.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=600): time 3.925e-05/3.118, allocations: 0 / 1.582 GB, free: 438.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=916): time 0.9643/4.082, allocations: 249.2 MB / 1.825 GB, free: 190.5 MB / 0.948 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.1182/4.201, allocations: 58.42 MB / 1.882 GB, free: 130.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02255/4.223, allocations: 14.69 MB / 1.896 GB, free: 116 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003927/4.227, allocations: 240.8 kB / 1.897 GB, free: 115.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006753/4.234, allocations: 7.094 MB / 1.904 GB, free: 108.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01172/4.246, allocations: 3.29 MB / 1.907 GB, free: 105.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0159/4.262, allocations: 4.137 MB / 1.911 GB, free: 101.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.255e-05/4.262, allocations: 305.1 kB / 1.911 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03395/4.296, allocations: 24.5 MB / 1.935 GB, free: 76.42 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03555/4.331, allocations: 27.17 MB / 1.962 GB, free: 48.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06648/4.398, allocations: 44.69 MB / 2.005 GB, free: 2.805 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.626e-05/4.398, allocations: 12 kB / 2.005 GB, free: 2.793 MB / 0.948 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 1.27/5.668, allocations: 144.9 MB / 2.147 GB, free: 355.2 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/5.668, allocations: 57.64 kB / 2.147 GB, free: 355.1 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-05/5.668, allocations: 48.16 kB / 2.147 GB, free: 355.1 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6047/6.273, allocations: 124.5 MB / 2.268 GB, free: 231 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01843/6.291, allocations: 3.332 MB / 2.272 GB, free: 227.7 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1578/6.449, allocations: 82.48 MB / 2.352 GB, free: 145.1 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2202/6.669, allocations: 10.87 MB / 2.363 GB, free: 134.3 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006642/6.676, allocations: 1.644 MB / 2.364 GB, free: 132.6 MB / 0.9482 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04183/6.718, allocations: 27.45 MB / 2.391 GB, free: 105.1 MB / 0.9482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03452/6.752, allocations: 26.6 MB / 2.417 GB, free: 77.51 MB / 0.9482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06114/6.814, allocations: 43.59 MB / 2.46 GB, free: 33.2 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.012e-05/6.814, allocations: 12 kB / 2.46 GB, free: 33.19 MB / 0.9482 GB Notification: Performance of matching and sorting (n=1408) (initialization_lambda0): time 1.012/7.826, allocations: 142.8 MB / 2.599 GB, free: 368.8 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 8.392e-05/7.826, allocations: 54.27 kB / 2.599 GB, free: 368.7 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-05/7.826, allocations: 44.84 kB / 2.599 GB, free: 368.7 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5803/8.407, allocations: 124.3 MB / 2.721 GB, free: 244.7 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01689/8.423, allocations: 3.279 MB / 2.724 GB, free: 241.5 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1578/8.581, allocations: 88.66 MB / 2.81 GB, free: 153 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.216/8.797, allocations: 10.9 MB / 2.821 GB, free: 142.1 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006599/8.804, allocations: 1.594 MB / 2.823 GB, free: 140.5 MB / 0.9482 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.008673/8.813, allocations: 0.7377 MB / 2.823 GB, free: 139.8 MB / 0.9482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007678/8.82, allocations: 1.478 MB / 2.825 GB, free: 139.1 MB / 0.9482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2317/9.052, allocations: 69.91 MB / 2.893 GB, free: 69.29 MB / 0.9482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5808/9.633, allocations: 84.4 MB / 2.976 GB, free: 391.4 MB / 0.9482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002249/9.633, allocations: 33.98 kB / 2.976 GB, free: 391.4 MB / 0.9482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.237/9.87, allocations: 83.28 MB / 3.057 GB, free: 370.9 MB / 0.9482 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.36/10.23, allocations: 209.2 MB / 3.261 GB, free: 163.6 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001179/10.23, allocations: 12.06 kB / 3.261 GB, free: 163.6 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01196/10.24, allocations: 2.047 MB / 3.263 GB, free: 161.5 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9588/11.2, allocations: 147.4 MB / 3.407 GB, free: 389.1 MB / 0.9482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004676/11.21, allocations: 0.8147 MB / 3.408 GB, free: 389.1 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1315/11.34, allocations: 71.74 MB / 3.478 GB, free: 372.7 MB / 0.9482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1046/11.44, allocations: 48.96 MB / 3.526 GB, free: 352.4 MB / 0.9482 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.