Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002285/0.002285, allocations: 212.5 kB / 22.99 MB, free: 4.98 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 75.53 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.304, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.057/1.361, allocations: 329 MB / 1.648 GB, free: 58.86 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08589/1.446, allocations: 70.66 MB / 1.717 GB, free: 55.87 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01527/1.462, allocations: 0.5965 MB / 1.718 GB, free: 55.87 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01754/1.479, allocations: 6.391 MB / 1.724 GB, free: 54.62 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03712/1.516, allocations: 14.98 MB / 1.739 GB, free: 49.32 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02222/1.539, allocations: 10.51 MB / 1.749 GB, free: 44.05 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05929/1.598, allocations: 56.19 MB / 1.804 GB, free: 7.883 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02096/1.619, allocations: 15.47 MB / 1.819 GB, free: 9.031 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03969/1.658, allocations: 18.36 MB / 1.837 GB, free: 7.637 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03219/1.691, allocations: 16.14 MB / 1.853 GB, free: 8.555 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.007535/1.698, allocations: 1.75 MB / 1.855 GB, free: 6.805 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/1.718, allocations: 5.197 MB / 1.86 GB, free: 1.82 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01051/1.728, allocations: 6.092 MB / 1.866 GB, free: 11.96 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.01931/1.748, allocations: 8.725 MB / 1.874 GB, free: 3.434 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.04932/1.797, allocations: 29.49 MB / 1.903 GB, free: 7.102 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.797, allocations: 8 kB / 1.903 GB, free: 7.094 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.723e-06/1.797, allocations: 0 / 1.903 GB, free: 7.094 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.000743/1.798, allocations: 0 / 1.903 GB, free: 7.094 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.05753/1.855, allocations: 20.64 MB / 1.923 GB, free: 2.523 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.855, allocations: 8.031 kB / 1.923 GB, free: 2.516 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/1.872, allocations: 3.205 MB / 1.926 GB, free: 15.29 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04447/1.917, allocations: 19.28 MB / 1.945 GB, free: 12.28 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/1.917, allocations: 0.6508 MB / 1.946 GB, free: 11.63 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003256/1.921, allocations: 0.8813 MB / 1.947 GB, free: 10.76 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/1.956, allocations: 18.06 MB / 1.964 GB, free: 8.246 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/1.957, allocations: 27.81 kB / 1.964 GB, free: 8.219 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/1.958, allocations: 326.6 kB / 1.964 GB, free: 7.902 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/1.958, allocations: 204 kB / 1.965 GB, free: 7.703 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03875/1.997, allocations: 21.38 MB / 1.986 GB, free: 2.309 MB / 1.467 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.1254/2.122, allocations: 61.02 MB / 2.045 GB, free: 5.504 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02431/2.147, allocations: 12.3 MB / 2.057 GB, free: 9.488 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01701/2.164, allocations: 9.201 MB / 2.066 GB, free: 280 kB / 1.545 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.0633/2.227, allocations: 28.84 MB / 2.094 GB, free: 3.488 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01929/2.246, allocations: 11.44 MB / 2.105 GB, free: 7.797 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02919/2.275, allocations: 8.21 MB / 2.113 GB, free: 15.75 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 3.743e-05/2.275, allocations: 4 kB / 2.113 GB, free: 15.75 MB / 1.607 GB Notification: Performance of matching and sorting (n=742): time 1.646/3.921, allocations: 218 MB / 2.326 GB, free: 0.6447 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1162/4.037, allocations: 47.45 MB / 2.373 GB, free: 0.6135 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0244/4.062, allocations: 16.7 MB / 2.389 GB, free: 0.5976 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.00383/4.065, allocations: 205.7 kB / 2.389 GB, free: 0.5974 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.007406/4.073, allocations: 7.62 MB / 2.397 GB, free: 0.5914 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007416/4.08, allocations: 2.759 MB / 2.399 GB, free: 0.5901 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01491/4.095, allocations: 3.778 MB / 2.403 GB, free: 0.5864 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/4.095, allocations: 306.9 kB / 2.403 GB, free: 0.5861 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02894/4.124, allocations: 19.5 MB / 2.422 GB, free: 0.567 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03234/4.156, allocations: 24.42 MB / 2.446 GB, free: 0.5417 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05915/4.216, allocations: 37.37 MB / 2.483 GB, free: 0.5044 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-05/4.216, allocations: 12 kB / 2.483 GB, free: 0.5044 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.602/4.818, allocations: 132.3 MB / 2.612 GB, free: 384.2 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/4.818, allocations: 54.67 kB / 2.612 GB, free: 384.1 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.935e-05/4.818, allocations: 59.92 kB / 2.612 GB, free: 384 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5839/5.402, allocations: 117.8 MB / 2.727 GB, free: 266.3 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/5.419, allocations: 3.174 MB / 2.73 GB, free: 263.1 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1314/5.55, allocations: 80.9 MB / 2.809 GB, free: 181.9 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08091/5.631, allocations: 6.565 MB / 2.816 GB, free: 175.3 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005258/5.636, allocations: 1.294 MB / 2.817 GB, free: 174 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03451/5.671, allocations: 22.59 MB / 2.839 GB, free: 151.4 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0289/5.7, allocations: 23.89 MB / 2.862 GB, free: 125.9 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05278/5.752, allocations: 36.33 MB / 2.898 GB, free: 88.84 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.358e-05/5.752, allocations: 16 kB / 2.898 GB, free: 88.82 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.312/7.064, allocations: 130.7 MB / 3.025 GB, free: 0.6257 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/7.064, allocations: 58.7 kB / 3.025 GB, free: 0.6257 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.801e-05/7.064, allocations: 50.53 kB / 3.025 GB, free: 0.6257 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5795/7.644, allocations: 117.5 MB / 3.14 GB, free: 0.5503 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01587/7.66, allocations: 3.153 MB / 3.143 GB, free: 0.5473 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1401/7.8, allocations: 84.11 MB / 3.225 GB, free: 476.6 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07969/7.88, allocations: 6.606 MB / 3.232 GB, free: 470 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005063/7.885, allocations: 1.267 MB / 3.233 GB, free: 468.7 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.005614/7.89, allocations: 0.7193 MB / 3.234 GB, free: 468 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005864/7.896, allocations: 1.597 MB / 3.235 GB, free: 467.3 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.201/8.097, allocations: 59.97 MB / 3.294 GB, free: 407.6 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2036/8.301, allocations: 63.68 MB / 3.356 GB, free: 344.1 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/8.301, allocations: 28 kB / 3.356 GB, free: 344.1 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1981/8.499, allocations: 63 MB / 3.418 GB, free: 281.2 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2771/8.776, allocations: 107.7 MB / 3.523 GB, free: 173.7 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.375e-05/8.776, allocations: 4 kB / 3.523 GB, free: 173.7 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01217/8.788, allocations: 2.131 MB / 3.525 GB, free: 171.5 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3207/9.109, allocations: 78.24 MB / 3.601 GB, free: 93.4 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004111/9.113, allocations: 0.5299 MB / 3.602 GB, free: 92.87 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1771/9.29, allocations: 54.99 MB / 3.656 GB, free: 37.89 MB / 1.748 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. 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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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.8524/10.14, allocations: 46.46 MB / 3.701 GB, free: 0.6141 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2583/10.4, allocations: 90.67 MB / 3.79 GB, free: 0.5967 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02034/10.42, allocations: 5.478 MB / 3.795 GB, free: 0.5931 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008005/10.43, allocations: 167.8 kB / 3.795 GB, free: 0.5929 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04736/10.48, allocations: 3.463 MB / 3.798 GB, free: 0.5913 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004997/10.48, allocations: 0.8463 MB / 3.799 GB, free: 0.5911 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003583/10.49, allocations: 0.6211 MB / 3.8 GB, free: 0.5908 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02153/10.51, allocations: 11.31 MB / 3.811 GB, free: 0.5818 GB / 1.748 GB Notification: Performance of sort global known variables: time 1.81e-07/10.51, allocations: 0 / 3.811 GB, free: 0.5818 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.08339/10.59, allocations: 34.85 MB / 3.845 GB, free: 0.5479 GB / 1.748 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006325/10.6, allocations: 1.823 MB / 3.847 GB, free: 0.5466 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.122/10.72, allocations: 69.45 MB / 3.915 GB, free: 490.7 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/10.72, allocations: 0 / 3.915 GB, free: 490.7 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.04867/10.77, allocations: 22.11 MB / 3.936 GB, free: 468.8 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0513/10.82, allocations: 8.049 MB / 3.944 GB, free: 461.1 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07711/10.9, allocations: 49.43 MB / 3.992 GB, free: 411.7 MB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/10.91, allocations: 9.623 MB / 4.002 GB, free: 402 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02727/10.94, allocations: 6.741 MB / 4.008 GB, free: 395.3 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/10.95, allocations: 2.023 MB / 4.01 GB, free: 393.2 MB / 1.748 GB Notification: Performance of SimCode: time 1.833e-06/10.95, allocations: 0 / 4.01 GB, free: 393.2 MB / 1.748 GB Notification: Performance of Templates: time 2.138/13.09, allocations: 0.6594 GB / 4.67 GB, free: 416.8 MB / 1.748 GB " [Timeout remaining time 287] make -j1 -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 37.194141786007094] Failed to read output from testmodel.py, exit status != 0: 13.095342161002918 13.105057586 11.305513521 Calling exit ...