Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001008/0.001008, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001329/0.001329, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.019/1.019, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.776/1.776, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.173e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.05125/0.05128, allocations: 76.21 MB / 0.8616 GB, free: 15.93 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.04805/0.09932, allocations: 30.79 MB / 0.8917 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01585/0.1152, allocations: 0.5927 MB / 0.8922 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.127, allocations: 4.247 MB / 0.8964 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02183/0.1488, allocations: 10.37 MB / 0.9065 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01771/0.1665, allocations: 9.756 MB / 0.916 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0821/0.2486, allocations: 86.48 MB / 1 GB, free: 1.402 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0237/0.2724, allocations: 17.27 MB / 1.017 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04237/0.3147, allocations: 21.1 MB / 1.038 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7684/1.083, allocations: 15.76 MB / 1.053 GB, free: 141.4 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.007472/1.091, allocations: 1.833 MB / 1.055 GB, free: 141.4 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/1.103, allocations: 2.836 MB / 1.058 GB, free: 141.4 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.008952/1.112, allocations: 6.674 MB / 1.064 GB, free: 141.4 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.01544/1.128, allocations: 7.712 MB / 1.072 GB, free: 141.4 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.03257/1.16, allocations: 19.9 MB / 1.091 GB, free: 140.3 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.16, allocations: 0 / 1.091 GB, free: 140.3 MB / 0.9949 GB Notification: Performance of FrontEnd: time 2.164e-06/1.16, allocations: 3.938 kB / 1.091 GB, free: 140.3 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.001057/1.161, allocations: 1.125 kB / 1.091 GB, free: 140.3 MB / 0.9949 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.04302/1.204, allocations: 21.99 MB / 1.113 GB, free: 131.2 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.205, allocations: 11.14 kB / 1.113 GB, free: 131.2 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008447/1.213, allocations: 3.738 MB / 1.117 GB, free: 130 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02524/1.238, allocations: 17.8 MB / 1.134 GB, free: 126.5 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/1.239, allocations: 0.667 MB / 1.135 GB, free: 126.5 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/1.241, allocations: 0.9446 MB / 1.136 GB, free: 126.5 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/1.257, allocations: 11.32 MB / 1.147 GB, free: 124.3 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/1.257, allocations: 22.42 kB / 1.147 GB, free: 124.3 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009911/1.258, allocations: 331.4 kB / 1.147 GB, free: 124.3 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/1.258, allocations: 374.7 kB / 1.147 GB, free: 124.2 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/1.271, allocations: 7.979 MB / 1.155 GB, free: 124.1 MB / 0.9949 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.07123/1.342, allocations: 55.38 MB / 1.209 GB, free: 90.59 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008317/1.35, allocations: 6.407 MB / 1.215 GB, free: 88.48 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00544/1.356, allocations: 4.645 MB / 1.22 GB, free: 85.4 MB / 0.9949 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.03245/1.388, allocations: 21.96 MB / 1.241 GB, free: 63.53 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005961/1.394, allocations: 6.101 MB / 1.247 GB, free: 57.13 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01681/1.411, allocations: 8.053 MB / 1.255 GB, free: 49.29 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=567): time 3.148e-05/1.411, allocations: 2.953 kB / 1.255 GB, free: 49.29 MB / 0.9949 GB Notification: Performance of matching and sorting (n=838): time 0.4479/1.859, allocations: 142 MB / 1.394 GB, free: 2.758 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05479/1.914, allocations: 34.61 MB / 1.428 GB, free: 15.26 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01894/1.933, allocations: 14.68 MB / 1.442 GB, free: 0.6797 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.004188/1.937, allocations: 217.7 kB / 1.442 GB, free: 472 kB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006366/1.943, allocations: 8.943 MB / 1.451 GB, free: 7.527 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.006651/1.95, allocations: 3.228 MB / 1.454 GB, free: 4.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005358/1.955, allocations: 3.33 MB / 1.457 GB, free: 1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/1.955, allocations: 480.8 kB / 1.458 GB, free: 0.5273 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007902/1.963, allocations: 4.329 MB / 1.462 GB, free: 12.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.973, allocations: 10.07 MB / 1.472 GB, free: 248 kB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4857/2.459, allocations: 13.53 MB / 1.485 GB, free: 309.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-05/2.459, allocations: 13.31 kB / 1.485 GB, free: 309.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.237/2.696, allocations: 69.1 MB / 1.553 GB, free: 306 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/2.696, allocations: 56.77 kB / 1.553 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/2.696, allocations: 54.98 kB / 1.553 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3481/3.044, allocations: 143.4 MB / 1.693 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/3.058, allocations: 6.275 MB / 1.699 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05946/3.117, allocations: 34.39 MB / 1.732 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05702/3.174, allocations: 34.99 MB / 1.767 GB, free: 115 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003457/3.177, allocations: 1.27 MB / 1.768 GB, free: 113.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01248/3.19, allocations: 4.496 MB / 1.772 GB, free: 109.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008652/3.199, allocations: 9.967 MB / 1.782 GB, free: 98.69 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01616/3.215, allocations: 12.64 MB / 1.794 GB, free: 86.25 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.032e-05/3.215, allocations: 12.77 kB / 1.794 GB, free: 86.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.2329/3.448, allocations: 68.41 MB / 1.861 GB, free: 19.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/3.448, allocations: 57.64 kB / 1.861 GB, free: 19.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.326e-05/3.448, allocations: 51.98 kB / 1.861 GB, free: 19.34 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7518/4.2, allocations: 142.7 MB / 2.001 GB, free: 311.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/4.213, allocations: 6.268 MB / 2.007 GB, free: 310.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06658/4.279, allocations: 34.75 MB / 2.041 GB, free: 293 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05822/4.337, allocations: 35.02 MB / 2.075 GB, free: 258.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006207/4.344, allocations: 1.235 MB / 2.076 GB, free: 257 MB / 1.198 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.006035/4.35, allocations: 0.8211 MB / 2.077 GB, free: 256.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007136/4.357, allocations: 1.96 MB / 2.079 GB, free: 255.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1019/4.459, allocations: 40.91 MB / 2.119 GB, free: 218.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1024/4.561, allocations: 39.73 MB / 2.158 GB, free: 181.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/4.561, allocations: 28 kB / 2.158 GB, free: 181.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1056/4.667, allocations: 39.04 MB / 2.196 GB, free: 145.3 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1601/4.827, allocations: 69.52 MB / 2.264 GB, free: 76.41 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.179e-05/4.827, allocations: 3.25 kB / 2.264 GB, free: 76.41 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007323/4.834, allocations: 1.788 MB / 2.265 GB, free: 74.67 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7419/5.576, allocations: 112.1 MB / 2.375 GB, free: 310.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003424/5.58, allocations: 0.565 MB / 2.375 GB, free: 310.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05765/5.637, allocations: 35.37 MB / 2.41 GB, free: 299.8 MB / 1.198 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.05208/5.689, allocations: 36.31 MB / 2.445 GB, free: 283.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1195/5.809, allocations: 48.93 MB / 2.493 GB, free: 267.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0148/5.824, allocations: 5.26 MB / 2.498 GB, free: 265.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00589/5.829, allocations: 211.1 kB / 2.499 GB, free: 265.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03259/5.862, allocations: 15.92 MB / 2.514 GB, free: 256 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003514/5.866, allocations: 0.9088 MB / 2.515 GB, free: 255.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00143/5.867, allocations: 0.629 MB / 2.516 GB, free: 254.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01468/5.882, allocations: 7.956 MB / 2.523 GB, free: 248.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.31e-07/5.882, allocations: 0 / 2.523 GB, free: 248.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.04878/5.93, allocations: 22.99 MB / 2.546 GB, free: 226 MB / 1.198 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.003265/5.934, allocations: 0.6791 MB / 2.546 GB, free: 225.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.05077/5.985, allocations: 29.59 MB / 2.575 GB, free: 198.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/5.985, allocations: 0 / 2.575 GB, free: 198.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.03103/6.016, allocations: 22.23 MB / 2.597 GB, free: 176.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02954/6.045, allocations: 10.04 MB / 2.607 GB, free: 166.7 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/6.09, allocations: 39.53 MB / 2.645 GB, free: 127 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/6.093, allocations: 4.367 MB / 2.65 GB, free: 122.6 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01658/6.11, allocations: 4.734 MB / 2.654 GB, free: 117.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006882/6.117, allocations: 2.098 MB / 2.656 GB, free: 115.8 MB / 1.198 GB Notification: Performance of SimCode: time 1.773e-06/6.117, allocations: 0 / 2.656 GB, free: 115.8 MB / 1.198 GB Notification: Performance of Templates: time 1.446/7.563, allocations: 0.6502 GB / 3.307 GB, free: 338.1 MB / 1.229 GB " [Timeout remaining time 292] make -j1 -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 22.54144991422072]