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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 105.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002247/0.002247, allocations: 293.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9635/0.9635, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 99.78 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4423, allocations: 86.96 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.767/1.209, allocations: 357.7 MB / 1.116 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1097/1.319, allocations: 75.88 MB / 1.191 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01735/1.337, allocations: 433.6 kB / 1.191 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01972/1.356, allocations: 6.427 MB / 1.197 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03937/1.396, allocations: 14.1 MB / 1.211 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02397/1.42, allocations: 10.19 MB / 1.221 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.1015/1.521, allocations: 74.19 MB / 1.293 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03517/1.556, allocations: 20.01 MB / 1.313 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.074/2.63, allocations: 17.01 MB / 1.33 GB, free: 65.07 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03472/2.665, allocations: 16.36 MB / 1.346 GB, free: 63.29 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.01285/2.678, allocations: 1.957 MB / 1.347 GB, free: 63.29 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02932/2.707, allocations: 6.052 MB / 1.353 GB, free: 63.29 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01625/2.724, allocations: 6.492 MB / 1.36 GB, free: 62.56 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.0311/2.755, allocations: 11.19 MB / 1.371 GB, free: 59.64 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.05343/2.808, allocations: 31.05 MB / 1.401 GB, free: 56.34 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/2.808, allocations: 3.562 kB / 1.401 GB, free: 56.34 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.184e-06/2.808, allocations: 0 / 1.401 GB, free: 56.34 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001415/2.81, allocations: 0 / 1.401 GB, free: 56.34 MB / 0.9357 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.07997/2.89, allocations: 23.91 MB / 1.424 GB, free: 47.79 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/2.89, allocations: 11.22 kB / 1.424 GB, free: 47.79 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/2.914, allocations: 3.189 MB / 1.427 GB, free: 46.74 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04986/2.964, allocations: 20.85 MB / 1.448 GB, free: 41.83 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008701/2.964, allocations: 0.6706 MB / 1.448 GB, free: 41.82 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006859/2.971, allocations: 0.9356 MB / 1.449 GB, free: 41.8 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04665/3.018, allocations: 17.07 MB / 1.466 GB, free: 32.45 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000497/3.019, allocations: 9.906 kB / 1.466 GB, free: 32.44 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005471/3.024, allocations: 333.9 kB / 1.466 GB, free: 32.37 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004154/3.024, allocations: 362.7 kB / 1.467 GB, free: 32.03 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04319/3.068, allocations: 21.5 MB / 1.488 GB, free: 17.19 MB / 0.9357 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.1626/3.23, allocations: 83.31 MB / 1.569 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02509/3.255, allocations: 13.01 MB / 1.582 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01794/3.273, allocations: 10.08 MB / 1.592 GB, free: 5.281 MB / 1.029 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.08435/3.358, allocations: 35.31 MB / 1.626 GB, free: 1.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02145/3.379, allocations: 10.14 MB / 1.636 GB, free: 7.375 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02427/3.404, allocations: 5.819 MB / 1.642 GB, free: 1.719 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 3.902e-05/3.404, allocations: 0 / 1.642 GB, free: 1.719 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 1.417/4.82, allocations: 217.8 MB / 1.854 GB, free: 478.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1343/4.955, allocations: 55.96 MB / 1.909 GB, free: 421.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03751/4.992, allocations: 17.79 MB / 1.926 GB, free: 404.1 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.006084/4.998, allocations: 224 kB / 1.927 GB, free: 403.9 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.01046/5.009, allocations: 7.744 MB / 1.934 GB, free: 396.5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.01022/5.019, allocations: 3.007 MB / 1.937 GB, free: 393.5 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02206/5.041, allocations: 3.992 MB / 1.941 GB, free: 389.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/5.041, allocations: 309.1 kB / 1.941 GB, free: 389.2 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03145/5.073, allocations: 20.28 MB / 1.961 GB, free: 368.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03331/5.106, allocations: 23.09 MB / 1.984 GB, free: 344.8 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06048/5.167, allocations: 38.6 MB / 2.021 GB, free: 305.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.975e-05/5.167, allocations: 16 kB / 2.021 GB, free: 305.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5898/5.757, allocations: 134.5 MB / 2.153 GB, free: 170.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/5.757, allocations: 65.58 kB / 2.153 GB, free: 170.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.151e-05/5.757, allocations: 52 kB / 2.153 GB, free: 170.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5597/6.317, allocations: 118 MB / 2.268 GB, free: 52.61 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/6.336, allocations: 3.555 MB / 2.272 GB, free: 49.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6933/7.029, allocations: 81.89 MB / 2.352 GB, free: 0.4915 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09567/7.125, allocations: 6.45 MB / 2.358 GB, free: 0.4913 GB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008844/7.134, allocations: 1.315 MB / 2.359 GB, free: 0.4913 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04566/7.179, allocations: 23.67 MB / 2.382 GB, free: 495.6 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03476/7.214, allocations: 22.57 MB / 2.404 GB, free: 486.7 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06065/7.275, allocations: 37.58 MB / 2.441 GB, free: 456.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.695e-05/7.275, allocations: 12 kB / 2.441 GB, free: 456.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5861/7.861, allocations: 133 MB / 2.571 GB, free: 324.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/7.861, allocations: 53.7 kB / 2.571 GB, free: 324.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/7.861, allocations: 52 kB / 2.571 GB, free: 324.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5571/8.418, allocations: 117.6 MB / 2.686 GB, free: 207.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/8.436, allocations: 3.529 MB / 2.689 GB, free: 203.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1471/8.583, allocations: 86.13 MB / 2.773 GB, free: 117.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09674/8.68, allocations: 6.488 MB / 2.78 GB, free: 110.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009205/8.689, allocations: 1.286 MB / 2.781 GB, free: 109.5 MB / 1.154 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.01153/8.701, allocations: 0.762 MB / 2.782 GB, free: 108.8 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01391/8.715, allocations: 1.612 MB / 2.783 GB, free: 107.7 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2143/8.929, allocations: 60.76 MB / 2.843 GB, free: 46.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6966/9.626, allocations: 67.03 MB / 2.908 GB, free: 0.4921 GB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001848/9.626, allocations: 31.62 kB / 2.908 GB, free: 0.4921 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2083/9.834, allocations: 66.37 MB / 2.973 GB, free: 486 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2894/10.12, allocations: 130.4 MB / 3.1 GB, free: 357 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-05/10.12, allocations: 3.984 kB / 3.1 GB, free: 357 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/10.14, allocations: 1.977 MB / 3.102 GB, free: 355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3198/10.46, allocations: 81.4 MB / 3.182 GB, free: 273.9 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004549/10.46, allocations: 0.5651 MB / 3.182 GB, free: 273.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1023/10.56, allocations: 58.54 MB / 3.239 GB, free: 214.7 MB / 1.154 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.1055/10.67, allocations: 54.13 MB / 3.292 GB, free: 159.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.258/10.93, allocations: 96.18 MB / 3.386 GB, free: 64.26 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01862/10.94, allocations: 5.947 MB / 3.392 GB, free: 58.33 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009815/10.95, allocations: 208 kB / 3.392 GB, free: 58.13 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05501/11.01, allocations: 3.315 MB / 3.395 GB, free: 54.81 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006375/11.02, allocations: 0.8672 MB / 3.396 GB, free: 53.94 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004989/11.02, allocations: 0.6276 MB / 3.397 GB, free: 53.31 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02732/11.05, allocations: 12.16 MB / 3.409 GB, free: 41.23 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.62e-07/11.05, allocations: 0 / 3.409 GB, free: 41.23 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.6189/11.67, allocations: 38.69 MB / 3.447 GB, free: 0.4925 GB / 1.154 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.008634/11.68, allocations: 1.945 MB / 3.448 GB, free: 0.4924 GB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.1432/11.82, allocations: 77.39 MB / 3.524 GB, free: 488.7 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/11.82, allocations: 3.469 kB / 3.524 GB, free: 488.7 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.05805/11.88, allocations: 25.51 MB / 3.549 GB, free: 468.7 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0601/11.94, allocations: 7.981 MB / 3.557 GB, free: 463 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0925/12.03, allocations: 54.33 MB / 3.61 GB, free: 416.2 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/12.05, allocations: 10.36 MB / 3.62 GB, free: 408.9 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01583/12.06, allocations: 2.113 MB / 3.622 GB, free: 406.8 MB / 1.154 GB Notification: Performance of SimCode: time 1.553e-06/12.06, allocations: 3.875 kB / 3.622 GB, free: 406.8 MB / 1.154 GB Notification: Performance of Templates: time 2.387/14.45, allocations: 1.349 GB / 4.971 GB, free: 99.38 MB / 1.154 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile (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)