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.001852/0.001852, allocations: 105.8 kB / 16.37 MB, free: 6.453 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.002126/0.002126, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.468/1.468, 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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 64.16 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2921, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9279/1.22, allocations: 355.6 MB / 1.298 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1014/1.321, allocations: 72.92 MB / 1.37 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01403/1.336, allocations: 429.4 kB / 1.37 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01462/1.35, allocations: 5.317 MB / 1.375 GB, free: 4.914 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0378/1.388, allocations: 13.53 MB / 1.388 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.02671/1.415, allocations: 9.77 MB / 1.398 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.04706/1.462, allocations: 37.53 MB / 1.435 GB, free: 8.008 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02696/1.489, allocations: 19.78 MB / 1.454 GB, free: 4.074 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03332/1.522, allocations: 16.72 MB / 1.47 GB, free: 3.336 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02848/1.551, allocations: 15.84 MB / 1.486 GB, free: 3.445 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.007577/1.558, allocations: 1.859 MB / 1.488 GB, free: 1.586 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02162/1.58, allocations: 5.696 MB / 1.493 GB, free: 11.88 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.01248/1.592, allocations: 5.783 MB / 1.499 GB, free: 6.082 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.02333/1.616, allocations: 10.31 MB / 1.509 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 1.201/2.817, allocations: 28.74 MB / 1.537 GB, free: 109.2 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/2.817, allocations: 0.6562 kB / 1.537 GB, free: 109.2 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.455e-06/2.817, allocations: 0 / 1.537 GB, free: 109.2 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.001021/2.818, allocations: 4.188 kB / 1.537 GB, free: 109.2 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.07636/2.894, allocations: 22.09 MB / 1.558 GB, free: 102.4 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/2.894, allocations: 9.812 kB / 1.558 GB, free: 102.4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/2.912, allocations: 2.575 MB / 1.561 GB, free: 101.4 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0508/2.963, allocations: 15.97 MB / 1.577 GB, free: 98.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/2.964, allocations: 0.6625 MB / 1.577 GB, free: 98.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007357/2.971, allocations: 0.9251 MB / 1.578 GB, free: 98.56 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05062/3.022, allocations: 16.52 MB / 1.594 GB, free: 97.74 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007545/3.023, allocations: 12.03 kB / 1.594 GB, free: 97.74 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005364/3.028, allocations: 328.5 kB / 1.595 GB, free: 97.74 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/3.029, allocations: 365.1 kB / 1.595 GB, free: 97.73 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04557/3.074, allocations: 21.04 MB / 1.615 GB, free: 97.64 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.1773/3.251, allocations: 81.45 MB / 1.695 GB, free: 61.82 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/3.27, allocations: 12.55 MB / 1.707 GB, free: 58.46 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01368/3.283, allocations: 9.815 MB / 1.717 GB, free: 52.66 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.05927/3.343, allocations: 34.26 MB / 1.75 GB, free: 18.2 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01284/3.355, allocations: 9.693 MB / 1.76 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01978/3.375, allocations: 5.757 MB / 1.765 GB, free: 2.836 MB / 1.186 GB Notification: Performance of pre-optimization done (n=551): time 3.242e-05/3.375, allocations: 0 / 1.765 GB, free: 2.836 MB / 1.186 GB Notification: Performance of matching and sorting (n=822): time 0.8976/4.273, allocations: 217 MB / 1.977 GB, free: 9.207 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1481/4.421, allocations: 55.95 MB / 2.032 GB, free: 244 kB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02911/4.45, allocations: 14.93 MB / 2.047 GB, free: 1.398 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.00504/4.455, allocations: 217.7 kB / 2.047 GB, free: 1.18 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.5828/5.038, allocations: 7.145 MB / 2.054 GB, free: 0.6636 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.007973/5.046, allocations: 2.925 MB / 2.057 GB, free: 0.6632 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01411/5.06, allocations: 3.542 MB / 2.06 GB, free: 0.6624 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/5.06, allocations: 302.9 kB / 2.06 GB, free: 0.6621 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03302/5.093, allocations: 18.96 MB / 2.079 GB, free: 0.6567 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0326/5.126, allocations: 21.54 MB / 2.1 GB, free: 0.6484 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0596/5.186, allocations: 36.2 MB / 2.135 GB, free: 0.6353 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.103e-05/5.186, allocations: 14.56 kB / 2.135 GB, free: 0.6353 GB / 1.467 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.5595/5.745, allocations: 131.5 MB / 2.264 GB, free: 0.5209 GB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/5.745, allocations: 60.42 kB / 2.264 GB, free: 0.5208 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.853e-05/5.745, allocations: 52 kB / 2.264 GB, free: 0.5208 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5344/6.28, allocations: 118 MB / 2.379 GB, free: 415.4 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/6.297, allocations: 3.295 MB / 2.382 GB, free: 412.1 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1348/6.432, allocations: 81.56 MB / 2.462 GB, free: 330.1 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07777/6.51, allocations: 6.346 MB / 2.468 GB, free: 323.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006886/6.517, allocations: 1.286 MB / 2.469 GB, free: 322.5 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03735/6.554, allocations: 21.98 MB / 2.491 GB, free: 300.5 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02775/6.582, allocations: 21.09 MB / 2.511 GB, free: 278.4 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05118/6.633, allocations: 35.3 MB / 2.546 GB, free: 242.2 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.273e-05/6.633, 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.5443/7.178, allocations: 130.1 MB / 2.673 GB, free: 112 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/7.178, allocations: 65.91 kB / 2.673 GB, free: 112 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.858e-05/7.178, allocations: 52 kB / 2.673 GB, free: 111.9 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197/8.375, allocations: 117.6 MB / 2.788 GB, free: 0.6316 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/8.393, allocations: 3.287 MB / 2.791 GB, free: 0.6316 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1479/8.54, allocations: 86.1 MB / 2.875 GB, free: 0.5989 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07579/8.616, allocations: 6.366 MB / 2.881 GB, free: 0.5943 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007198/8.623, 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.007901/8.631, allocations: 0.7285 MB / 2.883 GB, free: 0.5924 GB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008232/8.64, allocations: 1.46 MB / 2.885 GB, free: 0.5918 GB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1974/8.837, allocations: 60.22 MB / 2.944 GB, free: 0.5333 GB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1921/9.029, allocations: 66.74 MB / 3.009 GB, free: 479.5 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001382/9.029, allocations: 28 kB / 3.009 GB, free: 479.5 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1852/9.215, allocations: 66.06 MB / 3.073 GB, free: 413.6 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2512/9.466, allocations: 128.8 MB / 3.199 GB, free: 285.1 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.631e-05/9.466, allocations: 1.266 kB / 3.199 GB, free: 285.1 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01033/9.476, allocations: 1.915 MB / 3.201 GB, free: 283.2 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2949/9.771, allocations: 81.37 MB / 3.28 GB, free: 202 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003763/9.775, allocations: 0.5612 MB / 3.281 GB, free: 201.4 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09218/9.867, 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.1048/9.972, allocations: 54.01 MB / 3.391 GB, free: 87.96 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.795/10.77, allocations: 95.14 MB / 3.484 GB, free: 0.6143 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01799/10.79, allocations: 5.661 MB / 3.489 GB, free: 0.6133 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007481/10.79, allocations: 212.8 kB / 3.489 GB, free: 0.6131 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0451/10.84, allocations: 3.255 MB / 3.492 GB, free: 0.613 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00521/10.84, allocations: 0.8524 MB / 3.493 GB, free: 0.6129 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003527/10.85, allocations: 0.6267 MB / 3.494 GB, free: 0.6129 GB / 1.467 GB Notification: Performance of sorting global known variables: time 0.02027/10.87, allocations: 10.21 MB / 3.504 GB, free: 0.6097 GB / 1.467 GB Notification: Performance of sort global known variables: time 6.62e-07/10.87, allocations: 1.375 kB / 3.504 GB, free: 0.6097 GB / 1.467 GB Notification: Performance of remove unused functions: time 0.09006/10.96, allocations: 38.1 MB / 3.541 GB, free: 0.609 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.006393/10.96, allocations: 1.781 MB / 3.543 GB, free: 0.6087 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.1273/11.09, allocations: 74.37 MB / 3.615 GB, free: 0.5574 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/11.09, allocations: 4 kB / 3.615 GB, free: 0.5574 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.05044/11.14, allocations: 25.33 MB / 3.64 GB, free: 0.5374 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04985/11.19, allocations: 7.165 MB / 3.647 GB, free: 0.5324 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07898/11.27, allocations: 51.24 MB / 3.697 GB, free: 498.3 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/11.28, allocations: 9.732 MB / 3.707 GB, free: 488.7 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.02572/11.31, allocations: 7.439 MB / 3.714 GB, free: 481.4 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01092/11.32, allocations: 1.926 MB / 3.716 GB, free: 479.5 MB / 1.467 GB Notification: Performance of SimCode: time 9.11e-07/11.32, allocations: 0 / 3.716 GB, free: 479.5 MB / 1.467 GB Notification: Performance of Templates: time 1.398/12.72, allocations: 0.6058 GB / 4.322 GB, free: 0.5334 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 cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)