Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001544/0.001544, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9634/0.9634, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 0.5141 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1516, allocations: 82.03 MB / 0.5943 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.9741/1.126, allocations: 358.2 MB / 0.9441 GB, free: 40.54 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09466/1.22, allocations: 76.17 MB / 1.018 GB, free: 17.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/1.237, allocations: 437.5 kB / 1.019 GB, free: 17.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.04037/1.277, allocations: 23.52 MB / 1.042 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.04095/1.318, allocations: 14.09 MB / 1.056 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0246/1.343, allocations: 10.03 MB / 1.065 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.09301/1.436, allocations: 66.79 MB / 1.131 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03324/1.469, allocations: 20 MB / 1.15 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.932/2.401, allocations: 16.95 MB / 1.167 GB, free: 64.61 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03464/2.436, allocations: 16.37 MB / 1.183 GB, free: 64.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0133/2.449, allocations: 1.962 MB / 1.185 GB, free: 64.61 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03101/2.48, allocations: 6.628 MB / 1.191 GB, free: 64.61 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01475/2.495, allocations: 6.509 MB / 1.197 GB, free: 63.88 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.03014/2.525, allocations: 11.22 MB / 1.208 GB, free: 60.96 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.06448/2.59, allocations: 32.84 MB / 1.24 GB, free: 57.71 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/2.59, allocations: 2.906 kB / 1.24 GB, free: 57.71 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.965e-06/2.59, allocations: 3.375 kB / 1.24 GB, free: 57.71 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001575/2.592, allocations: 0 / 1.24 GB, free: 57.71 MB / 0.795 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.09449/2.686, allocations: 24.04 MB / 1.264 GB, free: 47.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/2.686, allocations: 10.28 kB / 1.264 GB, free: 47.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02285/2.709, allocations: 3.197 MB / 1.267 GB, free: 45.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05271/2.762, allocations: 19.76 MB / 1.286 GB, free: 38.46 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/2.763, allocations: 0.697 MB / 1.287 GB, free: 38.06 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007633/2.771, allocations: 0.9453 MB / 1.288 GB, free: 37.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04942/2.82, allocations: 17.07 MB / 1.305 GB, free: 25.54 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005444/2.821, allocations: 13.31 kB / 1.305 GB, free: 25.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006281/2.827, allocations: 332.3 kB / 1.305 GB, free: 25.46 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/2.827, allocations: 367.8 kB / 1.305 GB, free: 25.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04246/2.87, allocations: 21.52 MB / 1.326 GB, free: 6.477 MB / 0.795 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.1682/3.038, allocations: 83.78 MB / 1.408 GB, free: 96 kB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02613/3.064, allocations: 13.04 MB / 1.421 GB, free: 3.289 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01865/3.083, allocations: 10.04 MB / 1.431 GB, free: 9.238 MB / 0.9044 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.08896/3.172, allocations: 35.46 MB / 1.465 GB, free: 5.402 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02273/3.195, allocations: 10.16 MB / 1.475 GB, free: 11.18 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02685/3.222, allocations: 5.813 MB / 1.481 GB, free: 5.523 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=567): time 4.98e-05/3.222, allocations: 0 / 1.481 GB, free: 5.523 MB / 0.9513 GB Notification: Performance of matching and sorting (n=838): time 1.281/4.503, allocations: 217.9 MB / 1.694 GB, free: 335.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1434/4.646, allocations: 56.09 MB / 1.748 GB, free: 278.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03798/4.684, allocations: 17.52 MB / 1.766 GB, free: 260.9 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.004851/4.689, allocations: 224.7 kB / 1.766 GB, free: 260.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.009383/4.699, allocations: 7.751 MB / 1.773 GB, free: 253.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.008765/4.707, allocations: 3.007 MB / 1.776 GB, free: 250.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01712/4.725, allocations: 4.087 MB / 1.78 GB, free: 246.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/4.725, allocations: 305.1 kB / 1.781 GB, free: 245.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02884/4.754, allocations: 20.6 MB / 1.801 GB, free: 225.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03266/4.786, allocations: 23.49 MB / 1.824 GB, free: 200.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06014/4.846, allocations: 39.28 MB / 1.862 GB, free: 160.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.538e-05/4.846, allocations: 20 kB / 1.862 GB, free: 160.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.6243/5.471, allocations: 135.3 MB / 1.994 GB, free: 25.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/5.471, allocations: 58.27 kB / 1.994 GB, free: 25.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/5.471, allocations: 63.16 kB / 1.994 GB, free: 25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9249/6.396, allocations: 118 MB / 2.11 GB, free: 391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01924/6.415, allocations: 3.591 MB / 2.113 GB, free: 389.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1625/6.578, allocations: 81.92 MB / 2.193 GB, free: 323.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1009/6.679, allocations: 6.454 MB / 2.199 GB, free: 317.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007086/6.686, allocations: 1.341 MB / 2.201 GB, free: 316.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04279/6.729, allocations: 24.01 MB / 2.224 GB, free: 292 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03311/6.762, allocations: 22.97 MB / 2.247 GB, free: 268.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06498/6.827, allocations: 38.25 MB / 2.284 GB, free: 229.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.371e-05/6.827, allocations: 17.97 kB / 2.284 GB, free: 229.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.6454/7.472, allocations: 133.7 MB / 2.414 GB, free: 96.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.403e-05/7.472, allocations: 57.69 kB / 2.415 GB, free: 96.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.868e-05/7.473, allocations: 53.75 kB / 2.415 GB, free: 96.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9622/8.435, allocations: 117.7 MB / 2.53 GB, free: 382.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01892/8.454, allocations: 3.571 MB / 2.533 GB, free: 382.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1638/8.618, allocations: 86.18 MB / 2.617 GB, free: 362.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1054/8.723, allocations: 6.503 MB / 2.624 GB, free: 361.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00778/8.731, allocations: 1.316 MB / 2.625 GB, free: 361.3 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1203): * Single equations (assignments): 1175 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 12 * 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.01011/8.741, allocations: 0.7723 MB / 2.626 GB, free: 360.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01076/8.752, allocations: 1.612 MB / 2.627 GB, free: 360.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2403/8.992, allocations: 60.8 MB / 2.687 GB, free: 310.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2389/9.231, allocations: 67.06 MB / 2.752 GB, free: 243.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000302/9.231, allocations: 28 kB / 2.752 GB, free: 243.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2435/9.475, allocations: 66.38 MB / 2.817 GB, free: 177.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3186/9.793, allocations: 130.5 MB / 2.944 GB, free: 47.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.591e-05/9.794, allocations: 4 kB / 2.944 GB, free: 47.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01275/9.806, allocations: 1.977 MB / 2.946 GB, free: 45.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7038/10.51, allocations: 81.55 MB / 3.026 GB, free: 379.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004532/10.51, allocations: 0.5673 MB / 3.026 GB, free: 379.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1233/10.64, allocations: 58.55 MB / 3.084 GB, free: 367.1 MB / 0.9669 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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.1252/10.76, allocations: 54.2 MB / 3.137 GB, free: 338.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2792/11.04, allocations: 96.2 MB / 3.231 GB, free: 245.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01816/11.06, allocations: 5.97 MB / 3.236 GB, free: 240 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009774/11.07, allocations: 211.9 kB / 3.237 GB, free: 239.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05727/11.13, allocations: 3.327 MB / 3.24 GB, free: 236.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006588/11.13, allocations: 0.8577 MB / 3.241 GB, free: 235.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004073/11.14, allocations: 0.6315 MB / 3.241 GB, free: 234.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02478/11.16, allocations: 11.9 MB / 3.253 GB, free: 223.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.91e-07/11.16, allocations: 0 / 3.253 GB, free: 223.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.08665/11.25, allocations: 38.86 MB / 3.291 GB, free: 184.4 MB / 0.9669 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.007398/11.26, allocations: 2.092 MB / 3.293 GB, free: 182.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.1912/11.45, allocations: 102.6 MB / 3.393 GB, free: 79.92 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/11.45, allocations: 8.062 kB / 3.393 GB, free: 79.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.05734/11.51, allocations: 25.48 MB / 3.418 GB, free: 54.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05916/11.57, allocations: 7.947 MB / 3.426 GB, free: 46.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.431/12, allocations: 54.59 MB / 3.479 GB, free: 381.8 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02169/12.02, allocations: 10.48 MB / 3.489 GB, free: 380.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.03914/12.06, allocations: 7.942 MB / 3.497 GB, free: 380.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.014/12.07, allocations: 2.058 MB / 3.499 GB, free: 380.4 MB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/12.07, allocations: 3.844 kB / 3.499 GB, free: 380.4 MB / 0.9669 GB Notification: Performance of Templates: time 1.248/13.32, allocations: 0.6486 GB / 4.148 GB, free: 263.9 MB / 0.9669 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)