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.001583/0.001583, allocations: 100.1 kB / 15.88 MB, free: 12 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.001988/0.001988, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.639/1.639, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.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.481/2.481, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.739, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.054/1.793, allocations: 353.1 MB / 1.294 GB, free: 59.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.108/1.901, allocations: 73.09 MB / 1.366 GB, free: 56.42 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02224/1.923, allocations: 395.9 kB / 1.366 GB, free: 56.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01895/1.942, allocations: 4.43 MB / 1.37 GB, free: 55.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04613/1.989, allocations: 12.55 MB / 1.383 GB, free: 49.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02702/2.016, allocations: 8.907 MB / 1.391 GB, free: 43.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04908/2.065, allocations: 48.27 MB / 1.439 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03233/2.097, allocations: 17.51 MB / 1.456 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04027/2.138, allocations: 14.51 MB / 1.47 GB, free: 3.789 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03193/2.169, allocations: 15.71 MB / 1.485 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00999/2.18, allocations: 1.207 MB / 1.486 GB, free: 4.039 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02474/2.204, allocations: 4.877 MB / 1.491 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0118/2.216, allocations: 5.088 MB / 1.496 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02646/2.243, allocations: 9.519 MB / 1.505 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03711/2.28, allocations: 22.18 MB / 1.527 GB, free: 11.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/2.28, allocations: 3.984 kB / 1.527 GB, free: 11.9 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/2.28, allocations: 4 kB / 1.527 GB, free: 11.9 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001051/2.281, allocations: 0 / 1.527 GB, free: 11.9 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.06909/2.35, allocations: 22.11 MB / 1.549 GB, free: 5.863 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/2.35, allocations: 19.97 kB / 1.549 GB, free: 5.844 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/2.366, allocations: 2.57 MB / 1.551 GB, free: 3.25 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03997/2.406, allocations: 15.68 MB / 1.566 GB, free: 3.84 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000857/2.407, allocations: 0.6792 MB / 1.567 GB, free: 3.168 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005279/2.412, allocations: 0.92 MB / 1.568 GB, free: 2.254 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04652/2.459, allocations: 16.53 MB / 1.584 GB, free: 1.539 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003725/2.459, allocations: 19.78 kB / 1.584 GB, free: 1.52 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004144/2.463, allocations: 323.7 kB / 1.585 GB, free: 1.211 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004175/2.464, allocations: 363.3 kB / 1.585 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04215/2.506, allocations: 21.07 MB / 1.605 GB, free: 11.77 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.1438/2.65, allocations: 81.1 MB / 1.685 GB, free: 7.602 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/2.673, allocations: 12.61 MB / 1.697 GB, free: 11.23 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01716/2.69, allocations: 9.828 MB / 1.707 GB, free: 1.383 MB / 1.264 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.151/3.84, allocations: 34.27 MB / 1.74 GB, free: 0.501 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0204/3.861, allocations: 9.712 MB / 1.75 GB, free: 0.4977 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02953/3.891, allocations: 8.541 MB / 1.758 GB, free: 0.4965 GB / 1.279 GB Notification: Performance of pre-optimization done (n=555): time 6.136e-05/3.891, allocations: 0 / 1.758 GB, free: 0.4965 GB / 1.279 GB Notification: Performance of matching and sorting (n=826): time 0.858/4.749, allocations: 214.9 MB / 1.968 GB, free: 314.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1336/4.882, allocations: 55.22 MB / 2.022 GB, free: 258.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0273/4.91, allocations: 14.83 MB / 2.036 GB, free: 243.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.004693/4.914, allocations: 221.3 kB / 2.036 GB, free: 243.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.008214/4.923, allocations: 7.192 MB / 2.043 GB, free: 236.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.008673/4.931, allocations: 2.935 MB / 2.046 GB, free: 233.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01617/4.948, allocations: 3.536 MB / 2.05 GB, free: 229.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/4.948, allocations: 313.2 kB / 2.05 GB, free: 229.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02885/4.977, allocations: 18.97 MB / 2.069 GB, free: 210.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03073/5.007, allocations: 21.55 MB / 2.09 GB, free: 187.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05767/5.065, allocations: 36.22 MB / 2.125 GB, free: 150.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.398e-05/5.065, allocations: 16 kB / 2.125 GB, free: 150.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.557/5.622, allocations: 131.5 MB / 2.253 GB, free: 19.08 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/5.622, allocations: 57.69 kB / 2.253 GB, free: 19.02 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.408e-05/5.622, allocations: 52 kB / 2.253 GB, free: 18.96 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656/7.278, allocations: 117.9 MB / 2.369 GB, free: 437.2 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01717/7.296, allocations: 3.31 MB / 2.372 GB, free: 434 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/7.439, allocations: 77.53 MB / 2.448 GB, free: 356.4 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07762/7.517, allocations: 6.755 MB / 2.454 GB, free: 349.7 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006652/7.523, allocations: 1.286 MB / 2.455 GB, free: 348.4 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03543/7.559, allocations: 21.99 MB / 2.477 GB, free: 326.4 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02937/7.588, allocations: 21.1 MB / 2.498 GB, free: 304.3 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05134/7.64, allocations: 35.33 MB / 2.532 GB, free: 268.1 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.576e-05/7.64, allocations: 20 kB / 2.532 GB, free: 268.1 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.5427/8.182, allocations: 130 MB / 2.659 GB, free: 138.8 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/8.183, allocations: 54.95 kB / 2.659 GB, free: 138.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-05/8.183, allocations: 56 kB / 2.659 GB, free: 138.6 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5328/8.715, allocations: 117.6 MB / 2.774 GB, free: 21.1 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6624/9.378, allocations: 3.281 MB / 2.777 GB, free: 459.1 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1721/9.55, allocations: 81.48 MB / 2.857 GB, free: 440.1 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07887/9.629, allocations: 6.777 MB / 2.863 GB, free: 439.2 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006453/9.635, allocations: 1.256 MB / 2.865 GB, free: 438.5 MB / 1.28 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.007927/9.643, allocations: 0.7279 MB / 2.865 GB, free: 437.9 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007321/9.651, allocations: 1.466 MB / 2.867 GB, free: 437.9 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.203/9.854, allocations: 60.24 MB / 2.926 GB, free: 392.2 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2027/10.06, allocations: 66.61 MB / 2.991 GB, free: 325.7 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001978/10.06, allocations: 28 kB / 2.991 GB, free: 325.7 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1955/10.25, allocations: 65.94 MB / 3.055 GB, free: 259.7 MB / 1.28 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2763/10.53, allocations: 129.2 MB / 3.181 GB, free: 130.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001063/10.53, allocations: 0 / 3.181 GB, free: 130.7 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01107/10.54, allocations: 1.922 MB / 3.183 GB, free: 128.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3115/10.85, allocations: 81.42 MB / 3.263 GB, free: 47.45 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004101/10.86, allocations: 0.565 MB / 3.263 GB, free: 46.88 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.752/11.61, allocations: 55.71 MB / 3.318 GB, free: 466.3 MB / 1.28 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; 1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1147/11.72, allocations: 53.18 MB / 3.369 GB, free: 442.3 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2463/11.97, allocations: 95.36 MB / 3.463 GB, free: 371 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01683/11.99, allocations: 5.656 MB / 3.468 GB, free: 366.1 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008321/11.99, allocations: 211.9 kB / 3.468 GB, free: 365.9 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04648/12.04, allocations: 3.668 MB / 3.472 GB, free: 362.3 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005897/12.05, allocations: 0.8615 MB / 3.473 GB, free: 361.4 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004245/12.05, allocations: 0.6198 MB / 3.473 GB, free: 360.8 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.02145/12.07, allocations: 10.13 MB / 3.483 GB, free: 350.7 MB / 1.28 GB Notification: Performance of sort global known variables: time 3.31e-07/12.07, allocations: 1.859 kB / 3.483 GB, free: 350.7 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.1055/12.18, allocations: 38.47 MB / 3.521 GB, free: 312.4 MB / 1.28 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006987/12.18, allocations: 1.701 MB / 3.522 GB, free: 311 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.1287/12.31, allocations: 74.35 MB / 3.595 GB, free: 236.7 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/12.31, allocations: 8 kB / 3.595 GB, free: 236.6 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.0521/12.37, allocations: 25.26 MB / 3.62 GB, free: 211.4 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06088/12.43, allocations: 7.371 MB / 3.627 GB, free: 204.2 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08952/12.52, allocations: 57.54 MB / 3.683 GB, free: 146.7 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01423/12.53, allocations: 9.635 MB / 3.693 GB, free: 137 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/12.54, allocations: 1.976 MB / 3.694 GB, free: 135 MB / 1.28 GB Notification: Performance of SimCode: time 1.272e-06/12.54, allocations: 7.938 kB / 3.694 GB, free: 135 MB / 1.28 GB Notification: Performance of Templates: time 3.273/15.82, allocations: 1.266 GB / 4.961 GB, free: 317.3 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)