Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_Buildings.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.001354/0.001354, allocations: 111.8 kB / 16.41 MB, free: 6.492 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.001331/0.001331, allocations: 189.2 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.96/2.96, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 63.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9585, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.4653/1.424, allocations: 357.8 MB / 1.517 GB, free: 12.91 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.004/2.428, allocations: 75.85 MB / 1.591 GB, free: 61.85 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/2.444, allocations: 434.3 kB / 1.591 GB, free: 61.85 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01963/2.464, allocations: 6.615 MB / 1.598 GB, free: 61.83 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04359/2.508, allocations: 14.76 MB / 1.612 GB, free: 61.3 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02625/2.534, allocations: 10.21 MB / 1.622 GB, free: 60.95 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1153/2.649, allocations: 74.49 MB / 1.695 GB, free: 52.43 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0456/2.695, allocations: 20.05 MB / 1.714 GB, free: 36.77 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03956/2.734, allocations: 17.44 MB / 1.731 GB, free: 20.77 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02796/2.762, allocations: 16.37 MB / 1.747 GB, free: 5.559 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.009265/2.772, allocations: 1.957 MB / 1.749 GB, free: 3.602 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02386/2.796, allocations: 6.044 MB / 1.755 GB, free: 13.83 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0139/2.81, allocations: 6.495 MB / 1.762 GB, free: 7.566 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02668/2.836, allocations: 11.19 MB / 1.773 GB, free: 12.55 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0581/2.894, allocations: 31.18 MB / 1.803 GB, free: 14.45 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/2.894, allocations: 0 / 1.803 GB, free: 14.45 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.904e-06/2.894, allocations: 3.938 kB / 1.803 GB, free: 14.45 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001186/2.896, allocations: 0 / 1.803 GB, free: 14.45 MB / 1.342 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.07685/2.973, allocations: 24.54 MB / 1.827 GB, free: 6.051 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.973, allocations: 8.625 kB / 1.827 GB, free: 6.043 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/2.991, allocations: 3.294 MB / 1.83 GB, free: 2.734 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05026/3.041, allocations: 21.01 MB / 1.851 GB, free: 14.05 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008179/3.042, allocations: 0.6702 MB / 1.851 GB, free: 13.38 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004601/3.047, allocations: 0.9415 MB / 1.852 GB, free: 12.45 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0444/3.091, allocations: 17.06 MB / 1.869 GB, free: 11.19 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003177/3.092, allocations: 11.89 kB / 1.869 GB, free: 11.18 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003266/3.095, allocations: 333.9 kB / 1.869 GB, free: 10.86 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/3.095, allocations: 371.3 kB / 1.87 GB, free: 10.49 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04412/3.14, allocations: 21.49 MB / 1.891 GB, free: 4.984 MB / 1.42 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.1573/3.297, allocations: 83.39 MB / 1.972 GB, free: 15.04 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02697/3.324, allocations: 13.02 MB / 1.985 GB, free: 2.254 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02013/3.344, allocations: 10.08 MB / 1.995 GB, free: 8.164 MB / 1.529 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.08356/3.428, allocations: 35.33 MB / 2.029 GB, free: 4.473 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02146/3.449, allocations: 10.15 MB / 2.039 GB, free: 10.25 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02275/3.472, allocations: 5.828 MB / 2.045 GB, free: 4.586 MB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 2.993e-05/3.472, allocations: 0 / 2.045 GB, free: 4.586 MB / 1.576 GB Notification: Performance of matching and sorting (n=838): time 1.601/5.073, allocations: 218.1 MB / 2.258 GB, free: 0.6958 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1444/5.217, allocations: 55.98 MB / 2.312 GB, free: 0.6408 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04085/5.258, allocations: 17.8 MB / 2.33 GB, free: 0.6237 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.005006/5.263, allocations: 225.4 kB / 2.33 GB, free: 0.6235 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.01142/5.275, allocations: 7.836 MB / 2.338 GB, free: 0.6173 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.009399/5.284, allocations: 3.152 MB / 2.341 GB, free: 0.6158 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01803/5.302, allocations: 4.004 MB / 2.345 GB, free: 0.6119 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 5.14e-05/5.302, allocations: 301.1 kB / 2.345 GB, free: 0.6116 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03122/5.334, allocations: 20.27 MB / 2.365 GB, free: 0.5918 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03457/5.368, allocations: 23.1 MB / 2.387 GB, free: 0.5682 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0629/5.431, allocations: 38.61 MB / 2.425 GB, free: 0.5297 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/5.431, allocations: 16 kB / 2.425 GB, free: 0.5297 GB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5939/6.025, allocations: 134.6 MB / 2.556 GB, free: 407.7 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/6.026, allocations: 62.69 kB / 2.557 GB, free: 407.6 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/6.026, allocations: 52 kB / 2.557 GB, free: 407.5 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5747/6.6, allocations: 118 MB / 2.672 GB, free: 289.6 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/6.619, allocations: 3.554 MB / 2.675 GB, free: 286.1 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.149/6.768, allocations: 81.91 MB / 2.755 GB, free: 203.8 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09049/6.859, allocations: 6.446 MB / 2.761 GB, free: 197.4 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006307/6.865, allocations: 1.314 MB / 2.763 GB, free: 196 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03942/6.905, allocations: 23.67 MB / 2.786 GB, free: 172.3 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0322/6.937, allocations: 22.59 MB / 2.808 GB, free: 148.7 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05986/6.997, allocations: 37.58 MB / 2.845 GB, free: 110.3 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.714e-05/6.997, allocations: 16 kB / 2.845 GB, free: 110.3 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.458/8.455, allocations: 133 MB / 2.975 GB, free: 0.6905 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/8.455, allocations: 57.27 kB / 2.975 GB, free: 0.6905 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.117e-05/8.455, allocations: 52.22 kB / 2.975 GB, free: 0.6905 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6005/9.056, allocations: 117.6 MB / 3.09 GB, free: 0.6143 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01809/9.074, allocations: 3.531 MB / 3.093 GB, free: 0.611 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1725/9.246, allocations: 86.16 MB / 3.177 GB, free: 0.5268 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0951/9.341, allocations: 6.491 MB / 3.184 GB, free: 0.5205 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009407/9.351, allocations: 1.282 MB / 3.185 GB, free: 0.5192 GB / 1.701 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.01125/9.362, allocations: 0.7725 MB / 3.186 GB, free: 0.5185 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01088/9.373, allocations: 1.698 MB / 3.187 GB, free: 0.5178 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2197/9.593, allocations: 60.76 MB / 3.247 GB, free: 469.7 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2177/9.811, allocations: 67.04 MB / 3.312 GB, free: 402.9 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002115/9.811, allocations: 28 kB / 3.312 GB, free: 402.9 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2124/10.02, allocations: 66.36 MB / 3.377 GB, free: 336.7 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3121/10.34, allocations: 130.4 MB / 3.504 GB, free: 206.4 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001049/10.34, allocations: 4 kB / 3.504 GB, free: 206.4 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01193/10.35, allocations: 1.973 MB / 3.506 GB, free: 204.4 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3276/10.68, allocations: 81.4 MB / 3.586 GB, free: 123.1 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004706/10.68, allocations: 0.569 MB / 3.586 GB, free: 122.5 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1126/10.79, allocations: 58.57 MB / 3.643 GB, free: 63.93 MB / 1.701 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.1361/10.93, allocations: 54.13 MB / 3.696 GB, free: 8.652 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.023/11.95, allocations: 96.26 MB / 3.79 GB, free: 0.668 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01936/11.97, allocations: 6.039 MB / 3.796 GB, free: 0.6638 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009275/11.98, allocations: 210 kB / 3.796 GB, free: 0.6636 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05268/12.03, allocations: 3.317 MB / 3.8 GB, free: 0.6621 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005849/12.04, allocations: 0.8678 MB / 3.8 GB, free: 0.6618 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004022/12.04, allocations: 0.6273 MB / 3.801 GB, free: 0.6615 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.02589/12.07, allocations: 12.17 MB / 3.813 GB, free: 0.6512 GB / 1.701 GB Notification: Performance of sort global known variables: time 7.52e-07/12.07, allocations: 0 / 3.813 GB, free: 0.6512 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.08782/12.16, allocations: 38.71 MB / 3.851 GB, free: 0.6136 GB / 1.701 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.009315/12.17, allocations: 1.932 MB / 3.853 GB, free: 0.6122 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.134/12.3, allocations: 77.47 MB / 3.928 GB, free: 0.5369 GB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/12.3, allocations: 0 / 3.928 GB, free: 0.5369 GB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.05489/12.36, allocations: 25.5 MB / 3.953 GB, free: 0.5125 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0799/12.44, allocations: 7.993 MB / 3.961 GB, free: 0.5052 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09282/12.53, allocations: 54.48 MB / 4.014 GB, free: 462.9 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0158/12.54, allocations: 10.46 MB / 4.024 GB, free: 452.4 MB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.02966/12.57, allocations: 7.975 MB / 4.032 GB, free: 444.4 MB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0127/12.59, allocations: 2.062 MB / 4.034 GB, free: 442.3 MB / 1.701 GB Notification: Performance of SimCode: time 1.032e-06/12.59, allocations: 0 / 4.034 GB, free: 442.3 MB / 1.701 GB Notification: Performance of Templates: time 1.589/14.18, allocations: 0.6427 GB / 4.677 GB, free: 0.5116 GB / 1.701 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)