Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000819/0.000819, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006269/0.006269, allocations: 169.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8343/0.8347, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 1.098/1.932, allocations: 348 MB / 1.295 GB, free: 56.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1009/2.033, allocations: 72.35 MB / 1.366 GB, free: 54.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02638/2.06, allocations: 376 kB / 1.366 GB, free: 54.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.02385/2.084, allocations: 4.416 MB / 1.37 GB, free: 54.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.05754/2.141, allocations: 12.55 MB / 1.382 GB, free: 47.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02587/2.167, allocations: 8.938 MB / 1.391 GB, free: 41.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05808/2.225, allocations: 48.58 MB / 1.439 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03031/2.256, allocations: 17.26 MB / 1.455 GB, free: 4.898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04143/2.297, allocations: 14.22 MB / 1.469 GB, free: 7.348 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03317/2.33, allocations: 15.34 MB / 1.484 GB, free: 9.188 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008698/2.339, allocations: 1.07 MB / 1.485 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02416/2.363, allocations: 4.734 MB / 1.49 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01127/2.375, allocations: 4.894 MB / 1.495 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0241/2.399, allocations: 9.266 MB / 1.504 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.05264/2.451, allocations: 27.48 MB / 1.531 GB, free: 11.48 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/2.451, allocations: 0 / 1.531 GB, free: 11.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.964e-06/2.451, allocations: 0 / 1.531 GB, free: 11.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001084/2.453, allocations: 0 / 1.531 GB, free: 11.48 MB / 1.092 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.0633/2.516, allocations: 20.05 MB / 1.55 GB, free: 7.441 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/2.516, allocations: 8.031 kB / 1.55 GB, free: 7.434 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/2.531, allocations: 2.633 MB / 1.553 GB, free: 4.777 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04409/2.575, allocations: 15.72 MB / 1.568 GB, free: 5.328 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/2.577, allocations: 0.6861 MB / 1.569 GB, free: 4.648 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005362/2.582, allocations: 0.9396 MB / 1.57 GB, free: 3.715 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05039/2.632, allocations: 16.71 MB / 1.586 GB, free: 2.812 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005781/2.633, allocations: 11.94 kB / 1.586 GB, free: 2.801 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004799/2.638, allocations: 330.5 kB / 1.586 GB, free: 2.484 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004932/2.638, allocations: 363.2 kB / 1.587 GB, free: 2.129 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04764/2.686, allocations: 21.22 MB / 1.608 GB, free: 12.9 MB / 1.17 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.1571/2.843, allocations: 81.5 MB / 1.687 GB, free: 8.727 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02512/2.868, allocations: 13.21 MB / 1.7 GB, free: 11.49 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0177/2.886, allocations: 10.1 MB / 1.71 GB, free: 1.363 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 1.199/4.085, allocations: 36.35 MB / 1.745 GB, free: 273.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01904/4.105, allocations: 10.06 MB / 1.755 GB, free: 273.4 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03004/4.135, allocations: 9.936 MB / 1.765 GB, free: 273.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=600): time 4.952e-05/4.135, allocations: 4 kB / 1.765 GB, free: 273.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=916): time 1.156/5.29, allocations: 314.7 MB / 2.072 GB, free: 14.67 MB / 1.279 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.1389/5.429, allocations: 59.07 MB / 2.13 GB, free: 2.203 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02837/5.458, allocations: 14.77 MB / 2.144 GB, free: 3.531 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.00429/5.462, allocations: 233.9 kB / 2.145 GB, free: 3.297 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.008642/5.471, allocations: 7.149 MB / 2.152 GB, free: 12.21 MB / 1.358 GB Notification: Performance of collectInitialBindings (initialization): time 0.01269/5.484, allocations: 3.299 MB / 2.155 GB, free: 8.938 MB / 1.358 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005593/5.489, allocations: 0.9689 MB / 2.156 GB, free: 7.965 MB / 1.358 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/5.489, allocations: 304.3 kB / 2.156 GB, free: 7.668 MB / 1.358 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04176/5.531, allocations: 24.55 MB / 2.18 GB, free: 15.09 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04578/5.577, allocations: 27.26 MB / 2.207 GB, free: 2.836 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.133/6.709, allocations: 44.89 MB / 2.25 GB, free: 0.6102 GB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.56e-05/6.71, allocations: 13.78 kB / 2.25 GB, free: 0.6102 GB / 1.436 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.6974/7.407, allocations: 158 MB / 2.405 GB, free: 0.5201 GB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.001046/7.408, allocations: 1.561 MB / 2.406 GB, free: 0.5179 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/7.408, allocations: 47.94 kB / 2.406 GB, free: 0.5179 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6737/8.082, allocations: 150.1 MB / 2.553 GB, free: 380 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01898/8.101, allocations: 3.381 MB / 2.556 GB, free: 376.6 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1502/8.251, allocations: 83.81 MB / 2.638 GB, free: 292.7 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2335/8.485, allocations: 10.9 MB / 2.649 GB, free: 281.9 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009622/8.494, allocations: 1.637 MB / 2.65 GB, free: 280.2 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/8.495, allocations: 5.094 kB / 2.65 GB, free: 280.2 MB / 1.436 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6754/9.17, allocations: 154.5 MB / 2.801 GB, free: 125.5 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/9.17, allocations: 44 kB / 2.801 GB, free: 125.4 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298/10.47, allocations: 150 MB / 2.948 GB, free: 0.5746 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/10.49, allocations: 3.333 MB / 2.951 GB, free: 0.5746 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1785/10.67, allocations: 90.12 MB / 3.039 GB, free: 0.55 GB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2316/10.9, allocations: 10.9 MB / 3.05 GB, free: 0.5416 GB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01086/10.91, allocations: 1.594 MB / 3.051 GB, free: 0.5401 GB / 1.436 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.0164/10.92, allocations: 4.003 MB / 3.055 GB, free: 0.5362 GB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007746/10.93, allocations: 1.485 MB / 3.057 GB, free: 0.5355 GB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2465/11.18, allocations: 71.07 MB / 3.126 GB, free: 477.4 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2623/11.44, allocations: 85.55 MB / 3.209 GB, free: 391.7 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000168/11.44, allocations: 28 kB / 3.21 GB, free: 391.7 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2448/11.69, allocations: 84.43 MB / 3.292 GB, free: 307 MB / 1.436 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.3891/12.07, allocations: 210.5 MB / 3.498 GB, free: 96.38 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001151/12.08, allocations: 7.984 kB / 3.498 GB, free: 96.38 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01327/12.09, allocations: 2.101 MB / 3.5 GB, free: 94.27 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305/13.39, allocations: 149.3 MB / 3.645 GB, free: 0.5751 GB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004468/13.4, allocations: 0.8185 MB / 3.646 GB, free: 0.5751 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2076/13.61, allocations: 122.4 MB / 3.766 GB, free: 0.4902 GB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1072/13.71, allocations: 49.19 MB / 3.814 GB, free: 452.7 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2959/14.01, allocations: 124 MB / 3.935 GB, free: 329.4 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01975/14.03, allocations: 7.604 MB / 3.942 GB, free: 322.6 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00763/14.04, allocations: 243.9 kB / 3.943 GB, free: 322.3 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1227/14.16, allocations: 5.562 MB / 3.948 GB, free: 316.8 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006666/14.17, allocations: 1.147 MB / 3.949 GB, free: 315.6 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004048/14.17, allocations: 0.8767 MB / 3.95 GB, free: 314.7 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.01767/14.19, allocations: 10.12 MB / 3.96 GB, free: 304.7 MB / 1.436 GB Notification: Performance of sort global known variables: time 7.81e-07/14.19, allocations: 2.188 kB / 3.96 GB, free: 304.7 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.1798/14.37, allocations: 86.46 MB / 4.044 GB, free: 218.4 MB / 1.436 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (595): * Single equations (assignments): 572 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(33,156), (1,1), (61,217)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006907/14.37, allocations: 1.748 MB / 4.046 GB, free: 216.9 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.1765/14.55, allocations: 98.97 MB / 4.143 GB, free: 117.8 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/14.55, allocations: 5 kB / 4.143 GB, free: 117.8 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.2011/14.75, allocations: 86.53 MB / 4.227 GB, free: 31.13 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08773/14.84, allocations: 7.609 MB / 4.235 GB, free: 23.71 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7297/15.57, allocations: 67.07 MB / 4.3 GB, free: 0.5781 GB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02378/15.59, allocations: 10.66 MB / 4.31 GB, free: 0.5769 GB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.04346/15.64, allocations: 8.412 MB / 4.319 GB, free: 0.5766 GB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01671/15.65, allocations: 2.475 MB / 4.321 GB, free: 0.5766 GB / 1.436 GB Notification: Performance of SimCode: time 1.132e-06/15.65, allocations: 0 / 4.321 GB, free: 0.5766 GB / 1.436 GB Notification: Performance of Templates: time 1.754/17.41, allocations: 0.6783 GB / 4.999 GB, free: 0.5563 GB / 1.436 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)