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.00128/0.00128, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001158/0.001158, allocations: 191 kB / 17.29 MB, free: 5.516 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 294.8 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8824/0.8824, allocations: 169.2 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 91.33 kB / 0.5966 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1432, allocations: 86.99 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.9073/1.05, allocations: 357.7 MB / 1.031 GB, free: 48.14 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.08573/1.136, allocations: 75.86 MB / 1.105 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01584/1.152, allocations: 435 kB / 1.105 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.03469/1.187, allocations: 23.48 MB / 1.128 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03348/1.22, allocations: 14.03 MB / 1.142 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02284/1.243, allocations: 10.16 MB / 1.152 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.09147/1.335, allocations: 74.05 MB / 1.224 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02396/1.359, allocations: 19.96 MB / 1.244 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03055/1.389, allocations: 16.98 MB / 1.26 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02742/1.417, allocations: 16.34 MB / 1.276 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00707/1.424, allocations: 1.945 MB / 1.278 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/1.442, allocations: 6.034 MB / 1.284 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.009065/1.451, allocations: 6.475 MB / 1.29 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.7808/2.232, allocations: 11.17 MB / 1.301 GB, free: 91.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.05666/2.288, allocations: 30.99 MB / 1.332 GB, free: 88.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/2.288, allocations: 0.7969 kB / 1.332 GB, free: 88.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/2.288, allocations: 0 / 1.332 GB, free: 88.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.001044/2.289, allocations: 0 / 1.332 GB, free: 88.45 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.07144/2.361, allocations: 23.86 MB / 1.355 GB, free: 79.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/2.361, allocations: 8.344 kB / 1.355 GB, free: 79.9 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01824/2.379, allocations: 3.188 MB / 1.358 GB, free: 78.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04142/2.421, allocations: 20.36 MB / 1.378 GB, free: 75.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006487/2.421, allocations: 0.6729 MB / 1.379 GB, free: 75.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005521/2.427, allocations: 0.9288 MB / 1.379 GB, free: 75.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03264/2.459, allocations: 17.07 MB / 1.396 GB, free: 74.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/2.46, allocations: 10.69 kB / 1.396 GB, free: 74.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/2.461, allocations: 327.3 kB / 1.396 GB, free: 74.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/2.461, allocations: 370.5 kB / 1.397 GB, free: 74.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03282/2.494, allocations: 21.5 MB / 1.418 GB, free: 71.11 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.1216/2.616, allocations: 83.23 MB / 1.499 GB, free: 7.457 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/2.637, allocations: 13.04 MB / 1.512 GB, free: 10.69 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0153/2.652, allocations: 10.03 MB / 1.522 GB, free: 0.6406 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.06963/2.722, allocations: 35.28 MB / 1.556 GB, free: 13 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01485/2.737, allocations: 10.15 MB / 1.566 GB, free: 2.785 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0192/2.756, allocations: 5.811 MB / 1.572 GB, free: 13.13 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=567): time 2.073e-05/2.756, allocations: 0 / 1.572 GB, free: 13.13 MB / 0.9513 GB Notification: Performance of matching and sorting (n=838): time 1.111/3.867, allocations: 217.7 MB / 1.784 GB, free: 411 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1178/3.985, allocations: 55.97 MB / 1.839 GB, free: 354.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02507/4.01, allocations: 17.35 MB / 1.856 GB, free: 336.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.004652/4.014, allocations: 230.8 kB / 1.856 GB, free: 336.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00621/4.021, allocations: 7.743 MB / 1.864 GB, free: 329.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.008129/4.029, allocations: 3.001 MB / 1.867 GB, free: 326.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008822/4.038, allocations: 3.995 MB / 1.87 GB, free: 322.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/4.038, allocations: 301.1 kB / 1.871 GB, free: 322 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02597/4.064, allocations: 20.27 MB / 1.891 GB, free: 301.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02857/4.092, allocations: 23.1 MB / 1.913 GB, free: 277.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05347/4.146, allocations: 38.6 MB / 1.951 GB, free: 238.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.781e-05/4.146, allocations: 16 kB / 1.951 GB, free: 238.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5159/4.662, allocations: 134.6 MB / 2.082 GB, free: 103.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/4.662, allocations: 57.69 kB / 2.082 GB, free: 103.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.739e-05/4.662, allocations: 52 kB / 2.082 GB, free: 103.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8437/5.506, allocations: 118 MB / 2.198 GB, free: 434.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/5.524, allocations: 3.547 MB / 2.201 GB, free: 434.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1254/5.649, allocations: 81.89 MB / 2.281 GB, free: 412.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07486/5.724, allocations: 6.438 MB / 2.287 GB, free: 409.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00557/5.73, allocations: 1.314 MB / 2.289 GB, free: 408.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03453/5.764, allocations: 23.66 MB / 2.312 GB, free: 385.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02564/5.79, allocations: 22.59 MB / 2.334 GB, free: 361.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0469/5.837, allocations: 37.58 MB / 2.37 GB, free: 323.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.538e-05/5.837, allocations: 12 kB / 2.37 GB, free: 323.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5048/6.341, allocations: 133 MB / 2.5 GB, free: 191 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/6.342, allocations: 53.7 kB / 2.5 GB, free: 190.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.398e-05/6.342, allocations: 52 kB / 2.5 GB, free: 190.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5004/6.842, allocations: 117.6 MB / 2.615 GB, free: 73.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/6.858, allocations: 3.535 MB / 2.619 GB, free: 70.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4778/7.336, allocations: 86.12 MB / 2.703 GB, free: 418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07771/7.414, allocations: 6.488 MB / 2.709 GB, free: 418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00642/7.42, allocations: 1.285 MB / 2.71 GB, free: 418 MB / 1.014 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.005901/7.426, allocations: 0.758 MB / 2.711 GB, free: 417.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006548/7.432, allocations: 1.614 MB / 2.713 GB, free: 417.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1823/7.615, allocations: 60.75 MB / 2.772 GB, free: 405 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1868/7.802, allocations: 67.04 MB / 2.838 GB, free: 358.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-05/7.802, allocations: 28 kB / 2.838 GB, free: 358.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1732/7.975, allocations: 66.37 MB / 2.902 GB, free: 292.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2527/8.228, allocations: 130.4 MB / 3.03 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001053/8.228, allocations: 11.88 kB / 3.03 GB, free: 161.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01158/8.239, allocations: 1.977 MB / 3.032 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.287/8.526, allocations: 81.4 MB / 3.111 GB, free: 78.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004167/8.531, allocations: 0.5689 MB / 3.112 GB, free: 78.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4501/8.981, allocations: 58.53 MB / 3.169 GB, free: 435.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.1161/9.097, allocations: 54.11 MB / 3.222 GB, free: 419.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2249/9.322, allocations: 96.18 MB / 3.316 GB, free: 379.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01666/9.339, allocations: 5.945 MB / 3.321 GB, free: 373.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006704/9.345, allocations: 215.9 kB / 3.322 GB, free: 373.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04427/9.39, allocations: 3.304 MB / 3.325 GB, free: 370.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004558/9.394, allocations: 0.8771 MB / 3.326 GB, free: 369.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002125/9.396, allocations: 0.6237 MB / 3.326 GB, free: 369.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01843/9.415, allocations: 11.81 MB / 3.338 GB, free: 357.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/9.415, allocations: 0 / 3.338 GB, free: 357.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.08506/9.5, allocations: 38.7 MB / 3.376 GB, free: 319 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.006114/9.506, allocations: 1.938 MB / 3.378 GB, free: 317.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.1185/9.624, allocations: 77.45 MB / 3.453 GB, free: 239.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/9.624, allocations: 0 / 3.453 GB, free: 239.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0457/9.67, allocations: 25.47 MB / 3.478 GB, free: 214.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05028/9.721, allocations: 7.994 MB / 3.486 GB, free: 206.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08166/9.802, allocations: 54.07 MB / 3.539 GB, free: 152.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/9.813, allocations: 10.46 MB / 3.549 GB, free: 142.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.02731/9.841, allocations: 7.979 MB / 3.557 GB, free: 134.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01105/9.852, allocations: 2.058 MB / 3.559 GB, free: 132 MB / 1.014 GB Notification: Performance of SimCode: time 1.422e-06/9.852, allocations: 0 / 3.559 GB, free: 132 MB / 1.014 GB Notification: Performance of Templates: time 1.442/11.29, allocations: 0.6369 GB / 4.196 GB, free: 409.4 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)