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.001578/0.001578, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001558/0.001558, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00232/0.00232, allocations: 286.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9515/0.9515, allocations: 169.2 MB / 0.4988 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 95.77 kB / 0.5959 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1701, allocations: 86.98 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.08/1.251, allocations: 357.7 MB / 1.03 GB, free: 48.12 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.09477/1.345, allocations: 75.87 MB / 1.104 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01702/1.362, allocations: 435.4 kB / 1.105 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.03516/1.398, allocations: 23.46 MB / 1.128 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03781/1.436, allocations: 14.04 MB / 1.141 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0253/1.461, allocations: 10.05 MB / 1.151 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.09623/1.557, allocations: 66.67 MB / 1.216 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0321/1.589, allocations: 19.98 MB / 1.236 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03888/1.628, allocations: 16.92 MB / 1.252 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03039/1.659, allocations: 16.32 MB / 1.268 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.008992/1.668, allocations: 1.965 MB / 1.27 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02205/1.69, allocations: 6.618 MB / 1.277 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01099/1.701, allocations: 6.484 MB / 1.283 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.9605/2.661, allocations: 11.19 MB / 1.294 GB, free: 89.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.05851/2.72, allocations: 31.29 MB / 1.324 GB, free: 88.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/2.72, allocations: 0 / 1.324 GB, free: 88.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/2.72, allocations: 0 / 1.324 GB, free: 88.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.00155/2.721, allocations: 2.875 kB / 1.324 GB, free: 88.26 MB / 0.8575 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.08944/2.811, allocations: 23.93 MB / 1.348 GB, free: 79.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/2.811, allocations: 11.34 kB / 1.348 GB, free: 79.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/2.833, allocations: 3.185 MB / 1.351 GB, free: 78.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04577/2.878, allocations: 19.68 MB / 1.37 GB, free: 75.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008115/2.879, allocations: 0.7004 MB / 1.371 GB, free: 75.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006733/2.886, allocations: 0.9392 MB / 1.372 GB, free: 75.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04626/2.932, allocations: 17.07 MB / 1.388 GB, free: 74.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003814/2.933, allocations: 16.27 kB / 1.388 GB, free: 74.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004938/2.938, allocations: 333.4 kB / 1.389 GB, free: 74.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003365/2.938, allocations: 371.8 kB / 1.389 GB, free: 74.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04102/2.979, allocations: 21.51 MB / 1.41 GB, free: 71.71 MB / 0.8575 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.1362/3.115, allocations: 83.66 MB / 1.492 GB, free: 12.7 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/3.141, allocations: 13.04 MB / 1.504 GB, free: 15.91 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0178/3.159, allocations: 10.05 MB / 1.514 GB, free: 5.84 MB / 0.8888 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.08366/3.243, allocations: 35.38 MB / 1.549 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01869/3.262, allocations: 10.16 MB / 1.559 GB, free: 7.906 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02355/3.285, allocations: 5.817 MB / 1.564 GB, free: 2.246 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=567): time 3.071e-05/3.285, allocations: 6.625 kB / 1.564 GB, free: 2.242 MB / 0.9357 GB Notification: Performance of matching and sorting (n=838): time 1.342/4.627, allocations: 217.9 MB / 1.777 GB, free: 415.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1289/4.756, allocations: 56.06 MB / 1.832 GB, free: 358.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03089/4.787, allocations: 17.42 MB / 1.849 GB, free: 340.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.005536/4.793, allocations: 221.7 kB / 1.849 GB, free: 340.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.009935/4.803, allocations: 7.743 MB / 1.857 GB, free: 333.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.009745/4.812, allocations: 3.005 MB / 1.86 GB, free: 330.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02122/4.834, allocations: 4.078 MB / 1.864 GB, free: 326.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.405e-05/4.834, allocations: 309.1 kB / 1.864 GB, free: 326 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03275/4.866, allocations: 20.6 MB / 1.884 GB, free: 305.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03485/4.901, allocations: 23.47 MB / 1.907 GB, free: 280.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05905/4.96, allocations: 39.29 MB / 1.945 GB, free: 240.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.447e-05/4.961, allocations: 19.94 kB / 1.945 GB, free: 240.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.6042/5.565, allocations: 135.3 MB / 2.078 GB, free: 105.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/5.565, allocations: 57.64 kB / 2.078 GB, free: 105.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.86e-05/5.565, allocations: 56 kB / 2.078 GB, free: 105.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021/6.586, allocations: 118 MB / 2.193 GB, free: 436.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01862/6.605, allocations: 3.596 MB / 2.196 GB, free: 436.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1333/6.738, allocations: 81.92 MB / 2.276 GB, free: 415 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1018/6.84, allocations: 6.457 MB / 2.283 GB, free: 410.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007709/6.848, allocations: 1.349 MB / 2.284 GB, free: 409.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0425/6.89, allocations: 24 MB / 2.307 GB, free: 385.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0319/6.922, allocations: 22.97 MB / 2.33 GB, free: 361.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0579/6.98, allocations: 38.26 MB / 2.367 GB, free: 322.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-05/6.98, allocations: 16 kB / 2.367 GB, free: 322.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.6071/7.588, allocations: 133.7 MB / 2.498 GB, free: 189.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/7.588, allocations: 61.75 kB / 2.498 GB, free: 189.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.405e-05/7.588, allocations: 52 kB / 2.498 GB, free: 189.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5865/8.174, allocations: 117.7 MB / 2.613 GB, free: 71.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01745/8.192, allocations: 3.572 MB / 2.616 GB, free: 68.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5224/8.714, allocations: 86.17 MB / 2.701 GB, free: 419.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1041/8.818, allocations: 6.505 MB / 2.707 GB, free: 419.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009473/8.828, allocations: 1.31 MB / 2.708 GB, free: 419.9 MB / 1.014 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.01162/8.839, allocations: 0.7678 MB / 2.709 GB, free: 419.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01085/8.85, allocations: 1.612 MB / 2.71 GB, free: 419.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2381/9.088, allocations: 60.79 MB / 2.77 GB, free: 406.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2234/9.312, allocations: 67.05 MB / 2.835 GB, free: 355.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000141/9.312, allocations: 32 kB / 2.835 GB, free: 355.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.228/9.54, allocations: 66.38 MB / 2.9 GB, free: 289.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3155/9.856, allocations: 130.5 MB / 3.028 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.53e-05/9.856, allocations: 7.938 kB / 3.028 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0121/9.868, allocations: 1.977 MB / 3.03 GB, free: 157 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3254/10.19, allocations: 81.54 MB / 3.109 GB, free: 75.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004625/10.2, allocations: 0.5729 MB / 3.11 GB, free: 75.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.474/10.67, allocations: 58.56 MB / 3.167 GB, free: 438.1 MB / 1.014 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.118/10.79, allocations: 54.18 MB / 3.22 GB, free: 422 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2646/11.05, allocations: 96.19 MB / 3.314 GB, free: 375.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02309/11.08, allocations: 5.945 MB / 3.32 GB, free: 369.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01127/11.09, allocations: 214.5 kB / 3.32 GB, free: 369.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05597/11.15, allocations: 3.321 MB / 3.323 GB, free: 366.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00667/11.15, allocations: 0.8694 MB / 3.324 GB, free: 365.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004996/11.16, allocations: 0.6237 MB / 3.324 GB, free: 365.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.02841/11.19, allocations: 11.83 MB / 3.336 GB, free: 353.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.52e-07/11.19, allocations: 0 / 3.336 GB, free: 353.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.1005/11.29, allocations: 38.85 MB / 3.374 GB, free: 314.8 MB / 1.014 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.008987/11.29, allocations: 2.057 MB / 3.376 GB, free: 313 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.1965/11.49, allocations: 102.6 MB / 3.476 GB, free: 210.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/11.49, allocations: 0.9375 kB / 3.476 GB, free: 210.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.05442/11.55, allocations: 25.49 MB / 3.501 GB, free: 185 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05766/11.6, allocations: 7.904 MB / 3.509 GB, free: 177.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0984/11.7, allocations: 55.02 MB / 3.563 GB, free: 122.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01836/11.72, allocations: 10.35 MB / 3.573 GB, free: 111.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.015/11.74, allocations: 2.105 MB / 3.575 GB, free: 109.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/11.74, allocations: 0 / 3.575 GB, free: 109.8 MB / 1.014 GB Notification: Performance of Templates: time 2.602/14.34, allocations: 1.35 GB / 4.925 GB, free: 147.3 MB / 1.014 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)