Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.002022/0.002022, allocations: 101.1 kB / 18.99 MB, free: 2.754 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.002523/0.002523, allocations: 214.9 kB / 22.29 MB, free: 5.16 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.595/1.595, allocations: 230.6 MB / 256.1 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002645/0.002645, allocations: 278.3 kB / 312.8 MB, free: 2.656 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.29/1.29, allocations: 180.7 MB / 0.537 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003007/0.003007, allocations: 107 kB / 0.7402 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2035, allocations: 95.38 MB / 0.8333 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.8821/1.086, allocations: 328.8 MB / 1.154 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1239/1.21, allocations: 70.83 MB / 1.224 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01974/1.229, allocations: 0.5733 MB / 1.224 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0241/1.253, allocations: 6.401 MB / 1.23 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.05041/1.304, allocations: 15.04 MB / 1.245 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02767/1.331, allocations: 10.52 MB / 1.255 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.1405/1.472, allocations: 86.91 MB / 1.34 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02921/1.501, allocations: 15.77 MB / 1.356 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.016/2.517, allocations: 18.05 MB / 1.373 GB, free: 82.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03281/2.55, allocations: 16.89 MB / 1.39 GB, free: 81.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.008081/2.558, allocations: 1.833 MB / 1.392 GB, free: 81.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/2.577, allocations: 5.011 MB / 1.396 GB, free: 81.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01172/2.589, allocations: 6.485 MB / 1.403 GB, free: 80.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0199/2.609, allocations: 9.043 MB / 1.412 GB, free: 78.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0454/2.654, allocations: 30.6 MB / 1.442 GB, free: 74.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/2.654, allocations: 0 / 1.442 GB, free: 74.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/2.654, allocations: 0.5625 kB / 1.442 GB, free: 74.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0008118/2.655, allocations: 0 / 1.442 GB, free: 74.52 MB / 0.9825 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.05659/2.712, allocations: 21.55 MB / 1.463 GB, free: 65.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/2.712, allocations: 8.062 kB / 1.463 GB, free: 65.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/2.729, allocations: 3.315 MB / 1.466 GB, free: 64.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03986/2.768, allocations: 20.6 MB / 1.486 GB, free: 60.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/2.769, allocations: 0.6667 MB / 1.487 GB, free: 60.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00511/2.774, allocations: 0.9336 MB / 1.487 GB, free: 60.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04302/2.817, allocations: 18.18 MB / 1.505 GB, free: 56.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002873/2.817, allocations: 14.55 kB / 1.505 GB, free: 56.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003473/2.821, allocations: 332.4 kB / 1.506 GB, free: 56.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/2.821, allocations: 364.3 kB / 1.506 GB, free: 56.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04341/2.865, allocations: 21.84 MB / 1.527 GB, free: 47.68 MB / 0.9825 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.1482/3.013, allocations: 62.19 MB / 1.588 GB, free: 6.754 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02694/3.04, allocations: 11.7 MB / 1.599 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01936/3.059, allocations: 8.955 MB / 1.608 GB, free: 2.371 MB / 1.014 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.08424/3.143, allocations: 29.42 MB / 1.637 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02313/3.167, allocations: 11.24 MB / 1.648 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03399/3.201, allocations: 8.2 MB / 1.656 GB, free: 1.547 MB / 1.061 GB Notification: Performance of pre-optimization done (n=567): time 3.073e-05/3.201, allocations: 0 / 1.656 GB, free: 1.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=838): time 1.43/4.63, allocations: 217.5 MB / 1.868 GB, free: 0.5057 GB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.14/4.77, allocations: 54.23 MB / 1.921 GB, free: 463.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02949/4.8, allocations: 17.03 MB / 1.938 GB, free: 446.8 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.004036/4.804, allocations: 221.7 kB / 1.938 GB, free: 446.5 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.009013/4.813, allocations: 8.106 MB / 1.946 GB, free: 439.9 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00836/4.821, allocations: 3.121 MB / 1.949 GB, free: 438.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01222/4.833, allocations: 3.543 MB / 1.952 GB, free: 434.9 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/4.833, allocations: 305.1 kB / 1.953 GB, free: 434.6 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02682/4.86, allocations: 19.42 MB / 1.972 GB, free: 415.2 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02997/4.89, allocations: 24.28 MB / 1.995 GB, free: 389.4 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05531/4.945, allocations: 37.01 MB / 2.032 GB, free: 351.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.687e-05/4.945, allocations: 16 kB / 2.032 GB, free: 351.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.6282/5.574, allocations: 132.2 MB / 2.161 GB, free: 219.2 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/5.574, allocations: 53.7 kB / 2.161 GB, free: 219.2 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/5.574, allocations: 52 kB / 2.161 GB, free: 219.1 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6015/6.175, allocations: 117.9 MB / 2.276 GB, free: 101.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/6.194, allocations: 3.354 MB / 2.279 GB, free: 97.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1603/6.354, allocations: 80.95 MB / 2.358 GB, free: 16.67 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09749/6.452, allocations: 6.418 MB / 2.364 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006785/6.458, allocations: 1.268 MB / 2.366 GB, free: 8.973 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5345/6.993, allocations: 22.78 MB / 2.388 GB, free: 0.5102 GB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03379/7.027, allocations: 23.75 MB / 2.411 GB, free: 0.5047 GB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.059/7.086, allocations: 35.96 MB / 2.446 GB, free: 0.4918 GB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001011/7.086, allocations: 14.16 kB / 2.446 GB, free: 0.4918 GB / 1.186 GB Notification: Performance of matching and sorting (n=1355) (initialization_lambda0): time 0.6331/7.719, allocations: 130.6 MB / 2.574 GB, free: 392.9 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/7.719, allocations: 53.7 kB / 2.574 GB, free: 392.9 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/7.719, allocations: 52 kB / 2.574 GB, free: 392.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.599/8.318, allocations: 117.5 MB / 2.689 GB, free: 275.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01751/8.336, allocations: 3.336 MB / 2.692 GB, free: 272.4 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1738/8.51, allocations: 84.16 MB / 2.774 GB, free: 188.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09633/8.606, allocations: 6.458 MB / 2.78 GB, free: 181.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006501/8.612, allocations: 1.234 MB / 2.782 GB, free: 180.6 MB / 1.186 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.009373/8.622, allocations: 0.7276 MB / 2.782 GB, free: 179.9 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009733/8.631, allocations: 1.701 MB / 2.784 GB, free: 179.2 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2329/8.864, allocations: 60.35 MB / 2.843 GB, free: 119.2 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.227/9.091, allocations: 66.11 MB / 2.908 GB, free: 53.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000147/9.092, allocations: 31.38 kB / 2.908 GB, free: 53.22 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6759/9.767, allocations: 65.43 MB / 2.971 GB, free: 495.8 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2865/10.05, allocations: 109.7 MB / 3.079 GB, free: 463.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.7e-05/10.05, allocations: 7.984 kB / 3.079 GB, free: 463.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01169/10.07, allocations: 1.976 MB / 3.081 GB, free: 461.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3442/10.41, allocations: 81.29 MB / 3.16 GB, free: 381.1 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005355/10.42, allocations: 0.5689 MB / 3.161 GB, free: 380.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/10.52, allocations: 57.89 MB / 3.217 GB, free: 322.7 MB / 1.186 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.115/10.64, allocations: 51.79 MB / 3.268 GB, free: 270.4 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2655/10.9, allocations: 95.36 MB / 3.361 GB, free: 176.1 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0191/10.92, allocations: 6.062 MB / 3.367 GB, free: 170.9 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008517/10.93, allocations: 219.9 kB / 3.367 GB, free: 170.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05612/10.99, allocations: 3.302 MB / 3.37 GB, free: 167.4 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005808/10.99, allocations: 0.8963 MB / 3.371 GB, free: 166.4 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003732/11, allocations: 0.6276 MB / 3.372 GB, free: 165.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0242/11.02, allocations: 11.7 MB / 3.383 GB, free: 154.2 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.01e-07/11.02, allocations: 0 / 3.383 GB, free: 154.2 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.08577/11.11, allocations: 38.33 MB / 3.42 GB, free: 115.9 MB / 1.186 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.006762/11.11, allocations: 1.725 MB / 3.422 GB, free: 114.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.1244/11.24, allocations: 71.94 MB / 3.492 GB, free: 42.31 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/11.24, allocations: 8.188 kB / 3.492 GB, free: 42.3 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.05436/11.29, allocations: 23.17 MB / 3.515 GB, free: 19.12 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05937/11.35, allocations: 8.381 MB / 3.523 GB, free: 11.01 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5004/11.85, allocations: 54.54 MB / 3.576 GB, free: 491.8 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/11.86, allocations: 10.2 MB / 3.586 GB, free: 490.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.02632/11.89, allocations: 7.84 MB / 3.594 GB, free: 490.5 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01144/11.9, allocations: 2.086 MB / 3.596 GB, free: 490.5 MB / 1.186 GB Notification: Performance of SimCode: time 1.011e-06/11.9, allocations: 0 / 3.596 GB, free: 490.5 MB / 1.186 GB Notification: Performance of Templates: time 1.288/13.19, allocations: 0.6621 GB / 4.258 GB, free: 404.6 MB / 1.186 GB " [Timeout remaining time 647] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 36.50810110941529] Failed to read output from testmodel.py, exit status != 0: 13.199598842300475 13.212225707 10.554796278 Calling exit ...