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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004798/0.004798, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001423/0.001423, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.002321, allocations: 286.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 96.62 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4097, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Basic): time 0.6881/1.098, allocations: 357.6 MB / 1.131 GB, free: 57.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.07706/1.175, allocations: 75.87 MB / 1.205 GB, free: 50.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01338/1.188, allocations: 432.1 kB / 1.205 GB, free: 50.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0152/1.204, allocations: 6.421 MB / 1.211 GB, free: 47.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03196/1.236, allocations: 14.1 MB / 1.225 GB, free: 39.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01975/1.255, allocations: 10.2 MB / 1.235 GB, free: 31.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.08843/1.344, allocations: 74.52 MB / 1.308 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02951/1.373, allocations: 20.1 MB / 1.327 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03337/1.407, allocations: 17.15 MB / 1.344 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02844/1.435, allocations: 16.5 MB / 1.36 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.007407/1.443, allocations: 1.988 MB / 1.362 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/1.463, allocations: 6.075 MB / 1.368 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.01096/1.474, allocations: 6.557 MB / 1.375 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.02229/1.496, allocations: 11.33 MB / 1.386 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05126/1.547, allocations: 31.63 MB / 1.417 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.547, allocations: 0 / 1.417 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/1.547, allocations: 4 kB / 1.417 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0007832/1.548, allocations: 0 / 1.417 GB, free: 12.71 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06577/1.614, allocations: 24.77 MB / 1.441 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.614, allocations: 15.97 kB / 1.441 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004168/1.618, allocations: 1.051 MB / 1.442 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/1.636, allocations: 3.313 MB / 1.445 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4554/2.091, allocations: 23.19 MB / 1.468 GB, free: 179 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007079/2.092, allocations: 0.6803 MB / 1.468 GB, free: 179 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004057/2.096, allocations: 0.9531 MB / 1.469 GB, free: 179 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/2.129, allocations: 17.24 MB / 1.486 GB, free: 178.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/2.13, allocations: 9.906 kB / 1.486 GB, free: 178.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/2.131, allocations: 328.6 kB / 1.486 GB, free: 178.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/2.131, allocations: 373.1 kB / 1.487 GB, free: 178.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/2.166, allocations: 21.62 MB / 1.508 GB, free: 178.1 MB / 1.014 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.1214/2.287, allocations: 82.88 MB / 1.589 GB, free: 129.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01912/2.306, allocations: 13.6 MB / 1.602 GB, free: 116.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01259/2.319, allocations: 10.29 MB / 1.612 GB, free: 106 MB / 1.014 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.06456/2.384, allocations: 36.42 MB / 1.648 GB, free: 69.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01564/2.399, allocations: 10.46 MB / 1.658 GB, free: 58.97 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01894/2.418, allocations: 5.84 MB / 1.664 GB, free: 53.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=612): time 3.424e-05/2.418, allocations: 0 / 1.664 GB, free: 53.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=928): time 1.391/3.809, allocations: 249.7 MB / 1.908 GB, free: 0.5444 GB / 1.186 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.1138/3.923, allocations: 59.33 MB / 1.965 GB, free: 0.5132 GB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03157/3.955, allocations: 20.44 MB / 1.985 GB, free: 0.5035 GB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.004248/3.959, allocations: 249 kB / 1.986 GB, free: 0.5033 GB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.007674/3.967, allocations: 7.795 MB / 1.993 GB, free: 0.4981 GB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01084/3.977, allocations: 3.512 MB / 1.997 GB, free: 0.4956 GB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01537/3.993, allocations: 4.604 MB / 2.001 GB, free: 0.4933 GB / 1.186 GB Notification: Performance of setup shared object (initialization): time 3.741e-05/3.993, allocations: 304.7 kB / 2.001 GB, free: 0.493 GB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03305/4.026, allocations: 25.89 MB / 2.027 GB, free: 486.4 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03481/4.061, allocations: 28.79 MB / 2.055 GB, free: 456.7 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06266/4.124, allocations: 47.24 MB / 2.101 GB, free: 408.9 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.443e-05/4.124, allocations: 12 kB / 2.101 GB, free: 408.9 MB / 1.186 GB Notification: Performance of matching and sorting (n=1676) (initialization): time 0.6043/4.728, allocations: 148.2 MB / 2.246 GB, free: 260.8 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/4.728, allocations: 54.67 kB / 2.246 GB, free: 260.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.246e-05/4.728, allocations: 44 kB / 2.246 GB, free: 260.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6006/5.329, allocations: 125.5 MB / 2.368 GB, free: 135.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01863/5.347, allocations: 3.611 MB / 2.372 GB, free: 131.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1378/5.485, allocations: 86.92 MB / 2.457 GB, free: 44.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2145/5.7, allocations: 10.59 MB / 2.467 GB, free: 33.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006062/5.706, allocations: 1.676 MB / 2.469 GB, free: 32.09 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3717/6.078, allocations: 29.21 MB / 2.497 GB, free: 0.5311 GB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03885/6.116, allocations: 28.17 MB / 2.525 GB, free: 0.5261 GB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06191/6.178, allocations: 46.01 MB / 2.57 GB, free: 0.5111 GB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.587e-05/6.179, allocations: 11.06 kB / 2.57 GB, free: 0.5111 GB / 1.186 GB Notification: Performance of matching and sorting (n=1676) (initialization_lambda0): time 0.6035/6.782, allocations: 146 MB / 2.712 GB, free: 393.6 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/6.782, allocations: 54.64 kB / 2.712 GB, free: 393.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-05/6.782, allocations: 44 kB / 2.712 GB, free: 393.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6007/7.383, allocations: 124.2 MB / 2.834 GB, free: 269.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/7.4, allocations: 3.56 MB / 2.837 GB, free: 266.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1504/7.55, allocations: 93.89 MB / 2.929 GB, free: 172.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2153/7.766, allocations: 10.65 MB / 2.939 GB, free: 161.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006077/7.772, allocations: 1.629 MB / 2.941 GB, free: 160.2 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * 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 (1092): * Single equations (assignments): 1070 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.008659/7.781, allocations: 0.7755 MB / 2.942 GB, free: 159.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007956/7.789, allocations: 1.722 MB / 2.943 GB, free: 158.1 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2136/8.002, allocations: 70.61 MB / 3.012 GB, free: 87.64 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5711/8.573, allocations: 84.91 MB / 3.095 GB, free: 0.5018 GB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001137/8.573, allocations: 32.72 kB / 3.095 GB, free: 0.5018 GB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2256/8.799, allocations: 83.79 MB / 3.177 GB, free: 496.9 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3622/9.161, allocations: 215 MB / 3.387 GB, free: 294.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-05/9.161, allocations: 3.062 kB / 3.387 GB, free: 294.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01235/9.174, allocations: 2.152 MB / 3.389 GB, free: 292.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5731/9.747, allocations: 147.3 MB / 3.533 GB, free: 145 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004156/9.751, allocations: 0.822 MB / 3.534 GB, free: 144.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1294/9.881, allocations: 74.51 MB / 3.607 GB, free: 69.61 MB / 1.186 GB Warning: The linear system: 1 : tabsNorth2[3].dp = valNorth2[3].port_b.p - tabsSouth1[1].port_b.p 2 : tabsNorth2[8].dp = valNorth2[8].port_b.p - tabsSouth1[1].port_b.p 3 : valNorth2[8].dp = valNorth2[2].port_a.p - valNorth2[8].port_b.p 4 : valNorth2[3].dp = valNorth2[2].port_a.p - valNorth2[3].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[3].port_b.p ; valNorth2[2].port_a.p ; valNorth2[8].port_b.p ; tabsSouth1[1].port_b.p ] = [ -tabsNorth2[3].dp ; -tabsNorth2[8].dp ; -valNorth2[8].dp ; -valNorth2[3].dp ] might be structurally or numerically singular for variable tabsSouth1[1].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 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse422 - tabsNorth2[8].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 - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].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 ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse422 + (-valNorth.res3.m_flow) - spl1.res1.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 : tabsNorth2[8].dp = valNorth2[8].port_b.p - tabsSouth1[1].port_b.p 2 : valNorth2[8].dp = valNorth2[2].port_a.p - valNorth2[8].port_b.p 3 : valNorth2[3].dp = valNorth2[2].port_a.p - valNorth2[3].port_b.p 4 : tabsNorth2[3].dp = valNorth2[3].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 ] * [ tabsSouth1[1].port_b.p ; valNorth2[3].port_b.p ; valNorth2[2].port_a.p ; valNorth2[8].port_b.p ] = [ -tabsNorth2[8].dp ; -valNorth2[8].dp ; -valNorth2[3].dp ; -tabsNorth2[3].dp ] might be structurally or numerically singular for variable valNorth2[8].port_b.p since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse422 - tabsNorth2[8].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 - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].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[1].m_flow ; tabsSouth1[2].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse422 + (-valNorth.res3.m_flow) - spl1.res1.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[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 2 : valNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.2.port_a.p.$pDERStateSetJac29.dummyVarStateSetJac29 - valNorth2.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 3 : valNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.2.port_a.p.$pDERStateSetJac29.dummyVarStateSetJac29 - valNorth2.8.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 4 : tabsNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.8.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 [ 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 ] * [ tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 ; valNorth2.8.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 ; valNorth2.2.port_a.p.$pDERStateSetJac29.dummyVarStateSetJac29 ; valNorth2.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 ] = [ -tabsNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ; -valNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ; -valNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ; -tabsNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ] might be structurally or numerically singular for variable valNorth2.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac29 + tabsSouth1[3].m_flow.SeedStateSetJac29 + tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - pipSouth1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 = 0.0 2 : spl1.res1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + valNorth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + valSouth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + (-tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29) - tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsSouth1[3].m_flow.SeedStateSetJac29 - tabsSouth1[4].m_flow.SeedStateSetJac29 - tabsSouth2[1].m_flow.SeedStateSetJac29 - tabsSouth2[2].m_flow.SeedStateSetJac29 - tabsSouth2[3].m_flow.SeedStateSetJac29 - tabsSouth2[4].m_flow.SeedStateSetJac29 - tabsSouth2[5].m_flow.SeedStateSetJac29 - tabsSouth2[6].m_flow.SeedStateSetJac29 - tabsSouth2[7].m_flow.SeedStateSetJac29 - tabsSouth2[8].m_flow.SeedStateSetJac29 - tabsNorth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsNorth1[2].m_flow.SeedStateSetJac29 - tabsNorth1[3].m_flow.SeedStateSetJac29 - tabsNorth1[4].m_flow.SeedStateSetJac29 - tabsNorth2[1].m_flow.SeedStateSetJac29 - tabsNorth2[2].m_flow.SeedStateSetJac29 - tabsNorth2[3].m_flow.SeedStateSetJac29 - tabsNorth2[4].m_flow.SeedStateSetJac29 - tabsNorth2[5].m_flow.SeedStateSetJac29 - tabsNorth2[6].m_flow.SeedStateSetJac29 - tabsNorth2[8].m_flow.SeedStateSetJac29 - $cse422.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsNorth2[7].m_flow.SeedStateSetJac29 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 ; tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 ] = [ pipSouth1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + (-tabsSouth1[3].m_flow.SeedStateSetJac29) - tabsSouth1[4].m_flow.SeedStateSetJac29 ; tabsSouth1[3].m_flow.SeedStateSetJac29 + $cse422.$pDERStateSetJac29.dummyVarStateSetJac29 + tabsNorth2[7].m_flow.SeedStateSetJac29 + tabsNorth2[8].m_flow.SeedStateSetJac29 + tabsNorth2[6].m_flow.SeedStateSetJac29 + tabsNorth2[5].m_flow.SeedStateSetJac29 + tabsNorth2[4].m_flow.SeedStateSetJac29 + tabsNorth2[3].m_flow.SeedStateSetJac29 + tabsNorth2[2].m_flow.SeedStateSetJac29 + tabsNorth2[1].m_flow.SeedStateSetJac29 + tabsNorth1[4].m_flow.SeedStateSetJac29 + tabsNorth1[3].m_flow.SeedStateSetJac29 + tabsNorth1[2].m_flow.SeedStateSetJac29 + tabsNorth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + tabsSouth2[8].m_flow.SeedStateSetJac29 + tabsSouth2[7].m_flow.SeedStateSetJac29 + tabsSouth2[6].m_flow.SeedStateSetJac29 + tabsSouth2[5].m_flow.SeedStateSetJac29 + tabsSouth2[4].m_flow.SeedStateSetJac29 + tabsSouth2[3].m_flow.SeedStateSetJac29 + tabsSouth2[2].m_flow.SeedStateSetJac29 + tabsSouth2[1].m_flow.SeedStateSetJac29 + tabsSouth1[4].m_flow.SeedStateSetJac29 + (-valNorth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29) - spl1.res1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - valSouth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 ] might be structurally or numerically singular for variable tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 2 : tabsNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.8.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 3 : valNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.2.port_a.p.$pDERStateSetJac29.dummyVarStateSetJac29 - valNorth2.8.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 4 : valNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 = valNorth2.2.port_a.p.$pDERStateSetJac29.dummyVarStateSetJac29 - valNorth2.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 [ -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.3.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 ; valNorth2.2.port_a.p.$pDERStateSetJac29.dummyVarStateSetJac29 ; valNorth2.8.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 ; tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 ] = [ -tabsNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ; -tabsNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ; -valNorth2.8.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ; -valNorth2.3.dp.$pDERStateSetJac29.dummyVarStateSetJac29 ] might be structurally or numerically singular for variable tabsSouth1.1.port_b.p.$pDERStateSetJac29.dummyVarStateSetJac29 since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac29 + tabsSouth1[3].m_flow.SeedStateSetJac29 + tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - pipSouth1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 = 0.0 2 : spl1.res1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + valNorth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + valSouth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + (-tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29) - tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsSouth1[3].m_flow.SeedStateSetJac29 - tabsSouth1[4].m_flow.SeedStateSetJac29 - tabsSouth2[1].m_flow.SeedStateSetJac29 - tabsSouth2[2].m_flow.SeedStateSetJac29 - tabsSouth2[3].m_flow.SeedStateSetJac29 - tabsSouth2[4].m_flow.SeedStateSetJac29 - tabsSouth2[5].m_flow.SeedStateSetJac29 - tabsSouth2[6].m_flow.SeedStateSetJac29 - tabsSouth2[7].m_flow.SeedStateSetJac29 - tabsSouth2[8].m_flow.SeedStateSetJac29 - tabsNorth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsNorth1[2].m_flow.SeedStateSetJac29 - tabsNorth1[3].m_flow.SeedStateSetJac29 - tabsNorth1[4].m_flow.SeedStateSetJac29 - tabsNorth2[1].m_flow.SeedStateSetJac29 - tabsNorth2[2].m_flow.SeedStateSetJac29 - tabsNorth2[3].m_flow.SeedStateSetJac29 - tabsNorth2[4].m_flow.SeedStateSetJac29 - tabsNorth2[5].m_flow.SeedStateSetJac29 - tabsNorth2[6].m_flow.SeedStateSetJac29 - tabsNorth2[8].m_flow.SeedStateSetJac29 - $cse422.$pDERStateSetJac29.dummyVarStateSetJac29 - tabsNorth2[7].m_flow.SeedStateSetJac29 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 ; tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 ] = [ pipSouth1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + (-tabsSouth1[3].m_flow.SeedStateSetJac29) - tabsSouth1[4].m_flow.SeedStateSetJac29 ; tabsSouth1[3].m_flow.SeedStateSetJac29 + $cse422.$pDERStateSetJac29.dummyVarStateSetJac29 + tabsNorth2[7].m_flow.SeedStateSetJac29 + tabsNorth2[8].m_flow.SeedStateSetJac29 + tabsNorth2[6].m_flow.SeedStateSetJac29 + tabsNorth2[5].m_flow.SeedStateSetJac29 + tabsNorth2[4].m_flow.SeedStateSetJac29 + tabsNorth2[3].m_flow.SeedStateSetJac29 + tabsNorth2[2].m_flow.SeedStateSetJac29 + tabsNorth2[1].m_flow.SeedStateSetJac29 + tabsNorth1[4].m_flow.SeedStateSetJac29 + tabsNorth1[3].m_flow.SeedStateSetJac29 + tabsNorth1[2].m_flow.SeedStateSetJac29 + tabsNorth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 + tabsSouth2[8].m_flow.SeedStateSetJac29 + tabsSouth2[7].m_flow.SeedStateSetJac29 + tabsSouth2[6].m_flow.SeedStateSetJac29 + tabsSouth2[5].m_flow.SeedStateSetJac29 + tabsSouth2[4].m_flow.SeedStateSetJac29 + tabsSouth2[3].m_flow.SeedStateSetJac29 + tabsSouth2[2].m_flow.SeedStateSetJac29 + tabsSouth2[1].m_flow.SeedStateSetJac29 + tabsSouth1[4].m_flow.SeedStateSetJac29 + (-valNorth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29) - spl1.res1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 - valSouth.res3.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac29.dummyVarStateSetJac29 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09827/9.979, allocations: 56.66 MB / 3.662 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6577/10.64, allocations: 130.2 MB / 3.789 GB, free: 488.1 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01745/10.65, allocations: 7.848 MB / 3.797 GB, free: 480.9 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007649/10.66, allocations: 234.4 kB / 3.797 GB, free: 480.6 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1177/10.78, allocations: 5.171 MB / 3.802 GB, free: 476.2 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005751/10.79, allocations: 1.151 MB / 3.803 GB, free: 475 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004018/10.79, allocations: 0.8884 MB / 3.804 GB, free: 474.1 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.02288/10.81, allocations: 14.28 MB / 3.818 GB, free: 459.9 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.01e-07/10.81, allocations: 0 / 3.818 GB, free: 459.9 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.1494/10.96, allocations: 86.81 MB / 3.903 GB, free: 373.3 MB / 1.186 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 (607): * Single equations (assignments): 584 * 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), (63,215)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2999/11.26, allocations: 131.1 MB / 4.031 GB, free: 242.4 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.1496/11.41, allocations: 101.9 MB / 4.13 GB, free: 140.4 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/11.41, allocations: 4 kB / 4.13 GB, free: 140.4 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.07288/11.48, allocations: 35.98 MB / 4.165 GB, free: 104.4 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07464/11.56, allocations: 8.146 MB / 4.173 GB, free: 96.76 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.205/13.76, allocations: 0.4917 GB / 4.665 GB, free: 183.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/13.77, allocations: 11.37 MB / 4.676 GB, free: 171.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.02643/13.8, allocations: 8.962 MB / 4.685 GB, free: 163 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0216/13.82, allocations: 12.08 MB / 4.697 GB, free: 150.9 MB / 1.186 GB Notification: Performance of SimCode: time 9.51e-07/13.82, allocations: 0 / 4.697 GB, free: 150.9 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.014/15.84, allocations: 0.9502 GB / 5.647 GB, free: 333.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 141.4/157.3, allocations: 8.312 kB / 5.647 GB, free: 333.5 MB / 1.186 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Basic.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)