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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 198.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=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 0.001989/0.001989, allocations: 71.88 kB / 1.109 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.473/2.637, allocations: 363.9 MB / 1.63 GB, free: 62.7 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.111/2.747, allocations: 76.26 MB / 1.704 GB, free: 61.57 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02063/2.768, allocations: 436 kB / 1.704 GB, free: 61.57 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02105/2.789, allocations: 6.612 MB / 1.711 GB, free: 61.45 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04713/2.836, allocations: 14.77 MB / 1.725 GB, free: 60.86 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02738/2.864, allocations: 10.31 MB / 1.735 GB, free: 56.88 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09271/2.956, allocations: 74.98 MB / 1.809 GB, free: 2.516 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03192/2.988, allocations: 15.82 MB / 1.824 GB, free: 3.297 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04459/3.033, allocations: 17.47 MB / 1.841 GB, free: 2.781 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03567/3.069, allocations: 17.21 MB / 1.858 GB, free: 2.742 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.009518/3.078, allocations: 1.969 MB / 1.86 GB, free: 0.7734 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02507/3.103, allocations: 6.157 MB / 1.866 GB, free: 10.9 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01421/3.117, allocations: 6.674 MB / 1.872 GB, free: 4.457 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02778/3.145, allocations: 11.22 MB / 1.883 GB, free: 9.422 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.06128/3.206, allocations: 31.3 MB / 1.914 GB, free: 11.26 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/3.206, allocations: 0 / 1.914 GB, free: 11.26 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.693e-06/3.206, allocations: 0 / 1.914 GB, free: 11.26 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.0009445/3.207, allocations: 0 / 1.914 GB, free: 11.26 MB / 1.404 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.07457/3.282, allocations: 22.2 MB / 1.936 GB, free: 5.133 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/3.282, allocations: 12.03 kB / 1.936 GB, free: 5.121 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/3.301, allocations: 3.294 MB / 1.939 GB, free: 1.812 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05675/3.358, allocations: 21.02 MB / 1.959 GB, free: 13.11 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009172/3.359, allocations: 0.6716 MB / 1.96 GB, free: 12.44 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005244/3.364, allocations: 0.9397 MB / 1.961 GB, free: 11.51 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0476/3.412, allocations: 17.22 MB / 1.978 GB, free: 10.09 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004139/3.412, allocations: 15.81 kB / 1.978 GB, free: 10.08 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00519/3.417, allocations: 332.6 kB / 1.978 GB, free: 9.762 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004871/3.418, allocations: 375.3 kB / 1.978 GB, free: 9.395 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04893/3.467, allocations: 21.86 MB / 2 GB, free: 3.527 MB / 1.482 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.1675/3.634, allocations: 81.67 MB / 2.079 GB, free: 14.98 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02465/3.659, allocations: 11.87 MB / 2.091 GB, free: 3.344 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01832/3.677, allocations: 8.964 MB / 2.1 GB, free: 10.37 MB / 1.592 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.08769/3.765, allocations: 34.03 MB / 2.133 GB, free: 7.953 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02173/3.787, allocations: 10.28 MB / 2.143 GB, free: 13.6 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03218/3.819, allocations: 8.254 MB / 2.151 GB, free: 5.523 MB / 1.639 GB Notification: Performance of pre-optimization done (n=567): time 3.231e-05/3.819, allocations: 0 / 2.151 GB, free: 5.523 MB / 1.639 GB Notification: Performance of matching and sorting (n=838): time 1.76/5.579, allocations: 217.6 MB / 2.364 GB, free: 0.631 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1364/5.715, allocations: 55.86 MB / 2.418 GB, free: 0.5757 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03022/5.745, allocations: 17.8 MB / 2.436 GB, free: 0.5585 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.003786/5.749, allocations: 221.7 kB / 2.436 GB, free: 0.5583 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.008325/5.758, allocations: 7.839 MB / 2.443 GB, free: 0.551 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.007878/5.765, allocations: 3.154 MB / 2.447 GB, free: 0.5481 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01361/5.779, allocations: 4 MB / 2.45 GB, free: 0.5442 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/5.779, allocations: 301.1 kB / 2.451 GB, free: 0.5439 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03093/5.81, allocations: 20.28 MB / 2.471 GB, free: 0.5241 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03057/5.841, allocations: 23.09 MB / 2.493 GB, free: 0.5005 GB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05725/5.898, allocations: 38.61 MB / 2.531 GB, free: 473.1 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.003e-05/5.898, allocations: 19.75 kB / 2.531 GB, free: 473.1 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.621/6.519, allocations: 134.2 MB / 2.662 GB, free: 338.8 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/6.519, allocations: 53.92 kB / 2.662 GB, free: 338.8 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.344e-05/6.519, allocations: 56 kB / 2.662 GB, free: 338.7 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6094/7.129, allocations: 117.9 MB / 2.777 GB, free: 220.8 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01911/7.148, allocations: 3.557 MB / 2.781 GB, free: 217.3 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1409/7.289, allocations: 81.92 MB / 2.861 GB, free: 135 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09838/7.387, allocations: 6.444 MB / 2.867 GB, free: 128.5 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005893/7.393, allocations: 1.314 MB / 2.868 GB, free: 127.2 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04203/7.435, allocations: 23.67 MB / 2.891 GB, free: 103.5 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02901/7.464, allocations: 22.59 MB / 2.913 GB, free: 79.88 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05457/7.518, allocations: 37.57 MB / 2.95 GB, free: 41.48 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.288e-05/7.518, allocations: 16 kB / 2.95 GB, free: 41.47 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.5/9.019, allocations: 132.6 MB / 3.08 GB, free: 0.6257 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/9.019, allocations: 57.69 kB / 3.08 GB, free: 0.6257 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/9.019, allocations: 52 kB / 3.08 GB, free: 0.6256 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5969/9.616, allocations: 117.6 MB / 3.195 GB, free: 0.5111 GB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01725/9.633, allocations: 3.529 MB / 3.198 GB, free: 0.5077 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1449/9.778, allocations: 86.16 MB / 3.282 GB, free: 433.6 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09717/9.875, allocations: 6.486 MB / 3.288 GB, free: 427.2 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005951/9.881, allocations: 1.286 MB / 3.29 GB, free: 425.9 MB / 1.732 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 (1171): * Single equations (assignments): 1151 * 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.008095/9.889, allocations: 0.759 MB / 3.29 GB, free: 425.1 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008648/9.898, allocations: 1.699 MB / 3.292 GB, free: 424.3 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2238/10.12, allocations: 60.27 MB / 3.351 GB, free: 364.3 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2252/10.35, allocations: 66.08 MB / 3.416 GB, free: 298.3 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001602/10.35, allocations: 31.94 kB / 3.416 GB, free: 298.2 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2124/10.56, allocations: 65.4 MB / 3.479 GB, free: 232.8 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3002/10.86, allocations: 129.5 MB / 3.606 GB, free: 103.4 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001036/10.86, allocations: 0 / 3.606 GB, free: 103.4 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/10.87, allocations: 1.989 MB / 3.608 GB, free: 101.4 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175/12.05, allocations: 81.38 MB / 3.687 GB, free: 0.6341 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00436/12.05, allocations: 0.5714 MB / 3.688 GB, free: 0.6341 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1131/12.16, allocations: 58.57 MB / 3.745 GB, free: 0.6208 GB / 1.732 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.1173/12.28, allocations: 54.07 MB / 3.798 GB, free: 0.5964 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2649/12.55, allocations: 95.32 MB / 3.891 GB, free: 0.5199 GB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02318/12.57, allocations: 6.036 MB / 3.897 GB, free: 0.514 GB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01017/12.58, allocations: 208 kB / 3.897 GB, free: 0.5138 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05726/12.64, allocations: 3.31 MB / 3.9 GB, free: 0.5106 GB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006105/12.64, allocations: 0.8694 MB / 3.901 GB, free: 0.5097 GB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003337/12.65, allocations: 0.6237 MB / 3.902 GB, free: 0.5091 GB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02362/12.67, allocations: 12.16 MB / 3.914 GB, free: 0.4973 GB / 1.732 GB Notification: Performance of sort global known variables: time 2.5e-07/12.67, allocations: 0 / 3.914 GB, free: 0.4973 GB / 1.732 GB Notification: Performance of remove unused functions: time 0.09621/12.77, allocations: 38.71 MB / 3.951 GB, free: 470.7 MB / 1.732 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.007475/12.77, allocations: 1.95 MB / 3.953 GB, free: 469.1 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1305/12.9, allocations: 74.01 MB / 4.026 GB, free: 395.1 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/12.9, allocations: 4 kB / 4.026 GB, free: 395 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.0557/12.96, allocations: 23.18 MB / 4.048 GB, free: 371.9 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07137/13.03, allocations: 7.986 MB / 4.056 GB, free: 364.1 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09596/13.13, allocations: 54.6 MB / 4.109 GB, free: 309.4 MB / 1.732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01835/13.15, allocations: 10.46 MB / 4.12 GB, free: 298.9 MB / 1.732 GB Notification: Performance of simCode: alias equations: time 0.03115/13.18, allocations: 7.975 MB / 4.127 GB, free: 290.9 MB / 1.732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01305/13.19, allocations: 2.062 MB / 4.129 GB, free: 288.9 MB / 1.732 GB Notification: Performance of SimCode: time 1.884e-06/13.19, allocations: 0 / 4.129 GB, free: 288.9 MB / 1.732 GB Notification: Performance of Templates: time 2.511/15.7, allocations: 0.6568 GB / 4.786 GB, free: 324.7 MB / 1.733 GB " [Timeout remaining time 284] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 40.75976726319641] Failed to read output from testmodel.py, exit status != 0: 15.714053113013506 15.723139352 12.513718368 Calling exit ...