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.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.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.001177/0.001177, allocations: 107 kB / 16.36 MB, free: 6.336 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.001241/0.001241, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.194/2.194, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.06 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.244, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.7984/1.042, allocations: 355.6 MB / 1.298 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.09773/1.14, allocations: 72.93 MB / 1.37 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0142/1.154, allocations: 429.5 kB / 1.37 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01508/1.169, allocations: 5.313 MB / 1.375 GB, free: 4.926 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.04137/1.211, allocations: 13.53 MB / 1.388 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.02516/1.236, allocations: 9.763 MB / 1.398 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.04752/1.284, allocations: 37.54 MB / 1.435 GB, free: 8.012 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03253/1.316, allocations: 19.77 MB / 1.454 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04013/1.356, allocations: 16.72 MB / 1.47 GB, free: 3.348 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02797/1.384, allocations: 15.84 MB / 1.486 GB, free: 3.457 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.008315/1.393, allocations: 1.863 MB / 1.488 GB, free: 1.594 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02041/1.413, allocations: 5.696 MB / 1.493 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.01125/1.425, allocations: 5.779 MB / 1.499 GB, free: 6.094 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.02405/1.449, allocations: 10.32 MB / 1.509 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 1.174/2.622, allocations: 28.74 MB / 1.537 GB, free: 109 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/2.623, allocations: 0 / 1.537 GB, free: 109 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.825e-06/2.623, allocations: 0.9375 kB / 1.537 GB, free: 109 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.001114/2.624, allocations: 0.5156 kB / 1.537 GB, free: 109 MB / 1.186 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.07746/2.701, allocations: 22.09 MB / 1.558 GB, free: 102.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/2.701, allocations: 14.47 kB / 1.558 GB, free: 102.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/2.718, allocations: 2.574 MB / 1.561 GB, free: 101.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.044/2.762, allocations: 15.96 MB / 1.577 GB, free: 98.44 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/2.763, allocations: 0.6605 MB / 1.577 GB, free: 98.42 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006244/2.769, allocations: 0.9291 MB / 1.578 GB, free: 98.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04069/2.81, allocations: 16.53 MB / 1.594 GB, free: 97.59 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000382/2.81, allocations: 10.5 kB / 1.594 GB, free: 97.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0035/2.814, allocations: 326.3 kB / 1.595 GB, free: 97.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/2.814, allocations: 365.9 kB / 1.595 GB, free: 97.57 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03636/2.851, allocations: 21.03 MB / 1.615 GB, free: 97.49 MB / 1.186 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.1327/2.983, allocations: 81.44 MB / 1.695 GB, free: 61.75 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/3.004, allocations: 12.55 MB / 1.707 GB, free: 58.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01423/3.018, allocations: 9.811 MB / 1.717 GB, free: 52.62 MB / 1.186 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.06659/3.085, allocations: 34.26 MB / 1.75 GB, free: 18.17 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0163/3.101, allocations: 9.697 MB / 1.76 GB, free: 8.398 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02244/3.123, allocations: 5.76 MB / 1.765 GB, free: 2.801 MB / 1.186 GB Notification: Performance of pre-optimization done (n=551): time 3.186e-05/3.123, allocations: 0 / 1.765 GB, free: 2.801 MB / 1.186 GB Notification: Performance of matching and sorting (n=822): time 0.9303/4.054, allocations: 217 MB / 1.977 GB, free: 9.168 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1573/4.211, allocations: 55.94 MB / 2.032 GB, free: 204 kB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03018/4.241, allocations: 14.92 MB / 2.047 GB, free: 1.363 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.004096/4.245, allocations: 217.7 kB / 2.047 GB, free: 1.145 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.4856/4.731, allocations: 7.146 MB / 2.054 GB, free: 0.6633 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.00798/4.739, allocations: 2.925 MB / 2.057 GB, free: 0.6629 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01454/4.754, allocations: 3.541 MB / 2.06 GB, free: 0.6621 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/4.754, allocations: 302.7 kB / 2.06 GB, free: 0.6618 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03454/4.788, allocations: 18.96 MB / 2.079 GB, free: 0.6564 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03138/4.82, allocations: 21.55 MB / 2.1 GB, free: 0.6481 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05289/4.873, allocations: 36.2 MB / 2.135 GB, free: 0.6351 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/4.873, allocations: 16.5 kB / 2.135 GB, free: 0.6351 GB / 1.467 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.5821/5.455, allocations: 131.5 MB / 2.264 GB, free: 0.5209 GB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/5.455, allocations: 57.69 kB / 2.264 GB, free: 0.5208 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/5.455, allocations: 56 kB / 2.264 GB, free: 0.5208 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5472/6.002, allocations: 118 MB / 2.379 GB, free: 415.4 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01744/6.02, allocations: 3.299 MB / 2.382 GB, free: 412.1 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1466/6.166, allocations: 81.56 MB / 2.462 GB, free: 330.1 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07765/6.244, allocations: 6.346 MB / 2.468 GB, free: 323.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007087/6.251, allocations: 1.282 MB / 2.469 GB, free: 322.5 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0391/6.29, allocations: 21.99 MB / 2.491 GB, free: 300.5 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03112/6.322, allocations: 21.09 MB / 2.511 GB, free: 278.4 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05725/6.379, allocations: 35.3 MB / 2.546 GB, free: 242.2 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.145e-05/6.379, allocations: 16 kB / 2.546 GB, free: 242.2 MB / 1.467 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5736/6.953, allocations: 130.1 MB / 2.673 GB, free: 112 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/6.953, allocations: 61.69 kB / 2.673 GB, free: 112 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.054e-05/6.953, allocations: 56 kB / 2.673 GB, free: 111.9 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083/8.036, allocations: 117.6 MB / 2.788 GB, free: 0.6314 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0166/8.053, allocations: 3.278 MB / 2.791 GB, free: 0.6314 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1619/8.215, allocations: 86.1 MB / 2.875 GB, free: 0.5987 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07699/8.292, allocations: 6.379 MB / 2.881 GB, free: 0.5944 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00606/8.298, allocations: 1.256 MB / 2.883 GB, free: 0.5931 GB / 1.467 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 (1027): * Single equations (assignments): 1011 * 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.007994/8.306, allocations: 0.7207 MB / 2.883 GB, free: 0.5925 GB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007382/8.313, allocations: 1.463 MB / 2.885 GB, free: 0.5918 GB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1949/8.508, allocations: 60.22 MB / 2.944 GB, free: 0.5333 GB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1968/8.705, allocations: 66.74 MB / 3.009 GB, free: 479.5 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002105/8.705, allocations: 28 kB / 3.009 GB, free: 479.5 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1878/8.893, allocations: 66.05 MB / 3.073 GB, free: 413.6 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2723/9.165, allocations: 128.8 MB / 3.199 GB, free: 285.1 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001103/9.165, allocations: 0 / 3.199 GB, free: 285.1 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01068/9.176, allocations: 1.912 MB / 3.201 GB, free: 283.2 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.302/9.478, allocations: 81.38 MB / 3.28 GB, free: 202 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003721/9.482, allocations: 0.567 MB / 3.281 GB, free: 201.4 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1017/9.584, allocations: 58.3 MB / 3.338 GB, free: 143.1 MB / 1.467 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 + 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.1174/9.701, allocations: 53.99 MB / 3.391 GB, free: 87.98 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7909/10.49, allocations: 95.14 MB / 3.483 GB, free: 0.6195 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02046/10.51, allocations: 5.659 MB / 3.489 GB, free: 0.6185 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007246/10.52, allocations: 209.9 kB / 3.489 GB, free: 0.6183 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04638/10.57, allocations: 3.251 MB / 3.492 GB, free: 0.6182 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006169/10.57, allocations: 0.8587 MB / 3.493 GB, free: 0.6181 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004114/10.58, allocations: 0.6212 MB / 3.494 GB, free: 0.6181 GB / 1.467 GB Notification: Performance of sorting global known variables: time 0.02317/10.6, allocations: 10.22 MB / 3.504 GB, free: 0.6149 GB / 1.467 GB Notification: Performance of sort global known variables: time 6.01e-07/10.6, allocations: 4.781 kB / 3.504 GB, free: 0.6149 GB / 1.467 GB Notification: Performance of remove unused functions: time 0.08629/10.69, allocations: 38.1 MB / 3.541 GB, free: 0.6142 GB / 1.467 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 (605): * Single equations (assignments): 584 * 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.006207/10.69, allocations: 1.781 MB / 3.543 GB, free: 0.6139 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.1327/10.83, allocations: 74.37 MB / 3.615 GB, free: 0.5584 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/10.83, allocations: 6.062 kB / 3.615 GB, free: 0.5584 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.05292/10.88, allocations: 25.32 MB / 3.64 GB, free: 0.5384 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05936/10.94, allocations: 7.171 MB / 3.647 GB, free: 0.5334 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08966/11.03, allocations: 51.25 MB / 3.697 GB, free: 499.2 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01458/11.04, allocations: 9.733 MB / 3.707 GB, free: 489.6 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.02749/11.07, allocations: 7.425 MB / 3.714 GB, free: 482.3 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/11.08, allocations: 1.933 MB / 3.716 GB, free: 480.4 MB / 1.467 GB Notification: Performance of SimCode: time 9.62e-07/11.08, allocations: 0 / 3.716 GB, free: 480.4 MB / 1.467 GB Notification: Performance of Templates: time 1.276/12.36, allocations: 0.6058 GB / 4.322 GB, free: 0.5339 GB / 1.467 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 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)