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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001128/0.001128, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7088, allocations: 142.4 MB / 0.9557 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.9699/1.679, allocations: 348 MB / 1.296 GB, free: 59.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09927/1.778, allocations: 72.35 MB / 1.366 GB, free: 57.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01985/1.798, allocations: 381.3 kB / 1.367 GB, free: 57.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01649/1.814, allocations: 4.401 MB / 1.371 GB, free: 56.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04261/1.857, allocations: 12.55 MB / 1.383 GB, free: 49.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02362/1.881, allocations: 8.949 MB / 1.392 GB, free: 44.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04578/1.927, allocations: 48.57 MB / 1.439 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02979/1.956, allocations: 17.25 MB / 1.456 GB, free: 6.793 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03596/1.992, allocations: 14.22 MB / 1.47 GB, free: 9.242 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03117/2.024, allocations: 15.33 MB / 1.485 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00762/2.031, allocations: 1.074 MB / 1.486 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02055/2.052, allocations: 4.731 MB / 1.491 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01062/2.063, allocations: 4.9 MB / 1.495 GB, free: 0.875 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0233/2.086, allocations: 9.268 MB / 1.505 GB, free: 7.789 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03049/2.116, allocations: 21.84 MB / 1.526 GB, free: 2.824 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/2.117, allocations: 0 / 1.526 GB, free: 2.824 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.637e-06/2.117, allocations: 0 / 1.526 GB, free: 2.824 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0008245/2.117, allocations: 0 / 1.526 GB, free: 2.824 MB / 1.076 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.05247/2.17, allocations: 20.06 MB / 1.545 GB, free: 14.78 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/2.17, allocations: 8.031 kB / 1.545 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/2.183, allocations: 2.633 MB / 1.548 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03804/2.221, allocations: 15.72 MB / 1.563 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008318/2.222, allocations: 0.684 MB / 1.564 GB, free: 11.99 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004849/2.227, allocations: 0.9444 MB / 1.565 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/2.27, allocations: 16.71 MB / 1.581 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/2.27, allocations: 11.94 kB / 1.581 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003908/2.274, allocations: 330.6 kB / 1.582 GB, free: 9.828 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/2.275, allocations: 363.2 kB / 1.582 GB, free: 9.473 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04256/2.317, allocations: 21.23 MB / 1.603 GB, free: 4.23 MB / 1.154 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.1595/2.477, allocations: 81.49 MB / 1.682 GB, free: 64 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/2.502, allocations: 13.22 MB / 1.695 GB, free: 2.82 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01828/2.52, allocations: 10.1 MB / 1.705 GB, free: 8.699 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.117/3.637, allocations: 36.37 MB / 1.741 GB, free: 492.5 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01874/3.656, allocations: 10.06 MB / 1.75 GB, free: 488.5 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.029/3.685, allocations: 9.933 MB / 1.76 GB, free: 485.2 MB / 1.264 GB Notification: Performance of pre-optimization done (n=600): time 4.639e-05/3.685, allocations: 0 / 1.76 GB, free: 485.2 MB / 1.264 GB Notification: Performance of matching and sorting (n=916): time 1.104/4.79, allocations: 314.7 MB / 2.067 GB, free: 182.6 MB / 1.264 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.1257/4.915, allocations: 59.07 MB / 2.125 GB, free: 122 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02626/4.942, allocations: 14.76 MB / 2.14 GB, free: 107.3 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.004514/4.946, allocations: 241.6 kB / 2.14 GB, free: 107.1 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.007448/4.954, allocations: 7.137 MB / 2.147 GB, free: 99.94 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01235/4.966, allocations: 3.29 MB / 2.15 GB, free: 96.67 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006367/4.973, allocations: 0.9688 MB / 2.151 GB, free: 95.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.558e-05/4.973, allocations: 301.1 kB / 2.151 GB, free: 95.41 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.036/5.009, allocations: 24.55 MB / 2.175 GB, free: 70.83 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03703/5.046, allocations: 27.26 MB / 2.202 GB, free: 42.54 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.164/6.209, allocations: 44.89 MB / 2.246 GB, free: 453.6 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.562e-05/6.21, allocations: 20.06 kB / 2.246 GB, free: 453.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.6676/6.877, allocations: 157.9 MB / 2.4 GB, free: 364.6 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007171/6.878, allocations: 1.568 MB / 2.401 GB, free: 362.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-05/6.878, allocations: 44 kB / 2.401 GB, free: 362.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6273/7.505, allocations: 150.1 MB / 2.548 GB, free: 212 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01866/7.524, allocations: 3.374 MB / 2.551 GB, free: 208.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1496/7.674, allocations: 83.81 MB / 2.633 GB, free: 124.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2192/7.893, allocations: 10.91 MB / 2.644 GB, free: 113.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007904/7.901, allocations: 1.637 MB / 2.645 GB, free: 112.2 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/7.901, allocations: 4 kB / 2.645 GB, free: 112.2 MB / 1.264 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.385/9.286, allocations: 154.5 MB / 2.796 GB, free: 425.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/9.287, allocations: 50.28 kB / 2.796 GB, free: 425.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6246/9.911, allocations: 150 MB / 2.943 GB, free: 315.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/9.928, allocations: 3.323 MB / 2.946 GB, free: 312.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1625/10.09, allocations: 90.13 MB / 3.034 GB, free: 222.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2174/10.31, allocations: 10.89 MB / 3.045 GB, free: 211.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0081/10.32, allocations: 1.605 MB / 3.046 GB, free: 209.8 MB / 1.264 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.01663/10.33, allocations: 4.003 MB / 3.05 GB, free: 205.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007817/10.34, allocations: 1.484 MB / 3.052 GB, free: 205.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2322/10.57, allocations: 71.07 MB / 3.121 GB, free: 134.1 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2458/10.82, allocations: 85.55 MB / 3.205 GB, free: 48.36 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001592/10.82, allocations: 28 kB / 3.205 GB, free: 48.33 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.918/11.74, allocations: 84.42 MB / 3.287 GB, free: 423.1 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 postOpt removeSimpleEquations (simulation): time 0.387/12.12, allocations: 210.5 MB / 3.493 GB, free: 256.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001243/12.12, allocations: 7.938 kB / 3.493 GB, free: 256.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01252/12.14, allocations: 2.105 MB / 3.495 GB, free: 254 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5798/12.72, allocations: 149.3 MB / 3.641 GB, free: 106.2 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004672/12.72, allocations: 0.8142 MB / 3.641 GB, free: 105.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8602/13.58, allocations: 122.4 MB / 3.761 GB, free: 424.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1083/13.69, allocations: 49.2 MB / 3.809 GB, free: 405.9 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2963/13.99, allocations: 124 MB / 3.93 GB, free: 311 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02032/14.01, allocations: 7.618 MB / 3.937 GB, free: 304.2 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008627/14.01, allocations: 228 kB / 3.938 GB, free: 304 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1157/14.13, allocations: 5.566 MB / 3.943 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006737/14.14, allocations: 1.143 MB / 3.944 GB, free: 298.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004341/14.14, allocations: 0.8845 MB / 3.945 GB, free: 297.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.02027/14.16, allocations: 10.12 MB / 3.955 GB, free: 287.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.11e-07/14.16, allocations: 0 / 3.955 GB, free: 287.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.1807/14.34, allocations: 86.45 MB / 4.039 GB, free: 200.9 MB / 1.264 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.006988/14.35, allocations: 1.759 MB / 4.041 GB, free: 199.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.1594/14.51, allocations: 98.94 MB / 4.138 GB, free: 100.8 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/14.51, allocations: 7.562 kB / 4.138 GB, free: 100.8 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.1559/14.67, allocations: 86.51 MB / 4.222 GB, free: 14.19 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6101/15.28, allocations: 7.602 MB / 4.23 GB, free: 446.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1145/15.39, allocations: 67.54 MB / 4.296 GB, free: 425.9 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01952/15.41, allocations: 10.54 MB / 4.306 GB, free: 423.8 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01716/15.43, allocations: 2.521 MB / 4.308 GB, free: 423.7 MB / 1.264 GB Notification: Performance of SimCode: time 2.555e-06/15.43, allocations: 0 / 4.308 GB, free: 423.7 MB / 1.264 GB Notification: Performance of Templates: time 4.014/19.44, allocations: 1.57 GB / 5.878 GB, free: 290.1 MB / 1.28 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)