Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 189.5 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 101.7 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 51.5 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2592, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.8632/1.122, allocations: 353 MB / 1.563 GB, free: 21.44 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.09076/1.213, allocations: 73.11 MB / 1.634 GB, free: 468 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01766/1.231, allocations: 393.5 kB / 1.635 GB, free: 72 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0149/1.246, allocations: 4.417 MB / 1.639 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.03548/1.281, allocations: 12.56 MB / 1.651 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02259/1.304, allocations: 8.908 MB / 1.66 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.05469/1.359, allocations: 48.79 MB / 1.708 GB, free: 5.285 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02944/1.388, allocations: 17.57 MB / 1.725 GB, free: 3.559 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03253/1.421, allocations: 14.74 MB / 1.739 GB, free: 4.762 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02801/1.449, allocations: 15.79 MB / 1.754 GB, free: 4.91 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.007367/1.456, allocations: 1.219 MB / 1.756 GB, free: 3.691 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02048/1.477, allocations: 4.886 MB / 1.76 GB, free: 14.8 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.01368/1.49, allocations: 5.138 MB / 1.765 GB, free: 9.641 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.02177/1.512, allocations: 9.553 MB / 1.775 GB, free: 40 kB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.0432/1.556, allocations: 28.1 MB / 1.802 GB, free: 3.855 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.556, allocations: 0 / 1.802 GB, free: 3.855 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.613e-06/1.556, allocations: 0 / 1.802 GB, free: 3.855 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.001048/1.557, allocations: 0 / 1.802 GB, free: 3.855 MB / 1.135 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.07075/1.627, allocations: 22.18 MB / 1.824 GB, free: 13.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.627, allocations: 15.98 kB / 1.824 GB, free: 13.48 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/1.642, allocations: 2.578 MB / 1.826 GB, free: 10.88 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0416/1.684, allocations: 15.73 MB / 1.842 GB, free: 11.02 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009495/1.685, allocations: 0.6864 MB / 1.842 GB, free: 10.33 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005387/1.691, allocations: 0.9411 MB / 1.843 GB, free: 9.391 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04141/1.732, allocations: 16.7 MB / 1.86 GB, free: 8.488 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003098/1.732, allocations: 27.78 kB / 1.86 GB, free: 8.461 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003639/1.736, allocations: 324 kB / 1.86 GB, free: 8.145 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000386/1.736, allocations: 371.2 kB / 1.86 GB, free: 7.781 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03988/1.776, allocations: 21.2 MB / 1.881 GB, free: 2.566 MB / 1.214 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.004/2.78, allocations: 79.92 MB / 1.959 GB, free: 406.6 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/2.8, allocations: 13.19 MB / 1.972 GB, free: 398.9 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01376/2.813, allocations: 10.09 MB / 1.982 GB, free: 393.2 MB / 1.214 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.06736/2.881, allocations: 35.08 MB / 2.016 GB, free: 358.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01395/2.895, allocations: 10.05 MB / 2.026 GB, free: 348.7 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02412/2.919, allocations: 8.563 MB / 2.034 GB, free: 340.9 MB / 1.214 GB Notification: Performance of pre-optimization done (n=600): time 3.58e-05/2.919, allocations: 0 / 2.034 GB, free: 340.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=916): time 0.937/3.856, allocations: 249.6 MB / 2.278 GB, free: 90.67 MB / 1.214 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.1135/3.969, allocations: 58.36 MB / 2.335 GB, free: 30.69 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02031/3.99, allocations: 14.77 MB / 2.349 GB, free: 16 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003597/3.993, allocations: 241.7 kB / 2.35 GB, free: 15.76 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.005503/3.999, allocations: 7.148 MB / 2.357 GB, free: 8.609 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.01066/4.01, allocations: 3.284 MB / 2.36 GB, free: 5.348 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01394/4.024, allocations: 4.142 MB / 2.364 GB, free: 1.199 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/4.024, allocations: 301.1 kB / 2.364 GB, free: 0.9023 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9661/4.99, allocations: 24.58 MB / 2.388 GB, free: 413.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04581/5.036, allocations: 27.25 MB / 2.415 GB, free: 404.1 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08152/5.117, allocations: 44.87 MB / 2.459 GB, free: 385.9 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.344e-05/5.117, allocations: 15.56 kB / 2.459 GB, free: 385.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.6415/5.759, allocations: 145.1 MB / 2.6 GB, free: 243.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/5.759, allocations: 54.95 kB / 2.6 GB, free: 243.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.926e-05/5.759, allocations: 44 kB / 2.6 GB, free: 243.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5719/6.331, allocations: 124.4 MB / 2.722 GB, free: 119.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01816/6.349, allocations: 3.365 MB / 2.725 GB, free: 116.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7052/7.054, allocations: 82.48 MB / 2.806 GB, free: 390.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2276/7.282, allocations: 10.89 MB / 2.816 GB, free: 390.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009327/7.292, allocations: 1.643 MB / 2.818 GB, free: 390.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04805/7.34, allocations: 27.54 MB / 2.845 GB, free: 387.3 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04085/7.38, allocations: 26.69 MB / 2.871 GB, free: 377.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06918/7.45, allocations: 43.75 MB / 2.914 GB, free: 363.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001079/7.45, allocations: 18.06 kB / 2.914 GB, free: 363.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=1408) (initialization_lambda0): time 0.5854/8.035, allocations: 143 MB / 3.053 GB, free: 225.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/8.035, allocations: 58.62 kB / 3.053 GB, free: 225.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/8.035, allocations: 44 kB / 3.053 GB, free: 225.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5789/8.614, allocations: 124.3 MB / 3.175 GB, free: 101.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01617/8.631, allocations: 3.314 MB / 3.178 GB, free: 98.12 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7256/9.356, allocations: 88.66 MB / 3.265 GB, free: 375.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.214/9.57, allocations: 10.93 MB / 3.275 GB, free: 375.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007744/9.578, allocations: 1.603 MB / 3.277 GB, free: 375.3 MB / 1.214 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.008916/9.587, allocations: 0.7313 MB / 3.278 GB, free: 375.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00814/9.595, allocations: 1.484 MB / 3.279 GB, free: 375.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2272/9.822, allocations: 70.09 MB / 3.348 GB, free: 360.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2374/10.06, allocations: 84.58 MB / 3.43 GB, free: 290.3 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002462/10.06, allocations: 28 kB / 3.43 GB, free: 290.3 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2213/10.28, allocations: 83.44 MB / 3.512 GB, free: 206.8 MB / 1.214 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.8359/11.12, allocations: 209.5 MB / 3.716 GB, free: 373.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001031/11.12, allocations: 0 / 3.716 GB, free: 373.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/11.13, allocations: 2.104 MB / 3.718 GB, free: 373.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.583/11.71, allocations: 147.4 MB / 3.862 GB, free: 300.5 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00535/11.72, allocations: 0.8145 MB / 3.863 GB, free: 299.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1264/11.85, allocations: 71.73 MB / 3.933 GB, free: 230.2 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1047/11.95, allocations: 48.89 MB / 3.981 GB, free: 181.1 MB / 1.214 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.