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.001203/0.001203, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.344/2.344, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6813, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.8982/1.58, allocations: 355.6 MB / 1.297 GB, free: 60.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09646/1.676, allocations: 72.94 MB / 1.368 GB, free: 56.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01893/1.695, allocations: 427.8 kB / 1.368 GB, free: 56.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0161/1.711, allocations: 5.32 MB / 1.374 GB, free: 54.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03805/1.749, allocations: 13.53 MB / 1.387 GB, free: 47.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02354/1.773, allocations: 9.658 MB / 1.396 GB, free: 41.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04073/1.814, allocations: 37.4 MB / 1.433 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02824/1.842, allocations: 19.8 MB / 1.452 GB, free: 6.867 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03481/1.877, allocations: 16.61 MB / 1.468 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02694/1.904, allocations: 15.83 MB / 1.484 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.009012/1.913, allocations: 1.863 MB / 1.486 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0218/1.935, allocations: 5.694 MB / 1.491 GB, free: 1.125 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01068/1.945, allocations: 5.775 MB / 1.497 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0219/1.967, allocations: 10.31 MB / 1.507 GB, free: 1.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04849/2.016, allocations: 28.45 MB / 1.535 GB, free: 6.031 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/2.016, allocations: 0 / 1.535 GB, free: 6.031 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.265e-06/2.016, allocations: 0 / 1.535 GB, free: 6.031 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0009305/2.017, allocations: 0 / 1.535 GB, free: 6.031 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.07496/2.092, allocations: 22.09 MB / 1.556 GB, free: 8 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/2.092, allocations: 8.031 kB / 1.556 GB, free: 0 / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/2.107, allocations: 2.578 MB / 1.559 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03845/2.146, allocations: 15.41 MB / 1.574 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000781/2.147, allocations: 0.6784 MB / 1.575 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005269/2.152, allocations: 0.9278 MB / 1.575 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04683/2.199, allocations: 16.53 MB / 1.592 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005045/2.199, allocations: 11.94 kB / 1.592 GB, free: 11.92 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004562/2.204, allocations: 329.3 kB / 1.592 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004438/2.204, allocations: 371.2 kB / 1.592 GB, free: 11.24 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04309/2.247, allocations: 21.03 MB / 1.613 GB, free: 6.195 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.1523/2.4, allocations: 81.76 MB / 1.693 GB, free: 1.328 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02342/2.423, allocations: 12.54 MB / 1.705 GB, free: 5.012 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01704/2.44, allocations: 9.825 MB / 1.715 GB, free: 11.17 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.113/3.553, allocations: 34.26 MB / 1.748 GB, free: 0.4976 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01705/3.57, allocations: 9.694 MB / 1.757 GB, free: 0.4944 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02015/3.59, allocations: 5.762 MB / 1.763 GB, free: 0.4933 GB / 1.279 GB Notification: Performance of pre-optimization done (n=551): time 4.048e-05/3.59, allocations: 0 / 1.763 GB, free: 0.4933 GB / 1.279 GB Notification: Performance of matching and sorting (n=822): time 0.9044/4.495, allocations: 217.2 MB / 1.975 GB, free: 309 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1331/4.628, allocations: 56 MB / 2.03 GB, free: 251.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02684/4.655, allocations: 14.92 MB / 2.044 GB, free: 237.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.004824/4.659, allocations: 221.6 kB / 2.045 GB, free: 236.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.008376/4.668, allocations: 7.193 MB / 2.052 GB, free: 229.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.008806/4.677, allocations: 2.92 MB / 2.054 GB, free: 227 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01446/4.691, allocations: 3.544 MB / 2.058 GB, free: 223.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/4.691, allocations: 305.1 kB / 2.058 GB, free: 223.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02682/4.718, allocations: 18.96 MB / 2.077 GB, free: 204.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02978/4.748, allocations: 21.54 MB / 2.098 GB, free: 181.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05721/4.805, allocations: 36.2 MB / 2.133 GB, free: 144.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.749e-05/4.805, allocations: 16 kB / 2.133 GB, free: 144.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.693/6.499, allocations: 131.5 MB / 2.262 GB, free: 464.7 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/6.499, allocations: 56.03 kB / 2.262 GB, free: 464.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.112e-05/6.499, allocations: 53.33 kB / 2.262 GB, free: 464.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6316/7.131, allocations: 118 MB / 2.377 GB, free: 430.5 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01754/7.148, allocations: 3.305 MB / 2.38 GB, free: 427.3 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1374/7.286, allocations: 81.56 MB / 2.46 GB, free: 345.7 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09823/7.384, allocations: 6.349 MB / 2.466 GB, free: 339.4 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005988/7.39, allocations: 1.286 MB / 2.467 GB, free: 338.1 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03774/7.428, allocations: 21.98 MB / 2.489 GB, free: 316.1 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03164/7.459, allocations: 21.11 MB / 2.509 GB, free: 294 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05687/7.516, allocations: 35.3 MB / 2.544 GB, free: 257.8 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001181/7.516, allocations: 19.94 kB / 2.544 GB, free: 257.8 MB / 1.28 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6226/8.139, allocations: 130.1 MB / 2.671 GB, free: 128.5 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/8.139, allocations: 53.7 kB / 2.671 GB, free: 128.5 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/8.139, allocations: 52 kB / 2.671 GB, free: 128.4 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202/9.341, allocations: 117.7 MB / 2.786 GB, free: 453.3 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/9.357, allocations: 3.28 MB / 2.789 GB, free: 453.3 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1579/9.515, allocations: 86.16 MB / 2.873 GB, free: 431.3 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09706/9.612, allocations: 6.373 MB / 2.879 GB, free: 429.7 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006939/9.619, allocations: 1.26 MB / 2.881 GB, free: 428.9 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 (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.01019/9.629, allocations: 0.7196 MB / 2.881 GB, free: 428.4 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008681/9.638, allocations: 1.462 MB / 2.883 GB, free: 428.4 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2344/9.872, allocations: 60.24 MB / 2.942 GB, free: 377.6 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2276/10.1, allocations: 66.73 MB / 3.007 GB, free: 311 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001696/10.1, allocations: 28 kB / 3.007 GB, free: 311 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2207/10.32, allocations: 66.05 MB / 3.071 GB, free: 245 MB / 1.28 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3014/10.62, allocations: 128.9 MB / 3.197 GB, free: 116.3 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001111/10.62, allocations: 3.938 kB / 3.197 GB, free: 116.3 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01153/10.63, allocations: 1.911 MB / 3.199 GB, free: 114.4 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3332/10.97, allocations: 81.52 MB / 3.279 GB, free: 32.96 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003421/10.97, allocations: 0.5651 MB / 3.279 GB, free: 32.39 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7652/11.74, allocations: 58.31 MB / 3.336 GB, free: 455.9 MB / 1.28 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.1151/11.85, allocations: 54.06 MB / 3.389 GB, free: 431 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.258/12.11, allocations: 95.15 MB / 3.482 GB, free: 350 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01673/12.13, allocations: 5.656 MB / 3.487 GB, free: 345.1 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007602/12.13, allocations: 212 kB / 3.488 GB, free: 344.9 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05663/12.19, allocations: 3.251 MB / 3.491 GB, free: 341.7 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005849/12.2, allocations: 0.8653 MB / 3.492 GB, free: 340.8 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003988/12.2, allocations: 0.6198 MB / 3.492 GB, free: 340.2 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.01972/12.22, allocations: 10.22 MB / 3.502 GB, free: 330.1 MB / 1.28 GB Notification: Performance of sort global known variables: time 4.01e-07/12.22, allocations: 1.969 kB / 3.502 GB, free: 330.1 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.08637/12.31, allocations: 38.09 MB / 3.539 GB, free: 292.1 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 (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.005527/12.31, allocations: 1.774 MB / 3.541 GB, free: 290.6 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.1842/12.5, allocations: 97.96 MB / 3.637 GB, free: 192.8 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/12.5, allocations: 4 kB / 3.637 GB, free: 192.8 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.0546/12.55, allocations: 25.31 MB / 3.661 GB, free: 167.5 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05373/12.6, allocations: 7.182 MB / 3.669 GB, free: 160.6 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0839/12.69, allocations: 51.64 MB / 3.719 GB, free: 109 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01638/12.7, allocations: 9.742 MB / 3.728 GB, free: 99.21 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.03162/12.74, allocations: 7.429 MB / 3.736 GB, free: 91.77 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01175/12.75, allocations: 1.926 MB / 3.738 GB, free: 89.84 MB / 1.28 GB Notification: Performance of SimCode: time 1.203e-06/12.75, allocations: 0 / 3.738 GB, free: 89.84 MB / 1.28 GB Notification: Performance of Templates: time 1.939/14.69, allocations: 0.6099 GB / 4.347 GB, free: 440.6 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)