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.001378/0.001378, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001529/0.001529, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.65/2.65, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002126/0.002126, allocations: 71.89 kB / 0.9516 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2939, allocations: 169.9 MB / 1.118 GB, free: 2.418 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.008/1.302, allocations: 328.9 MB / 1.439 GB, free: 15.21 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1144/1.416, allocations: 70.81 MB / 1.508 GB, free: 8.254 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01526/1.431, allocations: 0.5771 MB / 1.508 GB, free: 7.672 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.02085/1.452, allocations: 6.397 MB / 1.515 GB, free: 1.242 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.04301/1.495, allocations: 15.04 MB / 1.529 GB, free: 2.148 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02679/1.522, allocations: 10.5 MB / 1.54 GB, free: 7.734 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.1312/1.653, allocations: 86.92 MB / 1.624 GB, free: 0.6523 MB / 1.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02565/1.679, allocations: 15.77 MB / 1.64 GB, free: 0.7344 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04186/1.721, allocations: 18.07 MB / 1.658 GB, free: 14.64 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03383/1.755, allocations: 16.88 MB / 1.674 GB, free: 13.7 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.007644/1.762, allocations: 1.836 MB / 1.676 GB, free: 11.87 MB / 1.514 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01806/1.78, allocations: 5.005 MB / 1.681 GB, free: 6.855 MB / 1.514 GB Notification: Performance of NFScalarize.scalarize: time 0.0112/1.791, allocations: 6.494 MB / 1.687 GB, free: 348 kB / 1.514 GB Notification: Performance of NFVerifyModel.verify: time 0.02125/1.813, allocations: 9.038 MB / 1.696 GB, free: 7.262 MB / 1.529 GB Notification: Performance of NFConvertDAE.convert: time 1.406/3.219, allocations: 30.58 MB / 1.726 GB, free: 178.8 MB / 1.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/3.219, allocations: 0 / 1.726 GB, free: 178.8 MB / 1.545 GB Notification: Performance of FrontEnd: time 2.285e-06/3.219, allocations: 0 / 1.726 GB, free: 178.8 MB / 1.545 GB Notification: Performance of Transformations before backend: time 0.001015/3.22, allocations: 0 / 1.726 GB, free: 178.8 MB / 1.545 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.07458/3.295, allocations: 21.54 MB / 1.747 GB, free: 169.9 MB / 1.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/3.295, allocations: 12.86 kB / 1.747 GB, free: 169.9 MB / 1.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02293/3.318, allocations: 3.312 MB / 1.75 GB, free: 168.7 MB / 1.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05696/3.375, allocations: 20.59 MB / 1.77 GB, free: 165.3 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/3.376, allocations: 0.6711 MB / 1.771 GB, free: 165.3 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008228/3.384, allocations: 0.9388 MB / 1.772 GB, free: 165.3 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05853/3.443, allocations: 18.17 MB / 1.789 GB, free: 163.3 MB / 1.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005826/3.443, allocations: 15.31 kB / 1.789 GB, free: 163.3 MB / 1.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005591/3.449, allocations: 324.1 kB / 1.79 GB, free: 163.3 MB / 1.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006467/3.45, allocations: 370.9 kB / 1.79 GB, free: 163.3 MB / 1.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04885/3.498, allocations: 21.85 MB / 1.811 GB, free: 163.3 MB / 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 removeSimpleEquations (simulation): time 0.1416/3.64, allocations: 62.19 MB / 1.872 GB, free: 147 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02152/3.661, allocations: 11.69 MB / 1.884 GB, free: 146.8 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01475/3.676, allocations: 8.96 MB / 1.892 GB, free: 146.7 MB / 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.07364/3.75, allocations: 29.41 MB / 1.921 GB, free: 133.6 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01842/3.768, allocations: 11.23 MB / 1.932 GB, free: 126.2 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02932/3.798, allocations: 8.194 MB / 1.94 GB, free: 118.7 MB / 1.545 GB Notification: Performance of pre-optimization done (n=567): time 4.068e-05/3.798, allocations: 0 / 1.94 GB, free: 118.7 MB / 1.545 GB Notification: Performance of matching and sorting (n=838): time 0.992/4.79, allocations: 217.5 MB / 2.152 GB, free: 12.81 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1594/4.949, allocations: 54.16 MB / 2.205 GB, free: 5.871 MB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03812/4.987, allocations: 17.02 MB / 2.222 GB, free: 4.941 MB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.004879/4.992, allocations: 217.7 kB / 2.222 GB, free: 4.723 MB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.01242/5.004, allocations: 8.121 MB / 2.23 GB, free: 12.66 MB / 1.733 GB Notification: Performance of collectInitialBindings (initialization): time 0.009778/5.014, allocations: 3.121 MB / 2.233 GB, free: 9.574 MB / 1.733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01666/5.031, allocations: 3.544 MB / 2.237 GB, free: 6.023 MB / 1.733 GB Notification: Performance of setup shared object (initialization): time 0.0001211/5.031, allocations: 301.1 kB / 2.237 GB, free: 5.727 MB / 1.733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03753/5.069, allocations: 19.43 MB / 2.256 GB, free: 2.27 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04213/5.111, allocations: 24.28 MB / 2.28 GB, free: 8.48 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07659/5.187, allocations: 37 MB / 2.316 GB, free: 2.887 MB / 1.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/5.187, allocations: 16 kB / 2.316 GB, free: 2.871 MB / 1.811 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 1.379/6.566, allocations: 132.2 MB / 2.445 GB, free: 0.7753 GB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/6.566, allocations: 63.25 kB / 2.445 GB, free: 0.7753 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/6.566, allocations: 51.72 kB / 2.445 GB, free: 0.7753 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6236/7.19, allocations: 117.8 MB / 2.56 GB, free: 0.7242 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01847/7.208, allocations: 3.355 MB / 2.563 GB, free: 0.721 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/7.359, allocations: 80.94 MB / 2.642 GB, free: 0.642 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0925/7.452, allocations: 6.419 MB / 2.649 GB, free: 0.6357 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005923/7.457, allocations: 1.263 MB / 2.65 GB, free: 0.6345 GB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03768/7.495, allocations: 22.8 MB / 2.672 GB, free: 0.6122 GB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03022/7.525, allocations: 23.76 MB / 2.695 GB, free: 0.5875 GB / 1.889 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05703/7.582, allocations: 35.96 MB / 2.73 GB, free: 0.5516 GB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.039e-05/7.582, allocations: 20 kB / 2.73 GB, free: 0.5516 GB / 1.889 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.6254/8.208, allocations: 130.6 MB / 2.858 GB, free: 435.2 MB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/8.208, allocations: 57.64 kB / 2.858 GB, free: 435.1 MB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/8.208, allocations: 48 kB / 2.858 GB, free: 435.1 MB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6011/8.809, allocations: 117.5 MB / 2.973 GB, free: 317.9 MB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/8.826, allocations: 3.334 MB / 2.976 GB, free: 314.6 MB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.15/8.976, allocations: 84.16 MB / 3.058 GB, free: 230.6 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09229/9.068, allocations: 6.454 MB / 3.065 GB, free: 224.1 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005001/9.073, allocations: 1.239 MB / 3.066 GB, free: 222.9 MB / 1.889 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.005028/9.078, allocations: 0.7234 MB / 3.066 GB, free: 222.2 MB / 1.889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006199/9.084, allocations: 1.702 MB / 3.068 GB, free: 221.4 MB / 1.889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2124/9.297, allocations: 60.34 MB / 3.127 GB, free: 161.4 MB / 1.889 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2259/9.522, allocations: 66.11 MB / 3.192 GB, free: 95.32 MB / 1.889 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001528/9.523, allocations: 35.38 kB / 3.192 GB, free: 95.29 MB / 1.889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2238/9.746, allocations: 65.43 MB / 3.256 GB, free: 29.86 MB / 1.889 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9839/10.73, allocations: 109.7 MB / 3.363 GB, free: 0.7427 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.239e-05/10.73, allocations: 4.219 kB / 3.363 GB, free: 0.7427 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/10.74, allocations: 1.981 MB / 3.365 GB, free: 0.7426 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3442/11.09, allocations: 81.3 MB / 3.444 GB, free: 0.7132 GB / 1.889 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00406/11.09, allocations: 0.5651 MB / 3.445 GB, free: 0.7127 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1047/11.2, allocations: 57.87 MB / 3.501 GB, free: 0.6562 GB / 1.889 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.1109/11.31, allocations: 51.76 MB / 3.552 GB, free: 0.6051 GB / 1.889 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2579/11.56, allocations: 95.36 MB / 3.645 GB, free: 0.5131 GB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01932/11.58, allocations: 6.048 MB / 3.651 GB, free: 0.5081 GB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008907/11.59, allocations: 211.9 kB / 3.651 GB, free: 0.5079 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05368/11.65, allocations: 3.318 MB / 3.654 GB, free: 0.5047 GB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005659/11.65, allocations: 0.8963 MB / 3.655 GB, free: 0.5038 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003884/11.66, allocations: 0.6315 MB / 3.656 GB, free: 0.5032 GB / 1.889 GB Notification: Performance of sorting global known variables: time 0.02362/11.68, allocations: 11.7 MB / 3.667 GB, free: 0.4919 GB / 1.889 GB Notification: Performance of sort global known variables: time 2.21e-07/11.68, allocations: 0 / 3.667 GB, free: 0.4919 GB / 1.889 GB Notification: Performance of remove unused functions: time 0.09005/11.77, allocations: 38.33 MB / 3.704 GB, free: 465.5 MB / 1.889 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.006571/11.78, allocations: 1.726 MB / 3.706 GB, free: 464 MB / 1.889 GB Notification: Performance of simCode: created initialization part: time 0.128/11.9, allocations: 71.95 MB / 3.776 GB, free: 392.1 MB / 1.889 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/11.9, allocations: 2.844 kB / 3.776 GB, free: 392.1 MB / 1.889 GB Notification: Performance of simCode: created simulation system equations: time 0.05724/11.96, allocations: 23.18 MB / 3.799 GB, free: 369 MB / 1.889 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06283/12.02, allocations: 8.359 MB / 3.807 GB, free: 360.9 MB / 1.889 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09775/12.12, allocations: 54.56 MB / 3.86 GB, free: 306.4 MB / 1.889 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01761/12.14, allocations: 10.2 MB / 3.87 GB, free: 296.1 MB / 1.889 GB Notification: Performance of simCode: alias equations: time 0.03022/12.17, allocations: 7.847 MB / 3.878 GB, free: 288.3 MB / 1.889 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01237/12.18, allocations: 2.083 MB / 3.88 GB, free: 286.2 MB / 1.889 GB Notification: Performance of SimCode: time 1.322e-06/12.18, allocations: 0 / 3.88 GB, free: 286.2 MB / 1.889 GB Notification: Performance of Templates: time 1.437/13.62, allocations: 0.662 GB / 4.542 GB, free: 489.1 MB / 1.889 GB " [Timeout remaining time 286] 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 ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 37.981367112952285] Failed to read output from testmodel.py, exit status != 0: 13.630824035964906 13.650304114 10.426887438 Calling exit ...