Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001629/0.001629, allocations: 120.3 kB / 17.13 MB, free: 5.758 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.001579/0.001579, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.527/1.527, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.91 kB / 1.057 GB, free: 1.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 160.7 MB / 1.214 GB, free: 0.9258 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9868/1.308, allocations: 360.4 MB / 1.566 GB, free: 8.793 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.1159/1.424, allocations: 76 MB / 1.64 GB, free: 12.62 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01448/1.439, allocations: 437.5 kB / 1.641 GB, free: 12.19 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01931/1.458, allocations: 6.618 MB / 1.647 GB, free: 5.539 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.04072/1.499, allocations: 14.75 MB / 1.662 GB, free: 6.742 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.02582/1.525, allocations: 10.22 MB / 1.672 GB, free: 12.6 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.1202/1.645, allocations: 74.41 MB / 1.744 GB, free: 2.035 MB / 1.404 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03197/1.677, allocations: 17.4 MB / 1.761 GB, free: 496 kB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04093/1.718, allocations: 17.48 MB / 1.778 GB, free: 14.98 MB / 1.451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03557/1.753, allocations: 17.2 MB / 1.795 GB, free: 13.72 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.008931/1.762, allocations: 1.969 MB / 1.797 GB, free: 11.75 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/1.785, allocations: 6.156 MB / 1.803 GB, free: 5.586 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.0136/1.799, allocations: 6.658 MB / 1.81 GB, free: 14.91 MB / 1.483 GB Notification: Performance of NFVerifyModel.verify: time 0.02663/1.825, allocations: 11.21 MB / 1.821 GB, free: 3.641 MB / 1.483 GB Notification: Performance of NFConvertDAE.convert: time 1.531/3.356, allocations: 31.3 MB / 1.851 GB, free: 145.5 MB / 1.483 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/3.356, allocations: 3.156 kB / 1.851 GB, free: 145.5 MB / 1.483 GB Notification: Performance of FrontEnd: time 3.076e-06/3.356, allocations: 0 / 1.851 GB, free: 145.5 MB / 1.483 GB Notification: Performance of Transformations before backend: time 0.001371/3.357, allocations: 0 / 1.851 GB, free: 145.5 MB / 1.483 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.09341/3.451, allocations: 22.19 MB / 1.873 GB, free: 136.5 MB / 1.483 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/3.451, allocations: 11.25 kB / 1.873 GB, free: 136.5 MB / 1.483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/3.476, allocations: 3.299 MB / 1.876 GB, free: 135.3 MB / 1.483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05798/3.534, allocations: 21.02 MB / 1.897 GB, free: 132.2 MB / 1.483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009149/3.535, allocations: 0.6754 MB / 1.897 GB, free: 132.2 MB / 1.483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00841/3.543, allocations: 0.938 MB / 1.898 GB, free: 132.2 MB / 1.483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05299/3.596, allocations: 17.22 MB / 1.915 GB, free: 131.4 MB / 1.483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005106/3.597, allocations: 14.34 kB / 1.915 GB, free: 131.4 MB / 1.483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006887/3.603, allocations: 329.3 kB / 1.915 GB, free: 131.4 MB / 1.483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004012/3.604, allocations: 372.6 kB / 1.916 GB, free: 131.4 MB / 1.483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04567/3.65, allocations: 21.85 MB / 1.937 GB, free: 131.3 MB / 1.483 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.1587/3.808, allocations: 81.68 MB / 2.017 GB, free: 89.63 MB / 1.483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02269/3.831, allocations: 11.86 MB / 2.028 GB, free: 87.39 MB / 1.483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01614/3.847, allocations: 8.952 MB / 2.037 GB, free: 85.83 MB / 1.483 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.08197/3.929, allocations: 34.04 MB / 2.07 GB, free: 60.86 MB / 1.483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01851/3.948, allocations: 10.28 MB / 2.08 GB, free: 50.51 MB / 1.483 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0317/3.979, allocations: 8.25 MB / 2.088 GB, free: 42.5 MB / 1.483 GB Notification: Performance of pre-optimization done (n=567): time 3.848e-05/3.979, allocations: 0 / 2.088 GB, free: 42.5 MB / 1.483 GB Notification: Performance of matching and sorting (n=838): time 1.018/4.997, allocations: 217.6 MB / 2.301 GB, free: 348 kB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1735/5.171, allocations: 55.88 MB / 2.355 GB, free: 7.453 MB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04717/5.218, allocations: 17.8 MB / 2.373 GB, free: 5.754 MB / 1.733 GB Notification: Performance of collectPreVariables (initialization): time 0.00529/5.223, allocations: 227.5 kB / 2.373 GB, free: 5.531 MB / 1.733 GB Notification: Performance of collectInitialEqns (initialization): time 0.01401/5.237, allocations: 7.839 MB / 2.381 GB, free: 13.71 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.0104/5.248, allocations: 3.145 MB / 2.384 GB, free: 10.61 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02149/5.269, allocations: 4.002 MB / 2.388 GB, free: 6.59 MB / 1.748 GB Notification: Performance of setup shared object (initialization): time 0.0001254/5.269, allocations: 305.1 kB / 2.388 GB, free: 6.289 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0404/5.31, allocations: 20.27 MB / 2.408 GB, free: 1.996 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04465/5.354, allocations: 23.11 MB / 2.43 GB, free: 9.887 MB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0824/5.437, allocations: 38.58 MB / 2.468 GB, free: 2.703 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.458e-05/5.437, allocations: 23.75 kB / 2.468 GB, free: 2.684 MB / 1.826 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 1.392/6.829, allocations: 134.2 MB / 2.599 GB, free: 0.7477 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/6.829, allocations: 57.77 kB / 2.599 GB, free: 0.7477 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/6.829, allocations: 59.98 kB / 2.599 GB, free: 0.7476 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5991/7.428, allocations: 117.9 MB / 2.714 GB, free: 0.6328 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01979/7.448, allocations: 3.552 MB / 2.718 GB, free: 0.6293 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1642/7.612, allocations: 81.92 MB / 2.798 GB, free: 0.5493 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09905/7.711, allocations: 6.444 MB / 2.804 GB, free: 0.543 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00681/7.718, allocations: 1.314 MB / 2.805 GB, free: 0.5417 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04212/7.76, allocations: 23.67 MB / 2.829 GB, free: 0.5186 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03329/7.794, allocations: 22.59 MB / 2.851 GB, free: 0.4955 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05848/7.852, allocations: 37.57 MB / 2.887 GB, free: 469 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.405e-05/7.852, allocations: 15.94 kB / 2.887 GB, free: 469 MB / 1.826 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6138/8.466, allocations: 132.6 MB / 3.017 GB, free: 337.3 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/8.466, allocations: 54.64 kB / 3.017 GB, free: 337.3 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-05/8.466, allocations: 55.94 kB / 3.017 GB, free: 337.2 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5922/9.058, allocations: 117.6 MB / 3.132 GB, free: 219.9 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01784/9.076, allocations: 3.533 MB / 3.135 GB, free: 216.4 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1794/9.255, allocations: 86.15 MB / 3.219 GB, free: 130.2 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09832/9.354, allocations: 6.494 MB / 3.226 GB, free: 123.7 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007383/9.361, allocations: 1.282 MB / 3.227 GB, free: 122.4 MB / 1.826 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.01145/9.373, allocations: 0.7689 MB / 3.228 GB, free: 121.6 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01113/9.384, allocations: 1.692 MB / 3.229 GB, free: 120.7 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2282/9.612, allocations: 60.26 MB / 3.288 GB, free: 60.52 MB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051/10.66, allocations: 66.07 MB / 3.353 GB, free: 0.7533 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002878/10.66, allocations: 29.03 kB / 3.353 GB, free: 0.7533 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2279/10.89, allocations: 65.41 MB / 3.417 GB, free: 0.7458 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.311/11.2, allocations: 129.5 MB / 3.543 GB, free: 0.6451 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001057/11.2, allocations: 0 / 3.543 GB, free: 0.6451 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01178/11.21, allocations: 1.981 MB / 3.545 GB, free: 0.6432 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3379/11.55, allocations: 81.39 MB / 3.625 GB, free: 0.5641 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004782/11.56, allocations: 0.5651 MB / 3.625 GB, free: 0.5635 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1083/11.67, allocations: 58.57 MB / 3.682 GB, free: 0.5063 GB / 1.826 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.1089/11.77, allocations: 54.06 MB / 3.735 GB, free: 463.5 MB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2661/12.04, allocations: 95.32 MB / 3.828 GB, free: 369.3 MB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0205/12.06, allocations: 6.032 MB / 3.834 GB, free: 364.2 MB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0118/12.07, allocations: 215.9 kB / 3.834 GB, free: 364 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05882/12.13, allocations: 3.309 MB / 3.837 GB, free: 360.7 MB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006829/12.14, allocations: 0.8725 MB / 3.838 GB, free: 359.8 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004046/12.14, allocations: 0.6237 MB / 3.839 GB, free: 359.2 MB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02963/12.17, allocations: 12.16 MB / 3.851 GB, free: 347.1 MB / 1.826 GB Notification: Performance of sort global known variables: time 2.41e-07/12.17, allocations: 0 / 3.851 GB, free: 347.1 MB / 1.826 GB Notification: Performance of remove unused functions: time 0.1139/12.29, allocations: 38.71 MB / 3.889 GB, free: 308.4 MB / 1.826 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.008931/12.29, allocations: 1.951 MB / 3.891 GB, free: 306.6 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.1365/12.43, allocations: 74.01 MB / 3.963 GB, free: 232.6 MB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-05/12.43, allocations: 4 kB / 3.963 GB, free: 232.6 MB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.05673/12.49, allocations: 23.17 MB / 3.985 GB, free: 209.4 MB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.071/12.56, allocations: 7.979 MB / 3.993 GB, free: 201.8 MB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/12.67, allocations: 55.01 MB / 4.047 GB, free: 146.8 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0197/12.68, allocations: 10.35 MB / 4.057 GB, free: 136.4 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01483/12.7, allocations: 2.117 MB / 4.059 GB, free: 134.2 MB / 1.826 GB Notification: Performance of SimCode: time 2.385e-06/12.7, allocations: 0 / 4.059 GB, free: 134.2 MB / 1.826 GB Notification: Performance of Templates: time 3.187/15.89, allocations: 1.353 GB / 5.412 GB, free: 391.5 MB / 1.826 GB " [Timeout remaining time 284] make -j1 -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 106.08920041681267] Failed to read output from testmodel.py, exit status != 0: 15.899050815030932 15.908773873 12.549968708 Calling exit ...