Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9684/0.9684, allocations: 177.1 MB / 203.8 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001782/0.001782, allocations: 233.6 kB / 260.5 MB, free: 12.91 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7113/0.7113, allocations: 138.4 MB / 455.4 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5551 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.793e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.8105/0.8106, allocations: 373.9 MB / 0.9203 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.08621/0.8968, allocations: 78.38 MB / 0.9968 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01799/0.9148, allocations: 0.5801 MB / 0.9974 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01751/0.9323, allocations: 6.456 MB / 1.004 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.03902/0.9713, allocations: 15.44 MB / 1.019 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0237/0.995, allocations: 10.8 MB / 1.029 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.08679/1.082, allocations: 87.05 MB / 1.114 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02545/1.107, allocations: 17.23 MB / 1.131 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7447/1.852, allocations: 23.44 MB / 1.154 GB, free: 69.76 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02896/1.881, allocations: 15.74 MB / 1.169 GB, free: 69.76 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.008038/1.889, allocations: 1.836 MB / 1.171 GB, free: 69.76 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/1.906, allocations: 5.065 MB / 1.176 GB, free: 69.76 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.01007/1.916, allocations: 6.674 MB / 1.183 GB, free: 69.76 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02138/1.938, allocations: 7.686 MB / 1.19 GB, free: 69.76 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03421/1.972, allocations: 21.33 MB / 1.211 GB, free: 68.68 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.972, allocations: 2.719 kB / 1.211 GB, free: 68.68 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.034e-06/1.972, allocations: 0 / 1.211 GB, free: 68.68 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0009438/1.973, allocations: 0 / 1.211 GB, free: 68.68 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.03748/2.01, allocations: 22.13 MB / 1.233 GB, free: 59.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/2.01, allocations: 7.469 kB / 1.233 GB, free: 59.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008356/2.019, allocations: 3.716 MB / 1.236 GB, free: 58.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/2.042, allocations: 17.58 MB / 1.253 GB, free: 54.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/2.042, allocations: 0.6693 MB / 1.254 GB, free: 54.88 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/2.044, allocations: 0.9473 MB / 1.255 GB, free: 54.87 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/2.057, allocations: 11.33 MB / 1.266 GB, free: 46.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/2.057, allocations: 14.55 kB / 1.266 GB, free: 46.65 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009691/2.058, allocations: 328.9 kB / 1.266 GB, free: 46.58 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/2.058, allocations: 369.5 kB / 1.267 GB, free: 46.24 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/2.069, allocations: 7.984 MB / 1.275 GB, free: 39.09 MB / 0.7605 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.06196/2.131, allocations: 55.3 MB / 1.329 GB, free: 8.773 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009453/2.141, allocations: 6.404 MB / 1.335 GB, free: 2.652 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005771/2.147, allocations: 4.658 MB / 1.339 GB, free: 13.98 MB / 0.7918 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.03332/2.18, allocations: 22.07 MB / 1.361 GB, free: 8.008 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006596/2.187, allocations: 6.103 MB / 1.367 GB, free: 1.605 MB / 0.8074 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01772/2.204, allocations: 8.062 MB / 1.375 GB, free: 9.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=567): time 3.122e-05/2.204, allocations: 0 / 1.375 GB, free: 9.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=838): time 0.6563/2.861, allocations: 142 MB / 1.513 GB, free: 418.2 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05162/2.912, allocations: 34.7 MB / 1.547 GB, free: 399.8 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01648/2.929, allocations: 14.47 MB / 1.561 GB, free: 392.7 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.00366/2.932, allocations: 221.6 kB / 1.562 GB, free: 392.5 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.006086/2.938, allocations: 8.82 MB / 1.57 GB, free: 385.2 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.007288/2.946, allocations: 3.229 MB / 1.573 GB, free: 383.8 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006015/2.952, allocations: 3.332 MB / 1.577 GB, free: 380.4 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/2.952, allocations: 480.8 kB / 1.577 GB, free: 380 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009227/2.961, allocations: 4.321 MB / 1.581 GB, free: 375.6 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/2.972, allocations: 10.07 MB / 1.591 GB, free: 363.7 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02087/2.993, allocations: 13.54 MB / 1.604 GB, free: 349.1 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/2.993, allocations: 18.95 kB / 1.604 GB, free: 349.1 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.2385/3.232, allocations: 69.1 MB / 1.672 GB, free: 280.1 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/3.232, allocations: 53.69 kB / 1.672 GB, free: 280 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.358e-05/3.232, allocations: 53.31 kB / 1.672 GB, free: 279.9 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3734/3.605, allocations: 143.4 MB / 1.812 GB, free: 137 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01287/3.618, allocations: 6.283 MB / 1.818 GB, free: 130.7 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06091/3.679, allocations: 34.4 MB / 1.852 GB, free: 95.92 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05856/3.738, allocations: 34.99 MB / 1.886 GB, free: 60.88 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004155/3.742, allocations: 1.267 MB / 1.887 GB, free: 59.61 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01202/3.754, allocations: 4.491 MB / 1.892 GB, free: 55.1 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008811/3.763, allocations: 9.976 MB / 1.901 GB, free: 43.23 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01554/3.778, allocations: 12.64 MB / 1.914 GB, free: 29.54 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-05/3.778, allocations: 16 kB / 1.914 GB, free: 29.52 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.4925/4.271, allocations: 68.38 MB / 1.98 GB, free: 391 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/4.271, allocations: 54.58 kB / 1.98 GB, free: 390.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-05/4.271, allocations: 56 kB / 1.981 GB, free: 390.9 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3597/4.63, allocations: 142.7 MB / 2.12 GB, free: 296.3 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/4.642, allocations: 6.265 MB / 2.126 GB, free: 290.2 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06185/4.704, allocations: 34.74 MB / 2.16 GB, free: 257.7 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05388/4.758, allocations: 35.03 MB / 2.194 GB, free: 222.6 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/4.76, allocations: 1.237 MB / 2.195 GB, free: 221.4 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (1035): * Single equations (assignments): 1019 * 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.003415/4.764, allocations: 0.8101 MB / 2.196 GB, free: 220.7 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004881/4.768, allocations: 1.939 MB / 2.198 GB, free: 219.7 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09365/4.862, allocations: 40.91 MB / 2.238 GB, free: 179.2 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09602/4.958, allocations: 39.72 MB / 2.277 GB, free: 139.5 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.966e-05/4.958, allocations: 28 kB / 2.277 GB, free: 139.5 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09236/5.051, allocations: 39.06 MB / 2.315 GB, free: 100.5 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.13/5.181, allocations: 69.42 MB / 2.383 GB, free: 31.23 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-05/5.181, allocations: 0.6562 kB / 2.383 GB, free: 31.23 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006977/5.188, allocations: 1.79 MB / 2.385 GB, free: 29.44 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4852/5.673, allocations: 112.1 MB / 2.494 GB, free: 367.2 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002632/5.675, allocations: 0.563 MB / 2.495 GB, free: 367.1 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05942/5.735, allocations: 35.37 MB / 2.529 GB, free: 336.9 MB / 0.9012 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 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 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.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 ] 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 + (-bou.ports[1].m_flow) - valHea.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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04726/5.782, allocations: 36.39 MB / 2.565 GB, free: 305.4 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1088/5.891, allocations: 48.89 MB / 2.612 GB, free: 259.1 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/5.902, allocations: 5.239 MB / 2.617 GB, free: 254.7 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003275/5.905, allocations: 212 kB / 2.618 GB, free: 254.5 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02677/5.932, allocations: 15.92 MB / 2.633 GB, free: 238.6 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002344/5.934, allocations: 0.9002 MB / 2.634 GB, free: 237.7 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009911/5.935, allocations: 0.6361 MB / 2.635 GB, free: 237.1 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.008759/5.944, allocations: 7.843 MB / 2.642 GB, free: 229.3 MB / 0.9012 GB Notification: Performance of sort global known variables: time 1.8e-07/5.944, allocations: 1.641 kB / 2.642 GB, free: 229.3 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.04033/5.984, allocations: 23.43 MB / 2.665 GB, free: 205.9 MB / 0.9012 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 (621): * Single equations (assignments): 600 * 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.003831/5.988, allocations: 1.803 MB / 2.667 GB, free: 204.3 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.04857/6.036, allocations: 29.57 MB / 2.696 GB, free: 174.7 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/6.036, allocations: 4 kB / 2.696 GB, free: 174.7 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.03082/6.067, allocations: 22.25 MB / 2.718 GB, free: 152.4 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02897/6.096, allocations: 10.03 MB / 2.727 GB, free: 142.6 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04566/6.142, allocations: 39.17 MB / 2.766 GB, free: 103.1 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00384/6.146, allocations: 4.338 MB / 2.77 GB, free: 98.78 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.01682/6.163, allocations: 4.709 MB / 2.775 GB, free: 94.07 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006988/6.17, allocations: 2.087 MB / 2.777 GB, free: 91.98 MB / 0.9012 GB Notification: Performance of SimCode: time 2.244e-06/6.17, allocations: 0 / 2.777 GB, free: 91.98 MB / 0.9012 GB Notification: Performance of Templates: time 1.169/7.338, allocations: 0.6653 GB / 3.442 GB, free: 322.5 MB / 0.9012 GB " [Timeout remaining time 653] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 20.76357454317622]