Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_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_9_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.001826/0.001834, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001799/0.001798, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7216, allocations: 140.4 MB / 0.9489 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.8968/1.618, allocations: 353.1 MB / 1.294 GB, free: 59.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1061/1.725, allocations: 73.08 MB / 1.365 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02246/1.747, allocations: 396.4 kB / 1.365 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01935/1.766, allocations: 4.429 MB / 1.37 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04408/1.811, allocations: 12.54 MB / 1.382 GB, free: 48.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02498/1.836, allocations: 8.914 MB / 1.391 GB, free: 43.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04992/1.886, allocations: 48.26 MB / 1.438 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0339/1.92, allocations: 17.51 MB / 1.455 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03657/1.956, allocations: 14.5 MB / 1.469 GB, free: 3.805 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03143/1.988, allocations: 15.72 MB / 1.485 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008456/1.996, allocations: 1.214 MB / 1.486 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02088/2.017, allocations: 4.858 MB / 1.49 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0103/2.027, allocations: 5.103 MB / 1.495 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02618/2.054, allocations: 9.516 MB / 1.505 GB, free: 1.238 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04981/2.103, allocations: 27.9 MB / 1.532 GB, free: 6.402 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/2.103, allocations: 0 / 1.532 GB, free: 6.402 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.383e-06/2.103, allocations: 0 / 1.532 GB, free: 6.402 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001042/2.105, allocations: 0 / 1.532 GB, free: 6.402 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06887/2.173, allocations: 22.12 MB / 1.554 GB, free: 364 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.173, allocations: 8.031 kB / 1.554 GB, free: 356 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/2.188, allocations: 2.578 MB / 1.556 GB, free: 13.76 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03961/2.228, allocations: 15.68 MB / 1.571 GB, free: 14.35 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008468/2.229, allocations: 0.6837 MB / 1.572 GB, free: 13.67 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005185/2.234, allocations: 0.9229 MB / 1.573 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/2.274, allocations: 16.53 MB / 1.589 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002683/2.275, allocations: 15.78 kB / 1.589 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003257/2.278, allocations: 329.7 kB / 1.589 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003622/2.278, allocations: 367.3 kB / 1.59 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0411/2.32, allocations: 21.07 MB / 1.61 GB, free: 6.266 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1516/2.471, allocations: 81.09 MB / 1.69 GB, free: 2.109 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/2.492, allocations: 12.61 MB / 1.702 GB, free: 5.73 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01606/2.509, allocations: 9.839 MB / 1.711 GB, free: 11.88 MB / 1.279 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.039/3.547, allocations: 34.26 MB / 1.745 GB, free: 0.4984 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02317/3.57, allocations: 9.717 MB / 1.754 GB, free: 0.4952 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03211/3.603, allocations: 8.546 MB / 1.763 GB, free: 0.4932 GB / 1.279 GB Notification: Performance of pre-optimization done (n=555): time 0.0001089/3.603, allocations: 0 / 1.763 GB, free: 0.4932 GB / 1.279 GB Notification: Performance of matching and sorting (n=826): time 0.8851/4.488, allocations: 214.9 MB / 1.973 GB, free: 309 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1428/4.631, allocations: 55.24 MB / 2.027 GB, free: 252.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02972/4.66, allocations: 14.83 MB / 2.041 GB, free: 238 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.004837/4.665, allocations: 221.5 kB / 2.041 GB, free: 237.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00718/4.673, allocations: 7.184 MB / 2.048 GB, free: 230.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.008487/4.681, allocations: 2.943 MB / 2.051 GB, free: 227.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0127/4.694, allocations: 3.544 MB / 2.055 GB, free: 224.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/4.694, allocations: 301.1 kB / 2.055 GB, free: 224 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02502/4.719, allocations: 18.97 MB / 2.073 GB, free: 205 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02814/4.747, allocations: 21.55 MB / 2.095 GB, free: 182.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05431/4.801, allocations: 36.22 MB / 2.13 GB, free: 145.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/4.801, allocations: 16 kB / 2.13 GB, free: 145.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 1.615/6.416, allocations: 131.5 MB / 2.258 GB, free: 463.7 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/6.417, allocations: 55.19 kB / 2.258 GB, free: 463.6 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/6.417, allocations: 53.11 kB / 2.258 GB, free: 463.6 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6167/7.033, allocations: 117.9 MB / 2.374 GB, free: 431.1 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0171/7.051, allocations: 3.301 MB / 2.377 GB, free: 427.9 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.145/7.196, allocations: 77.53 MB / 2.453 GB, free: 350.3 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07982/7.276, allocations: 6.759 MB / 2.459 GB, free: 343.6 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006424/7.282, allocations: 1.286 MB / 2.46 GB, free: 342.3 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03372/7.316, allocations: 21.99 MB / 2.482 GB, free: 320.3 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02948/7.345, allocations: 21.1 MB / 2.502 GB, free: 298.2 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05426/7.4, allocations: 35.33 MB / 2.537 GB, free: 262.1 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.335e-05/7.4, allocations: 12 kB / 2.537 GB, free: 262.1 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.5601/7.96, allocations: 130 MB / 2.664 GB, free: 132.8 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/7.96, allocations: 59.36 kB / 2.664 GB, free: 132.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/7.96, allocations: 52 kB / 2.664 GB, free: 132.6 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141/9.101, allocations: 117.6 MB / 2.779 GB, free: 452 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01835/9.119, allocations: 3.29 MB / 2.782 GB, free: 452 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.163/9.282, allocations: 81.48 MB / 2.862 GB, free: 432.6 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07949/9.362, allocations: 6.777 MB / 2.868 GB, free: 432.5 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005863/9.368, allocations: 1.256 MB / 2.87 GB, free: 432.4 MB / 1.28 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.006508/9.374, allocations: 0.7278 MB / 2.87 GB, free: 431.8 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006454/9.381, allocations: 1.464 MB / 2.872 GB, free: 431.8 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2019/9.583, allocations: 60.24 MB / 2.931 GB, free: 386.3 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2041/9.787, allocations: 66.61 MB / 2.996 GB, free: 319.8 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001524/9.787, allocations: 28 kB / 2.996 GB, free: 319.7 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1974/9.984, allocations: 65.93 MB / 3.06 GB, free: 253.8 MB / 1.28 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.2704/10.25, allocations: 129.2 MB / 3.186 GB, free: 124.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/10.25, allocations: 7.312 kB / 3.186 GB, free: 124.7 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01134/10.27, allocations: 1.923 MB / 3.188 GB, free: 122.8 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3228/10.59, allocations: 81.41 MB / 3.267 GB, free: 41.52 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004368/10.59, allocations: 0.5612 MB / 3.268 GB, free: 40.96 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7513/11.34, allocations: 55.73 MB / 3.322 GB, free: 458 MB / 1.28 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 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 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.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 ] 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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.1146/11.46, allocations: 53.17 MB / 3.374 GB, free: 433.9 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2492/11.71, allocations: 95.36 MB / 3.468 GB, free: 361.9 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01725/11.73, allocations: 5.662 MB / 3.473 GB, free: 357 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008598/11.73, allocations: 208 kB / 3.473 GB, free: 356.8 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04734/11.78, allocations: 3.673 MB / 3.477 GB, free: 353.2 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005926/11.79, allocations: 0.8576 MB / 3.478 GB, free: 352.3 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004045/11.79, allocations: 0.6237 MB / 3.478 GB, free: 351.7 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.02011/11.81, allocations: 10.14 MB / 3.488 GB, free: 341.6 MB / 1.28 GB Notification: Performance of sort global known variables: time 9.72e-07/11.81, allocations: 0 / 3.488 GB, free: 341.6 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.09861/11.91, allocations: 38.47 MB / 3.526 GB, free: 303.3 MB / 1.28 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 (609): * Single equations (assignments): 588 * 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.005757/11.92, allocations: 1.7 MB / 3.527 GB, free: 301.9 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.1273/12.04, allocations: 74.36 MB / 3.6 GB, free: 227.5 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/12.04, allocations: 4 kB / 3.6 GB, free: 227.5 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.05083/12.09, allocations: 25.28 MB / 3.625 GB, free: 202.3 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05551/12.15, allocations: 7.359 MB / 3.632 GB, free: 195.1 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08063/12.23, allocations: 57.28 MB / 3.688 GB, free: 137.8 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01313/12.24, allocations: 9.733 MB / 3.697 GB, free: 128 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.02967/12.27, allocations: 7.457 MB / 3.705 GB, free: 120.6 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0118/12.29, allocations: 1.922 MB / 3.706 GB, free: 118.7 MB / 1.28 GB Notification: Performance of SimCode: time 1.252e-06/12.29, allocations: 0 / 3.706 GB, free: 118.7 MB / 1.28 GB Notification: Performance of Templates: time 1.315/13.6, allocations: 0.5864 GB / 4.293 GB, free: 37.93 MB / 1.28 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)