Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001427, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.00168/0.00168, allocations: 187 kB / 17.34 MB, free: 5.742 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 59.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9504, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3348/1.285, allocations: 357.8 MB / 1.517 GB, free: 12.88 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.8926/2.178, allocations: 75.85 MB / 1.591 GB, free: 61.9 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01994/2.198, allocations: 434.4 kB / 1.591 GB, free: 61.9 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02018/2.218, allocations: 6.559 MB / 1.598 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04561/2.264, allocations: 14.76 MB / 1.612 GB, free: 61.34 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02787/2.292, allocations: 10.19 MB / 1.622 GB, free: 61.01 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1029/2.395, allocations: 74.27 MB / 1.695 GB, free: 52.8 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02995/2.425, allocations: 20 MB / 1.714 GB, free: 37.07 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03884/2.463, allocations: 17.45 MB / 1.731 GB, free: 21.05 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02984/2.493, allocations: 16.38 MB / 1.747 GB, free: 5.836 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.00888/2.502, allocations: 1.957 MB / 1.749 GB, free: 3.879 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02436/2.527, allocations: 6.04 MB / 1.755 GB, free: 14.11 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01294/2.54, allocations: 6.502 MB / 1.761 GB, free: 7.84 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02723/2.567, allocations: 11.18 MB / 1.772 GB, free: 12.84 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05454/2.622, allocations: 31.08 MB / 1.803 GB, free: 14.86 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/2.622, allocations: 4 kB / 1.803 GB, free: 14.85 MB / 1.342 GB Notification: Performance of FrontEnd: time 2.174e-06/2.622, allocations: 0 / 1.803 GB, free: 14.85 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001053/2.623, allocations: 0 / 1.803 GB, free: 14.85 MB / 1.342 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.07121/2.694, allocations: 23.91 MB / 1.826 GB, free: 6.996 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/2.694, allocations: 12.92 kB / 1.826 GB, free: 6.984 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/2.713, allocations: 3.189 MB / 1.829 GB, free: 3.77 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05108/2.764, allocations: 20.84 MB / 1.849 GB, free: 15.22 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007753/2.765, allocations: 0.6646 MB / 1.85 GB, free: 14.56 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005425/2.77, allocations: 0.9416 MB / 1.851 GB, free: 13.63 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/2.814, allocations: 17.07 MB / 1.868 GB, free: 12.37 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003421/2.814, allocations: 15.88 kB / 1.868 GB, free: 12.35 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004218/2.818, allocations: 325.5 kB / 1.868 GB, free: 12.04 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004008/2.819, allocations: 367.4 kB / 1.868 GB, free: 11.68 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04386/2.863, allocations: 21.5 MB / 1.889 GB, free: 6.164 MB / 1.42 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.154/3.017, allocations: 83.3 MB / 1.971 GB, free: 348 kB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02299/3.04, allocations: 13.02 MB / 1.983 GB, free: 3.555 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01731/3.057, allocations: 10.07 MB / 1.993 GB, free: 9.473 MB / 1.529 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.08008/3.137, allocations: 35.31 MB / 2.028 GB, free: 5.828 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01991/3.157, allocations: 10.16 MB / 2.038 GB, free: 11.61 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02229/3.18, allocations: 5.806 MB / 2.043 GB, free: 5.957 MB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 4.483e-05/3.18, allocations: 0 / 2.043 GB, free: 5.957 MB / 1.576 GB Notification: Performance of matching and sorting (n=838): time 1.626/4.806, allocations: 217.7 MB / 2.256 GB, free: 0.6979 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1334/4.939, allocations: 55.92 MB / 2.31 GB, free: 0.6429 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03002/4.969, allocations: 17.79 MB / 2.328 GB, free: 0.6258 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.004172/4.973, allocations: 229.5 kB / 2.328 GB, free: 0.6256 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.008802/4.982, allocations: 7.741 MB / 2.336 GB, free: 0.6194 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.008297/4.991, allocations: 2.996 MB / 2.339 GB, free: 0.6179 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01319/5.004, allocations: 3.991 MB / 2.342 GB, free: 0.6139 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 5.008e-05/5.004, allocations: 313.1 kB / 2.343 GB, free: 0.6136 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02749/5.031, allocations: 20.27 MB / 2.363 GB, free: 0.5938 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03028/5.062, allocations: 23.1 MB / 2.385 GB, free: 0.5703 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05609/5.118, allocations: 38.6 MB / 2.423 GB, free: 0.5318 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-05/5.118, allocations: 16 kB / 2.423 GB, free: 0.5318 GB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5498/5.668, allocations: 134.5 MB / 2.554 GB, free: 409.8 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/5.668, allocations: 53.7 kB / 2.554 GB, free: 409.8 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.153e-05/5.668, allocations: 55.98 kB / 2.554 GB, free: 409.7 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5289/6.197, allocations: 118 MB / 2.67 GB, free: 291.8 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/6.215, allocations: 3.549 MB / 2.673 GB, free: 288.3 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1432/6.358, allocations: 81.88 MB / 2.753 GB, free: 206 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07746/6.436, allocations: 6.448 MB / 2.759 GB, free: 199.6 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006195/6.442, allocations: 1.314 MB / 2.761 GB, free: 198.2 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03965/6.482, allocations: 23.66 MB / 2.784 GB, free: 174.5 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03134/6.513, allocations: 22.59 MB / 2.806 GB, free: 150.9 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05621/6.569, allocations: 37.58 MB / 2.842 GB, free: 112.5 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.974e-05/6.569, allocations: 19.98 kB / 2.842 GB, free: 112.5 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.363/7.932, allocations: 133 MB / 2.972 GB, free: 0.6908 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/7.932, allocations: 59.05 kB / 2.972 GB, free: 0.6907 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.457e-05/7.932, allocations: 50.59 kB / 2.972 GB, free: 0.6907 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5337/8.466, allocations: 117.6 MB / 3.087 GB, free: 0.6169 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01676/8.483, allocations: 3.535 MB / 3.091 GB, free: 0.6136 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1422/8.625, allocations: 86.12 MB / 3.175 GB, free: 0.5294 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07744/8.702, allocations: 6.492 MB / 3.181 GB, free: 0.5231 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005385/8.708, allocations: 1.282 MB / 3.182 GB, free: 0.5218 GB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.006989/8.715, allocations: 0.7623 MB / 3.183 GB, free: 0.5211 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007315/8.722, allocations: 1.617 MB / 3.185 GB, free: 0.5204 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2003/8.922, allocations: 60.75 MB / 3.244 GB, free: 472.4 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1993/9.122, allocations: 67.04 MB / 3.31 GB, free: 405.5 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001652/9.122, allocations: 28 kB / 3.31 GB, free: 405.5 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1944/9.317, allocations: 66.35 MB / 3.374 GB, free: 339.2 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2866/9.603, allocations: 130.4 MB / 3.502 GB, free: 208.9 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001018/9.603, allocations: 0 / 3.502 GB, free: 208.9 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01146/9.615, allocations: 1.977 MB / 3.504 GB, free: 206.9 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3023/9.917, allocations: 81.4 MB / 3.583 GB, free: 125.6 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004044/9.921, allocations: 0.569 MB / 3.584 GB, free: 125.1 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.102/10.02, allocations: 58.54 MB / 3.641 GB, free: 66.48 MB / 1.701 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : 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 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].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 + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 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 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].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 + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1081/10.13, allocations: 54.07 MB / 3.694 GB, free: 11.25 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.005/11.14, allocations: 96.17 MB / 3.788 GB, free: 0.6704 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01953/11.16, allocations: 5.943 MB / 3.793 GB, free: 0.6663 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007831/11.16, allocations: 214.8 kB / 3.794 GB, free: 0.6661 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04733/11.21, allocations: 3.316 MB / 3.797 GB, free: 0.6646 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00492/11.22, allocations: 0.8676 MB / 3.798 GB, free: 0.6642 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003487/11.22, allocations: 0.6319 MB / 3.798 GB, free: 0.6639 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.0224/11.24, allocations: 12.16 MB / 3.81 GB, free: 0.6541 GB / 1.701 GB Notification: Performance of sort global known variables: time 4.01e-07/11.24, allocations: 0 / 3.81 GB, free: 0.6541 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.08897/11.33, allocations: 38.69 MB / 3.848 GB, free: 0.6165 GB / 1.701 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($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],vol.p) * 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 (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {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 {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008652/11.34, allocations: 1.939 MB / 3.85 GB, free: 0.615 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.1255/11.47, allocations: 77.4 MB / 3.925 GB, free: 0.5398 GB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/11.47, allocations: 4 kB / 3.925 GB, free: 0.5397 GB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.04906/11.51, allocations: 25.5 MB / 3.95 GB, free: 0.5153 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05334/11.57, allocations: 7.979 MB / 3.958 GB, free: 0.508 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09199/11.66, allocations: 54.33 MB / 4.011 GB, free: 466 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01713/11.68, allocations: 10.36 MB / 4.021 GB, free: 455.6 MB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01325/11.69, allocations: 2.113 MB / 4.023 GB, free: 453.4 MB / 1.701 GB Notification: Performance of SimCode: time 2.395e-06/11.69, allocations: 0 / 4.023 GB, free: 453.4 MB / 1.701 GB Notification: Performance of Templates: time 3.72/15.41, allocations: 1.35 GB / 5.374 GB, free: 0.5105 GB / 1.701 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)