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.005477/0.005477, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.00136/0.00136, allocations: 197.7 kB / 16.68 MB, free: 5.961 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8176/0.8176, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 64.73 kB / 0.5956 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1417, allocations: 82.03 MB / 0.6757 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.6778/0.8196, allocations: 358.2 MB / 1.026 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.564/1.384, allocations: 76.14 MB / 1.1 GB, free: 40.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0166/1.4, allocations: 432.9 kB / 1.1 GB, free: 40.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01857/1.419, allocations: 6.475 MB / 1.107 GB, free: 40.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03878/1.458, allocations: 14.15 MB / 1.12 GB, free: 39.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02464/1.482, allocations: 10.17 MB / 1.13 GB, free: 39.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.08915/1.572, allocations: 74.3 MB / 1.203 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02504/1.597, allocations: 20.02 MB / 1.222 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03742/1.634, allocations: 17.46 MB / 1.24 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03015/1.664, allocations: 16.44 MB / 1.256 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.007951/1.672, allocations: 1.965 MB / 1.258 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02607/1.698, allocations: 6.042 MB / 1.263 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01203/1.71, allocations: 6.525 MB / 1.27 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02437/1.735, allocations: 11.22 MB / 1.281 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.04863/1.784, allocations: 32.65 MB / 1.313 GB, free: 2.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.784, allocations: 0 / 1.313 GB, free: 2.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.784, allocations: 0 / 1.313 GB, free: 2.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009097/1.784, allocations: 0 / 1.313 GB, free: 2.316 MB / 0.92 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.06739/1.852, allocations: 24.01 MB / 1.336 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.852, allocations: 16.02 kB / 1.336 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/1.869, allocations: 3.196 MB / 1.339 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04412/1.913, allocations: 20.91 MB / 1.36 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007457/1.914, allocations: 0.6739 MB / 1.36 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005154/1.919, allocations: 0.938 MB / 1.361 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03885/1.958, allocations: 17.06 MB / 1.378 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/1.958, allocations: 15.84 kB / 1.378 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/1.96, allocations: 324.5 kB / 1.378 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002921/1.96, allocations: 367.3 kB / 1.379 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04333/2.003, allocations: 21.51 MB / 1.4 GB, free: 9.43 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 removeSimpleEquations (simulation): time 0.5118/2.515, allocations: 83.43 MB / 1.481 GB, free: 466.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/2.534, allocations: 13.01 MB / 1.494 GB, free: 460.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0142/2.548, allocations: 10.08 MB / 1.504 GB, free: 455.3 MB / 1.045 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.07515/2.624, allocations: 35.39 MB / 1.538 GB, free: 430.9 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02136/2.645, allocations: 10.15 MB / 1.548 GB, free: 423.6 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02339/2.669, allocations: 5.812 MB / 1.554 GB, free: 418.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=567): time 5.673e-05/2.669, allocations: 0 / 1.554 GB, free: 418.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=838): time 0.8215/3.49, allocations: 217.8 MB / 1.766 GB, free: 202.1 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1161/3.606, allocations: 55.99 MB / 1.821 GB, free: 145 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02674/3.633, allocations: 17.9 MB / 1.839 GB, free: 127.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.004169/3.637, allocations: 225.7 kB / 1.839 GB, free: 126.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.007327/3.645, allocations: 7.769 MB / 1.846 GB, free: 119.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.007742/3.652, allocations: 3.008 MB / 1.849 GB, free: 116.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01406/3.667, allocations: 3.986 MB / 1.853 GB, free: 112.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.285e-05/3.667, allocations: 305.1 kB / 1.853 GB, free: 111.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02663/3.693, allocations: 20.27 MB / 1.873 GB, free: 91.61 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02768/3.721, allocations: 23.11 MB / 1.896 GB, free: 67.46 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05408/3.775, allocations: 38.6 MB / 1.934 GB, free: 28.05 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/3.775, allocations: 16 kB / 1.934 GB, free: 28.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.9518/4.727, allocations: 134.6 MB / 2.065 GB, free: 417.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/4.727, allocations: 55.73 kB / 2.065 GB, free: 417.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-05/4.727, allocations: 51.91 kB / 2.065 GB, free: 417.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5245/5.252, allocations: 118 MB / 2.18 GB, free: 301.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01654/5.268, allocations: 3.554 MB / 2.184 GB, free: 298 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1234/5.392, allocations: 81.88 MB / 2.264 GB, free: 216.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08386/5.476, allocations: 6.453 MB / 2.27 GB, free: 209.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005078/5.481, allocations: 1.317 MB / 2.271 GB, free: 208.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0328/5.513, allocations: 23.67 MB / 2.294 GB, free: 184.6 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02683/5.54, allocations: 22.58 MB / 2.316 GB, free: 161 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04916/5.589, allocations: 37.58 MB / 2.353 GB, free: 122.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.375e-05/5.59, allocations: 12 kB / 2.353 GB, free: 122.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.9681/6.558, allocations: 133 MB / 2.483 GB, free: 422.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/6.558, allocations: 58.3 kB / 2.483 GB, free: 422.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.732e-05/6.558, allocations: 51.78 kB / 2.483 GB, free: 422.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5342/7.092, allocations: 117.6 MB / 2.598 GB, free: 375.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01562/7.108, allocations: 3.538 MB / 2.601 GB, free: 372 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1337/7.242, allocations: 86.13 MB / 2.686 GB, free: 285.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08538/7.327, allocations: 6.493 MB / 2.692 GB, free: 279.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005711/7.333, allocations: 1.289 MB / 2.693 GB, free: 278 MB / 1.045 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.00836/7.341, allocations: 0.7609 MB / 2.694 GB, free: 277.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00804/7.349, allocations: 1.618 MB / 2.696 GB, free: 276.6 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1921/7.541, allocations: 60.77 MB / 2.755 GB, free: 216 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1871/7.728, allocations: 67.03 MB / 2.82 GB, free: 149 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001943/7.729, allocations: 32 kB / 2.82 GB, free: 149 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1857/7.914, allocations: 66.36 MB / 2.885 GB, free: 82.61 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6688/8.583, allocations: 130.5 MB / 3.013 GB, free: 413.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.001e-05/8.583, allocations: 3.969 kB / 3.013 GB, free: 413.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01044/8.594, allocations: 1.977 MB / 3.015 GB, free: 413.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2951/8.889, allocations: 81.4 MB / 3.094 GB, free: 371.7 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003954/8.893, allocations: 0.569 MB / 3.095 GB, free: 371.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09124/8.984, allocations: 58.54 MB / 3.152 GB, free: 312.6 MB / 1.045 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.09664/9.081, allocations: 54.12 MB / 3.205 GB, free: 257.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2217/9.303, allocations: 96.19 MB / 3.299 GB, free: 162.2 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01516/9.318, allocations: 5.971 MB / 3.304 GB, free: 157 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007044/9.325, allocations: 212 kB / 3.305 GB, free: 156.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04853/9.373, allocations: 3.311 MB / 3.308 GB, free: 153.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005708/9.379, allocations: 0.8655 MB / 3.309 GB, free: 152.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004005/9.383, allocations: 0.6276 MB / 3.309 GB, free: 152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0248/9.408, allocations: 12.24 MB / 3.321 GB, free: 139.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.4e-07/9.408, allocations: 4 kB / 3.321 GB, free: 139.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.08393/9.492, allocations: 38.71 MB / 3.359 GB, free: 101.3 MB / 1.045 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.006702/9.499, allocations: 1.992 MB / 3.361 GB, free: 99.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.122/9.621, allocations: 77.45 MB / 3.437 GB, free: 22 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/9.621, allocations: 4 kB / 3.437 GB, free: 22 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.4154/10.04, allocations: 25.48 MB / 3.462 GB, free: 438.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05978/10.1, allocations: 8.025 MB / 3.469 GB, free: 437.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09588/10.19, allocations: 53.91 MB / 3.522 GB, free: 424.2 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01786/10.21, allocations: 10.48 MB / 3.532 GB, free: 422 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.03015/10.24, allocations: 7.968 MB / 3.54 GB, free: 421.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01269/10.25, allocations: 2.056 MB / 3.542 GB, free: 421.4 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/10.25, allocations: 0 / 3.542 GB, free: 421.4 MB / 1.045 GB Notification: Performance of Templates: time 1.537/11.79, allocations: 0.6602 GB / 4.202 GB, free: 237.3 MB / 1.045 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)