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.001333/0.001333, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001391/0.001391, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002285/0.002285, allocations: 298.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 95.14 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1494, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.9146/1.064, allocations: 357.7 MB / 1.031 GB, free: 48.22 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.08599/1.15, allocations: 75.86 MB / 1.105 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01499/1.165, allocations: 430.3 kB / 1.105 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.03387/1.199, allocations: 23.47 MB / 1.128 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0347/1.234, allocations: 14.04 MB / 1.142 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02347/1.257, allocations: 10.16 MB / 1.152 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.09502/1.352, allocations: 74.04 MB / 1.224 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02836/1.381, allocations: 19.95 MB / 1.244 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03205/1.413, allocations: 16.98 MB / 1.26 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0264/1.439, allocations: 16.34 MB / 1.276 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.006708/1.446, allocations: 1.945 MB / 1.278 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/1.464, allocations: 6.038 MB / 1.284 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.009267/1.473, allocations: 6.472 MB / 1.29 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.7948/2.268, allocations: 11.17 MB / 1.301 GB, free: 91.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.05809/2.326, allocations: 30.99 MB / 1.332 GB, free: 88.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/2.326, allocations: 0 / 1.332 GB, free: 88.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/2.326, allocations: 1.719 kB / 1.332 GB, free: 88.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.001126/2.327, allocations: 0 / 1.332 GB, free: 88.51 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.08112/2.408, allocations: 23.85 MB / 1.355 GB, free: 79.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/2.408, allocations: 12.22 kB / 1.355 GB, free: 79.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/2.429, allocations: 3.189 MB / 1.358 GB, free: 78.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04676/2.476, allocations: 20.36 MB / 1.378 GB, free: 75.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008263/2.477, allocations: 0.6727 MB / 1.379 GB, free: 75.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006594/2.483, allocations: 0.9358 MB / 1.379 GB, free: 75.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04472/2.528, allocations: 17.06 MB / 1.396 GB, free: 74.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005076/2.528, allocations: 12.09 kB / 1.396 GB, free: 74.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005144/2.534, allocations: 331.8 kB / 1.396 GB, free: 74.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/2.534, allocations: 368.1 kB / 1.397 GB, free: 74.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04237/2.576, allocations: 21.5 MB / 1.418 GB, free: 71.16 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.1411/2.718, allocations: 83.22 MB / 1.499 GB, free: 7.426 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02376/2.741, allocations: 13.03 MB / 1.512 GB, free: 10.64 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01656/2.758, allocations: 10.03 MB / 1.522 GB, free: 0.5898 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.07847/2.836, allocations: 35.28 MB / 1.556 GB, free: 12.95 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01877/2.855, allocations: 10.15 MB / 1.566 GB, free: 2.738 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0217/2.877, allocations: 5.813 MB / 1.572 GB, free: 13.08 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=567): time 2.725e-05/2.877, allocations: 0 / 1.572 GB, free: 13.08 MB / 0.9513 GB Notification: Performance of matching and sorting (n=838): time 1.205/4.082, allocations: 217.7 MB / 1.784 GB, free: 411 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1449/4.227, allocations: 55.97 MB / 1.839 GB, free: 354.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03766/4.264, allocations: 17.35 MB / 1.856 GB, free: 336.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.005276/4.27, allocations: 221.7 kB / 1.856 GB, free: 336.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.01/4.28, allocations: 7.742 MB / 1.864 GB, free: 329.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00948/4.289, allocations: 3.003 MB / 1.867 GB, free: 326.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02141/4.311, allocations: 3.996 MB / 1.87 GB, free: 322.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/4.311, allocations: 305.1 kB / 1.871 GB, free: 322 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03171/4.342, allocations: 20.27 MB / 1.891 GB, free: 301.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03447/4.377, allocations: 23.09 MB / 1.913 GB, free: 277.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06097/4.438, allocations: 38.6 MB / 1.951 GB, free: 238.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.999e-05/4.438, allocations: 19.94 kB / 1.951 GB, free: 238.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5639/5.002, allocations: 134.6 MB / 2.082 GB, free: 103.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/5.002, allocations: 53.7 kB / 2.082 GB, free: 103.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.968e-05/5.002, allocations: 55.98 kB / 2.082 GB, free: 103.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8927/5.895, allocations: 118 MB / 2.198 GB, free: 434.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01954/5.914, allocations: 3.553 MB / 2.201 GB, free: 434.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.161/6.076, allocations: 81.9 MB / 2.281 GB, free: 413.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08229/6.158, allocations: 6.443 MB / 2.287 GB, free: 409.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008085/6.166, allocations: 1.305 MB / 2.289 GB, free: 408.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04491/6.211, allocations: 23.67 MB / 2.312 GB, free: 385.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03418/6.245, allocations: 22.58 MB / 2.334 GB, free: 361.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05892/6.304, allocations: 37.58 MB / 2.37 GB, free: 323.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.635e-05/6.304, 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.5616/6.866, allocations: 133 MB / 2.5 GB, free: 191 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/6.866, allocations: 53.7 kB / 2.5 GB, free: 191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.379e-05/6.866, allocations: 53 kB / 2.5 GB, free: 190.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5358/7.402, allocations: 117.6 MB / 2.615 GB, free: 73.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0174/7.419, allocations: 3.537 MB / 2.619 GB, free: 70.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4608/7.88, allocations: 86.11 MB / 2.703 GB, free: 418.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08151/7.962, allocations: 6.484 MB / 2.709 GB, free: 418.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008811/7.97, allocations: 1.286 MB / 2.71 GB, free: 418.2 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.01225/7.983, allocations: 0.7662 MB / 2.711 GB, free: 418 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01006/7.993, allocations: 1.613 MB / 2.713 GB, free: 418 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2072/8.2, allocations: 60.75 MB / 2.772 GB, free: 405.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2052/8.405, allocations: 67.04 MB / 2.838 GB, free: 358.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001637/8.405, allocations: 28 kB / 2.838 GB, free: 358.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1914/8.597, allocations: 66.37 MB / 2.902 GB, free: 292.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2675/8.864, allocations: 130.4 MB / 3.03 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-05/8.864, allocations: 3.938 kB / 3.03 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01138/8.876, allocations: 1.989 MB / 3.032 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3031/9.179, allocations: 81.39 MB / 3.111 GB, free: 78.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004739/9.184, allocations: 0.5729 MB / 3.112 GB, free: 78.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.442/9.626, allocations: 58.53 MB / 3.169 GB, free: 436.9 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.1237/9.75, allocations: 54.1 MB / 3.222 GB, free: 421.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2509/10, allocations: 96.18 MB / 3.316 GB, free: 380.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02269/10.02, allocations: 5.942 MB / 3.321 GB, free: 374.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008864/10.03, allocations: 208.8 kB / 3.322 GB, free: 374.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04733/10.08, allocations: 3.32 MB / 3.325 GB, free: 371.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005845/10.09, allocations: 0.8732 MB / 3.326 GB, free: 370.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004125/10.09, allocations: 0.6276 MB / 3.326 GB, free: 370 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.02494/10.11, allocations: 11.82 MB / 3.338 GB, free: 358.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.31e-07/10.11, allocations: 0 / 3.338 GB, free: 358.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.08941/10.2, allocations: 38.69 MB / 3.376 GB, free: 319.7 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.00701/10.21, allocations: 1.936 MB / 3.378 GB, free: 318 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.1278/10.34, allocations: 77.45 MB / 3.453 GB, free: 240.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/10.34, allocations: 320 / 3.453 GB, free: 240.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.05147/10.39, allocations: 25.49 MB / 3.478 GB, free: 215.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05798/10.45, allocations: 7.98 MB / 3.486 GB, free: 207.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09834/10.55, allocations: 54.06 MB / 3.539 GB, free: 153.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01756/10.56, allocations: 10.47 MB / 3.549 GB, free: 142.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0315/10.6, allocations: 7.978 MB / 3.557 GB, free: 134.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01255/10.61, allocations: 2.055 MB / 3.559 GB, free: 132.7 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/10.61, allocations: 0 / 3.559 GB, free: 132.7 MB / 1.014 GB Notification: Performance of Templates: time 1.485/12.09, allocations: 0.6369 GB / 4.196 GB, free: 409.1 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)