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.001703/0.001703, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001878/0.001878, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 291.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9963/0.9963, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 103.8 kB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4398, allocations: 86.97 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7017/1.141, allocations: 358.4 MB / 1.117 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1173/1.259, allocations: 75.95 MB / 1.191 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01407/1.273, allocations: 433.5 kB / 1.192 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.02033/1.293, allocations: 6.614 MB / 1.198 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04568/1.339, allocations: 14.77 MB / 1.213 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02614/1.365, allocations: 10.2 MB / 1.223 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.1057/1.471, allocations: 74.43 MB / 1.295 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02854/1.499, allocations: 17.31 MB / 1.312 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9465/2.446, allocations: 17.42 MB / 1.329 GB, free: 63.48 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02787/2.474, allocations: 16.37 MB / 1.345 GB, free: 61.94 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.009649/2.483, allocations: 1.958 MB / 1.347 GB, free: 61.94 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02123/2.504, allocations: 6.05 MB / 1.353 GB, free: 61.94 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01097/2.515, allocations: 6.632 MB / 1.359 GB, free: 61.09 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02707/2.543, allocations: 11.19 MB / 1.37 GB, free: 58.17 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.045/2.587, allocations: 31.21 MB / 1.401 GB, free: 54.14 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/2.588, allocations: 0 / 1.401 GB, free: 54.14 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.482e-06/2.588, allocations: 0 / 1.401 GB, free: 54.14 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0009436/2.588, allocations: 0 / 1.401 GB, free: 54.14 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.06922/2.658, allocations: 24.55 MB / 1.425 GB, free: 44.99 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/2.658, allocations: 10.53 kB / 1.425 GB, free: 44.99 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/2.678, allocations: 3.292 MB / 1.428 GB, free: 43.85 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04397/2.722, allocations: 21 MB / 1.449 GB, free: 39.29 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007277/2.723, allocations: 0.6695 MB / 1.449 GB, free: 39.27 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005859/2.729, allocations: 0.9396 MB / 1.45 GB, free: 39.25 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04295/2.772, allocations: 17.07 MB / 1.467 GB, free: 30.98 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005148/2.773, allocations: 9.531 kB / 1.467 GB, free: 30.98 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004487/2.777, allocations: 330.7 kB / 1.467 GB, free: 30.9 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003719/2.777, allocations: 366.7 kB / 1.467 GB, free: 30.56 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03764/2.815, allocations: 21.5 MB / 1.488 GB, free: 15.73 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.1617/2.977, allocations: 83.39 MB / 1.57 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/3.001, allocations: 11.74 MB / 1.581 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.017/3.018, allocations: 8.849 MB / 1.59 GB, free: 6.754 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.08212/3.1, allocations: 35.31 MB / 1.624 GB, free: 3.066 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02234/3.122, allocations: 10.15 MB / 1.634 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02446/3.147, allocations: 5.83 MB / 1.64 GB, free: 3.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 2.906e-05/3.147, allocations: 0 / 1.64 GB, free: 3.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 1.323/4.47, allocations: 217.6 MB / 1.853 GB, free: 480.4 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1321/4.602, allocations: 55.91 MB / 1.907 GB, free: 423.6 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03395/4.636, allocations: 17.8 MB / 1.925 GB, free: 405.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.005139/4.641, allocations: 221.7 kB / 1.925 GB, free: 405.7 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.008754/4.65, allocations: 7.842 MB / 1.932 GB, free: 398.3 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.008729/4.658, allocations: 3.147 MB / 1.936 GB, free: 395.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0164/4.675, allocations: 4.002 MB / 1.939 GB, free: 391.2 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/4.675, allocations: 305.1 kB / 1.94 GB, free: 390.9 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0314/4.706, allocations: 20.27 MB / 1.96 GB, free: 370.6 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03168/4.738, allocations: 23.09 MB / 1.982 GB, free: 346.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05872/4.796, allocations: 38.61 MB / 2.02 GB, free: 307.1 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.685e-05/4.797, allocations: 12 kB / 2.02 GB, free: 307 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6288/5.425, allocations: 134.2 MB / 2.151 GB, free: 172.7 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/5.425, allocations: 69.56 kB / 2.151 GB, free: 172.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.309e-05/5.426, allocations: 52 kB / 2.151 GB, free: 172.6 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6156/6.041, allocations: 118 MB / 2.266 GB, free: 54.69 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01943/6.061, allocations: 3.559 MB / 2.27 GB, free: 51.12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5468/6.607, allocations: 81.91 MB / 2.35 GB, free: 0.4923 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1007/6.708, allocations: 6.455 MB / 2.356 GB, free: 0.4921 GB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006935/6.715, allocations: 1.315 MB / 2.357 GB, free: 0.492 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0469/6.762, allocations: 23.66 MB / 2.38 GB, free: 496.4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03363/6.796, allocations: 22.58 MB / 2.402 GB, free: 487.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06118/6.857, allocations: 37.58 MB / 2.439 GB, free: 457.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.626e-05/6.857, allocations: 12 kB / 2.439 GB, free: 457.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6329/7.49, allocations: 132.6 MB / 2.569 GB, free: 326.4 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/7.49, allocations: 55.58 kB / 2.569 GB, free: 326.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.377e-05/7.49, allocations: 52.09 kB / 2.569 GB, free: 326.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6004/8.09, allocations: 117.6 MB / 2.684 GB, free: 209 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01773/8.108, allocations: 3.537 MB / 2.687 GB, free: 205.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1406/8.249, allocations: 86.16 MB / 2.771 GB, free: 119.2 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09612/8.345, allocations: 6.489 MB / 2.777 GB, free: 112.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006603/8.351, allocations: 1.282 MB / 2.779 GB, free: 111.4 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.00913/8.36, allocations: 0.7621 MB / 2.779 GB, free: 110.7 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008157/8.369, allocations: 1.697 MB / 2.781 GB, free: 109.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2157/8.584, allocations: 60.26 MB / 2.84 GB, free: 49.48 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6369/9.221, allocations: 66.07 MB / 2.905 GB, free: 0.4922 GB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000175/9.221, allocations: 31.25 kB / 2.905 GB, free: 0.4922 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2176/9.439, allocations: 65.41 MB / 2.968 GB, free: 489.9 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3008/9.74, allocations: 129.5 MB / 3.095 GB, free: 361.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.97e-05/9.74, allocations: 4 kB / 3.095 GB, free: 361.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01183/9.752, allocations: 1.973 MB / 3.097 GB, free: 359.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3326/10.08, allocations: 81.39 MB / 3.176 GB, free: 278.6 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005458/10.09, allocations: 0.5729 MB / 3.177 GB, free: 278.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1548/10.24, allocations: 58.57 MB / 3.234 GB, free: 219.5 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.1119/10.36, allocations: 54.13 MB / 3.287 GB, free: 164.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2616/10.62, allocations: 95.32 MB / 3.38 GB, free: 69.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01794/10.64, allocations: 6.029 MB / 3.386 GB, free: 63.97 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008841/10.64, allocations: 208 kB / 3.386 GB, free: 63.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05509/10.7, allocations: 3.325 MB / 3.389 GB, free: 60.44 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005604/10.71, allocations: 0.8616 MB / 3.39 GB, free: 59.58 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003921/10.71, allocations: 0.6315 MB / 3.391 GB, free: 58.95 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02285/10.73, allocations: 12.16 MB / 3.403 GB, free: 46.87 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.4e-07/10.73, allocations: 0 / 3.403 GB, free: 46.87 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.5387/11.27, allocations: 38.7 MB / 3.44 GB, free: 0.4931 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.008166/11.28, allocations: 1.947 MB / 3.442 GB, free: 0.493 GB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.1455/11.42, allocations: 74.01 MB / 3.515 GB, free: 491.5 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/11.42, allocations: 3.531 kB / 3.515 GB, free: 491.5 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.05552/11.48, allocations: 23.17 MB / 3.537 GB, free: 479.9 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06024/11.54, allocations: 7.988 MB / 3.545 GB, free: 474.2 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09456/11.64, allocations: 54.5 MB / 3.598 GB, free: 427.1 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01966/11.65, allocations: 10.45 MB / 3.609 GB, free: 419.2 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.03607/11.69, allocations: 7.986 MB / 3.616 GB, free: 411.7 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01577/11.71, allocations: 2.055 MB / 3.618 GB, free: 409.6 MB / 1.154 GB Notification: Performance of SimCode: time 1.623e-06/11.71, allocations: 0 / 3.618 GB, free: 409.6 MB / 1.154 GB Notification: Performance of Templates: time 1.282/12.99, allocations: 0.6449 GB / 4.263 GB, free: 298.2 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)