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.001687/0.001687, allocations: 113.6 kB / 17.08 MB, free: 5.961 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.001531/0.001531, allocations: 194.2 kB / 20.03 MB, free: 3.039 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.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.637/2.637, allocations: 437 MB / 0.7177 GB, free: 4.535 MB / 0.5606 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.001959/0.001959, allocations: 75.86 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 151.6 MB / 1.176 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.022/1.351, allocations: 357.8 MB / 1.525 GB, free: 15.55 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.1185/1.47, allocations: 75.86 MB / 1.599 GB, free: 3.52 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01561/1.485, allocations: 437.5 kB / 1.6 GB, free: 3.09 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01934/1.505, allocations: 6.424 MB / 1.606 GB, free: 12.63 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.04035/1.545, allocations: 14.09 MB / 1.62 GB, free: 14.5 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02559/1.571, allocations: 10.18 MB / 1.63 GB, free: 4.387 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1121/1.683, allocations: 74.19 MB / 1.702 GB, free: 10.05 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03528/1.718, allocations: 20 MB / 1.722 GB, free: 5.895 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03995/1.758, allocations: 17.03 MB / 1.738 GB, free: 4.848 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03135/1.789, allocations: 16.37 MB / 1.754 GB, free: 4.414 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.008709/1.798, allocations: 1.953 MB / 1.756 GB, free: 2.457 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02121/1.819, allocations: 6.043 MB / 1.762 GB, free: 12.41 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.01243/1.832, allocations: 6.504 MB / 1.769 GB, free: 5.883 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.02639/1.858, allocations: 11.19 MB / 1.779 GB, free: 10.64 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.05368/1.912, allocations: 31.19 MB / 1.81 GB, free: 11.35 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.912, allocations: 3.938 kB / 1.81 GB, free: 11.34 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.024e-06/1.912, allocations: 0 / 1.81 GB, free: 11.34 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0009698/1.913, allocations: 0 / 1.81 GB, free: 11.34 MB / 1.467 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 1.363/3.276, allocations: 24.53 MB / 1.834 GB, free: 0.5057 GB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/3.276, allocations: 10.19 kB / 1.834 GB, free: 0.5057 GB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/3.298, allocations: 3.287 MB / 1.837 GB, free: 0.5046 GB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06084/3.359, allocations: 21 MB / 1.858 GB, free: 0.4966 GB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/3.36, allocations: 0.6713 MB / 1.858 GB, free: 0.4964 GB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006885/3.367, allocations: 0.9381 MB / 1.859 GB, free: 0.4961 GB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05237/3.419, allocations: 17.07 MB / 1.876 GB, free: 0.4886 GB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004534/3.42, allocations: 19.78 kB / 1.876 GB, free: 0.4886 GB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004948/3.425, allocations: 329.4 kB / 1.876 GB, free: 0.4883 GB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004898/3.425, allocations: 364.3 kB / 1.877 GB, free: 500 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04396/3.469, allocations: 21.51 MB / 1.898 GB, free: 490.1 MB / 1.467 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1417/3.611, allocations: 83.39 MB / 1.979 GB, free: 406.8 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/3.631, allocations: 13.03 MB / 1.992 GB, free: 394.1 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01493/3.646, allocations: 10.07 MB / 2.002 GB, free: 384 MB / 1.467 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.07162/3.718, allocations: 35.32 MB / 2.036 GB, free: 348.7 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01731/3.735, allocations: 10.15 MB / 2.046 GB, free: 338.5 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02538/3.761, allocations: 5.824 MB / 2.052 GB, free: 333.1 MB / 1.467 GB Notification: Performance of pre-optimization done (n=567): time 6.177e-05/3.761, allocations: 0 / 2.052 GB, free: 333.1 MB / 1.467 GB Notification: Performance of matching and sorting (n=838): time 0.915/4.676, allocations: 218.1 MB / 2.265 GB, free: 113.8 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1417/4.818, allocations: 55.98 MB / 2.319 GB, free: 56.51 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0334/4.851, allocations: 17.8 MB / 2.337 GB, free: 38.81 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.004544/4.856, allocations: 221.7 kB / 2.337 GB, free: 38.59 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.009773/4.865, allocations: 7.838 MB / 2.345 GB, free: 30.72 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.008606/4.874, allocations: 3.149 MB / 2.348 GB, free: 27.55 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0149/4.889, allocations: 4 MB / 2.352 GB, free: 23.53 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.534e-05/4.889, allocations: 313 kB / 2.352 GB, free: 23.22 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02869/4.918, allocations: 20.27 MB / 2.372 GB, free: 2.926 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7372/5.655, allocations: 23.1 MB / 2.394 GB, free: 470.7 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07688/5.732, allocations: 38.61 MB / 2.432 GB, free: 456.6 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/5.732, allocations: 14.12 kB / 2.432 GB, free: 456.6 MB / 1.467 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6103/6.342, allocations: 134.6 MB / 2.563 GB, free: 365.4 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/6.343, allocations: 53.7 kB / 2.563 GB, free: 365.3 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/6.343, allocations: 52 kB / 2.563 GB, free: 365.3 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5864/6.929, allocations: 118 MB / 2.679 GB, free: 247.7 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01831/6.948, allocations: 3.552 MB / 2.682 GB, free: 244.1 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1431/7.091, allocations: 81.92 MB / 2.762 GB, free: 162.2 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09/7.181, allocations: 6.449 MB / 2.768 GB, free: 155.7 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006995/7.188, allocations: 1.318 MB / 2.77 GB, free: 154.4 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04014/7.228, allocations: 23.65 MB / 2.793 GB, free: 130.7 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03147/7.26, allocations: 22.59 MB / 2.815 GB, free: 107.1 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05439/7.314, allocations: 37.58 MB / 2.852 GB, free: 68.69 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.556e-05/7.314, allocations: 12 kB / 2.852 GB, free: 68.68 MB / 1.467 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.409/8.723, allocations: 133.1 MB / 2.982 GB, free: 463 MB / 1.483 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/8.724, allocations: 53.92 kB / 2.982 GB, free: 463 MB / 1.483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/8.724, allocations: 54.59 kB / 2.982 GB, free: 463 MB / 1.483 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5879/9.312, allocations: 117.6 MB / 3.096 GB, free: 393.5 MB / 1.483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0176/9.329, allocations: 3.533 MB / 3.1 GB, free: 390.1 MB / 1.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1543/9.484, allocations: 86.15 MB / 3.184 GB, free: 303.9 MB / 1.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09071/9.574, allocations: 6.496 MB / 3.19 GB, free: 297.4 MB / 1.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006683/9.581, allocations: 1.282 MB / 3.192 GB, free: 296.1 MB / 1.483 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.009072/9.59, allocations: 0.7729 MB / 3.192 GB, free: 295.4 MB / 1.483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009672/9.6, allocations: 1.694 MB / 3.194 GB, free: 294.7 MB / 1.483 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2118/9.812, allocations: 60.75 MB / 3.253 GB, free: 234.2 MB / 1.483 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2135/10.03, allocations: 67.04 MB / 3.319 GB, free: 167.4 MB / 1.483 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001824/10.03, allocations: 31.66 kB / 3.319 GB, free: 167.3 MB / 1.483 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2114/10.24, allocations: 66.36 MB / 3.384 GB, free: 101.1 MB / 1.483 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.081/11.32, allocations: 130.4 MB / 3.511 GB, free: 466.1 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.349e-05/11.32, allocations: 4.688 kB / 3.511 GB, free: 466.1 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/11.33, allocations: 1.979 MB / 3.513 GB, free: 466.1 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.338/11.67, allocations: 81.39 MB / 3.592 GB, free: 450.4 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004373/11.67, allocations: 0.5646 MB / 3.593 GB, free: 450.1 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1119/11.78, allocations: 58.58 MB / 3.65 GB, free: 410.5 MB / 1.498 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.1195/11.9, allocations: 54.11 MB / 3.703 GB, free: 355.5 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2534/12.16, allocations: 96.28 MB / 3.797 GB, free: 260.4 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0189/12.18, allocations: 6.029 MB / 3.803 GB, free: 255.3 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01027/12.19, allocations: 211.9 kB / 3.803 GB, free: 255.1 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05473/12.24, allocations: 3.315 MB / 3.806 GB, free: 251.8 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005951/12.25, allocations: 0.8655 MB / 3.807 GB, free: 250.9 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004272/12.25, allocations: 0.6276 MB / 3.808 GB, free: 250.3 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.0263/12.28, allocations: 12.16 MB / 3.82 GB, free: 238.2 MB / 1.498 GB Notification: Performance of sort global known variables: time 8.12e-07/12.28, allocations: 0 / 3.82 GB, free: 238.2 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.09107/12.37, allocations: 38.71 MB / 3.858 GB, free: 199.6 MB / 1.498 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.007617/12.38, allocations: 1.952 MB / 3.859 GB, free: 198 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.1567/12.53, allocations: 77.45 MB / 3.935 GB, free: 120.6 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/12.53, allocations: 4 kB / 3.935 GB, free: 120.6 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.05368/12.59, allocations: 25.5 MB / 3.96 GB, free: 95.11 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.065/12.65, allocations: 7.985 MB / 3.968 GB, free: 87.38 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/12.75, allocations: 54.99 MB / 4.022 GB, free: 32.42 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01733/12.77, allocations: 10.36 MB / 4.032 GB, free: 22.01 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/12.78, allocations: 2.109 MB / 4.034 GB, free: 19.9 MB / 1.498 GB Notification: Performance of SimCode: time 1.964e-06/12.78, allocations: 0 / 4.034 GB, free: 19.9 MB / 1.498 GB Notification: Performance of Templates: time 3.558/16.34, allocations: 1.35 GB / 5.384 GB, free: 390.5 MB / 1.545 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: 105.52313899993896] Failed to read output from testmodel.py, exit status != 0: 16.34859919792507 16.356250158 14.44234847 Calling exit ...