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.001341/0.001342, allocations: 107 kB / 16.41 MB, free: 6.504 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.001265/0.001265, allocations: 187 kB / 17.34 MB, free: 5.742 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002163, allocations: 289.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003158/0.003158, allocations: 99.86 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4312, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7344/1.166, allocations: 357.7 MB / 1.116 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1127/1.278, allocations: 75.88 MB / 1.191 GB, free: 24 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01928/1.298, allocations: 433.5 kB / 1.191 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0202/1.318, allocations: 6.423 MB / 1.197 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04436/1.362, allocations: 14.11 MB / 1.211 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02614/1.389, allocations: 10.18 MB / 1.221 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.1029/1.492, allocations: 74.19 MB / 1.293 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03155/1.523, allocations: 20.02 MB / 1.313 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.029/2.552, allocations: 17.39 MB / 1.33 GB, free: 65.23 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0332/2.586, allocations: 16.38 MB / 1.346 GB, free: 63.41 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.01066/2.596, allocations: 1.956 MB / 1.348 GB, free: 63.41 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02357/2.62, allocations: 6.041 MB / 1.354 GB, free: 63.41 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01173/2.632, allocations: 6.498 MB / 1.36 GB, free: 62.68 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02559/2.657, allocations: 11.19 MB / 1.371 GB, free: 59.77 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04769/2.705, allocations: 31.1 MB / 1.401 GB, free: 56.46 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.705, allocations: 3.188 kB / 1.401 GB, free: 56.46 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.754e-06/2.705, allocations: 0 / 1.401 GB, free: 56.46 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001088/2.706, allocations: 0 / 1.401 GB, free: 56.46 MB / 0.9357 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.07609/2.782, allocations: 23.91 MB / 1.425 GB, free: 47.91 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/2.782, allocations: 10.66 kB / 1.425 GB, free: 47.91 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01976/2.802, allocations: 3.191 MB / 1.428 GB, free: 46.86 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04727/2.85, allocations: 20.84 MB / 1.448 GB, free: 41.84 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000756/2.85, allocations: 0.6726 MB / 1.449 GB, free: 41.82 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005752/2.856, allocations: 0.9366 MB / 1.45 GB, free: 41.8 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/2.892, allocations: 17.07 MB / 1.466 GB, free: 32.26 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/2.893, allocations: 14.09 kB / 1.466 GB, free: 32.26 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001397/2.894, allocations: 331.4 kB / 1.467 GB, free: 32.18 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/2.894, allocations: 368.6 kB / 1.467 GB, free: 31.84 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03215/2.926, allocations: 21.5 MB / 1.488 GB, free: 17.01 MB / 0.9357 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.1534/3.08, allocations: 83.29 MB / 1.569 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02449/3.104, allocations: 13.03 MB / 1.582 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01755/3.122, allocations: 10.08 MB / 1.592 GB, free: 4.902 MB / 1.029 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.09018/3.212, allocations: 35.31 MB / 1.627 GB, free: 1.215 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0232/3.235, allocations: 10.14 MB / 1.636 GB, free: 7.008 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02341/3.259, allocations: 5.817 MB / 1.642 GB, free: 1.348 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 3.128e-05/3.259, allocations: 0 / 1.642 GB, free: 1.348 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 1.44/4.699, allocations: 217.8 MB / 1.855 GB, free: 478.2 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1378/4.837, allocations: 55.97 MB / 1.909 GB, free: 421.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04057/4.877, allocations: 17.79 MB / 1.927 GB, free: 403.6 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.005632/4.883, allocations: 221.7 kB / 1.927 GB, free: 403.4 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.01045/4.893, allocations: 7.746 MB / 1.935 GB, free: 396 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00996/4.903, allocations: 3.002 MB / 1.938 GB, free: 393 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02001/4.923, allocations: 3.986 MB / 1.941 GB, free: 389 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/4.923, allocations: 313 kB / 1.942 GB, free: 388.7 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03055/4.954, allocations: 20.28 MB / 1.962 GB, free: 368.4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03408/4.988, allocations: 23.09 MB / 1.984 GB, free: 344.3 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06066/5.049, allocations: 38.61 MB / 2.022 GB, free: 304.9 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.163e-05/5.049, allocations: 16 kB / 2.022 GB, free: 304.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6101/5.659, allocations: 134.5 MB / 2.153 GB, free: 170.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/5.659, allocations: 69.83 kB / 2.153 GB, free: 170.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.131e-05/5.659, allocations: 55.98 kB / 2.153 GB, free: 170 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5858/6.245, allocations: 118 MB / 2.268 GB, free: 52.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01887/6.264, allocations: 3.549 MB / 2.272 GB, free: 48.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6412/6.905, allocations: 81.89 MB / 2.352 GB, free: 0.4912 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09921/7.004, allocations: 6.447 MB / 2.358 GB, free: 0.4911 GB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007645/7.012, allocations: 1.317 MB / 2.36 GB, free: 0.491 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04352/7.056, allocations: 23.67 MB / 2.383 GB, free: 495.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0351/7.091, allocations: 22.58 MB / 2.405 GB, free: 486.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06393/7.155, allocations: 37.58 MB / 2.441 GB, free: 455.7 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001031/7.155, allocations: 12 kB / 2.441 GB, free: 455.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6167/7.772, allocations: 133 MB / 2.571 GB, free: 323.8 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/7.772, allocations: 53.7 kB / 2.571 GB, free: 323.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/7.772, allocations: 52 kB / 2.571 GB, free: 323.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5869/8.359, allocations: 117.6 MB / 2.686 GB, free: 206.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01765/8.377, allocations: 3.529 MB / 2.69 GB, free: 202.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1637/8.54, allocations: 86.13 MB / 2.774 GB, free: 116.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09705/8.637, allocations: 6.49 MB / 2.78 GB, free: 110.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008255/8.646, allocations: 1.29 MB / 2.781 GB, free: 108.9 MB / 1.154 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.01261/8.658, allocations: 0.7618 MB / 2.782 GB, free: 108.2 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01232/8.671, allocations: 1.605 MB / 2.784 GB, free: 107.1 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2228/8.894, allocations: 60.77 MB / 2.843 GB, free: 46.37 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6874/9.581, allocations: 67.03 MB / 2.908 GB, free: 0.492 GB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001711/9.581, allocations: 31.66 kB / 2.909 GB, free: 0.492 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2067/9.788, allocations: 66.36 MB / 2.973 GB, free: 485.1 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2903/10.08, allocations: 130.4 MB / 3.101 GB, free: 356.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/10.08, allocations: 0 / 3.101 GB, free: 356.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0122/10.09, allocations: 1.981 MB / 3.103 GB, free: 354.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3224/10.41, allocations: 81.4 MB / 3.182 GB, free: 273.1 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005008/10.42, allocations: 0.5729 MB / 3.183 GB, free: 272.6 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1098/10.53, allocations: 58.54 MB / 3.24 GB, free: 214 MB / 1.154 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1133/10.64, allocations: 54.12 MB / 3.293 GB, free: 158.8 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2492/10.89, allocations: 96.18 MB / 3.387 GB, free: 63.54 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02174/10.91, allocations: 5.943 MB / 3.392 GB, free: 57.62 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009053/10.92, allocations: 212 kB / 3.393 GB, free: 57.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05393/10.98, allocations: 3.321 MB / 3.396 GB, free: 54.09 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005473/10.98, allocations: 0.8694 MB / 3.397 GB, free: 53.22 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003819/10.98, allocations: 0.6276 MB / 3.397 GB, free: 52.59 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02308/11.01, allocations: 12.16 MB / 3.409 GB, free: 40.51 MB / 1.154 GB Notification: Performance of sort global known variables: time 6.62e-07/11.01, allocations: 0 / 3.409 GB, free: 40.51 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.5316/11.54, allocations: 38.69 MB / 3.447 GB, free: 0.4923 GB / 1.154 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.007461/11.55, allocations: 1.928 MB / 3.449 GB, free: 0.4922 GB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.1398/11.69, allocations: 77.41 MB / 3.524 GB, free: 488.1 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/11.69, allocations: 4 kB / 3.524 GB, free: 488.1 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.05779/11.74, allocations: 25.5 MB / 3.549 GB, free: 467.4 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06215/11.81, allocations: 7.977 MB / 3.557 GB, free: 461.8 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0991/11.91, allocations: 54.35 MB / 3.61 GB, free: 415 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01867/11.92, allocations: 10.35 MB / 3.62 GB, free: 407.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01483/11.94, allocations: 2.121 MB / 3.622 GB, free: 405.9 MB / 1.154 GB Notification: Performance of SimCode: time 1.322e-06/11.94, allocations: 0 / 3.622 GB, free: 405.9 MB / 1.154 GB Notification: Performance of Templates: time 2.396/14.34, allocations: 1.353 GB / 4.976 GB, free: 97.29 MB / 1.154 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)