Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007811/0.007811, allocations: 103.2 kB / 15.73 MB, free: 6.055 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.00182/0.00182, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.8349, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3536/1.188, allocations: 355.6 MB / 1.435 GB, free: 9.594 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.122/1.31, allocations: 72.94 MB / 1.507 GB, free: 476 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02175/1.332, allocations: 429.5 kB / 1.507 GB, free: 44 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01947/1.352, allocations: 5.44 MB / 1.512 GB, free: 10.57 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0538/1.406, allocations: 14.17 MB / 1.526 GB, free: 12.36 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02892/1.435, allocations: 9.781 MB / 1.536 GB, free: 2.645 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.05383/1.488, allocations: 37.62 MB / 1.572 GB, free: 12.93 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 1.577/3.065, allocations: 19.77 MB / 1.592 GB, free: 77.23 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04022/3.106, allocations: 17.12 MB / 1.608 GB, free: 77.23 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03461/3.14, allocations: 15.83 MB / 1.624 GB, free: 75.32 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.01042/3.151, allocations: 1.859 MB / 1.626 GB, free: 75.32 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/3.173, allocations: 5.701 MB / 1.631 GB, free: 75.32 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01128/3.185, allocations: 5.782 MB / 1.637 GB, free: 74.65 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02584/3.21, allocations: 10.31 MB / 1.647 GB, free: 71.99 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05308/3.264, allocations: 28.78 MB / 1.675 GB, free: 68.49 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/3.264, allocations: 4 kB / 1.675 GB, free: 68.49 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.693e-06/3.264, allocations: 0 / 1.675 GB, free: 68.49 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.001095/3.265, allocations: 0 / 1.675 GB, free: 68.49 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06955/3.334, allocations: 22.09 MB / 1.697 GB, free: 60.52 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/3.334, allocations: 11.12 kB / 1.697 GB, free: 60.52 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/3.351, allocations: 2.568 MB / 1.699 GB, free: 59.52 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03875/3.389, allocations: 15.97 MB / 1.715 GB, free: 55.99 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008578/3.39, allocations: 0.6627 MB / 1.715 GB, free: 55.98 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005919/3.396, allocations: 0.9215 MB / 1.716 GB, free: 55.96 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04649/3.443, allocations: 16.52 MB / 1.732 GB, free: 51 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004007/3.443, allocations: 14.19 kB / 1.732 GB, free: 51 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004561/3.448, allocations: 326.9 kB / 1.733 GB, free: 51 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/3.448, allocations: 365.6 kB / 1.733 GB, free: 50.96 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0397/3.488, allocations: 21.05 MB / 1.754 GB, free: 47.79 MB / 1.311 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.1425/3.63, allocations: 81.43 MB / 1.833 GB, free: 13.08 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/3.654, allocations: 12.54 MB / 1.845 GB, free: 0.7578 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01768/3.672, allocations: 9.866 MB / 1.855 GB, free: 6.879 MB / 1.358 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.07997/3.752, allocations: 34.28 MB / 1.889 GB, free: 4.309 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01912/3.771, allocations: 9.692 MB / 1.898 GB, free: 10.55 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02236/3.793, allocations: 5.744 MB / 1.904 GB, free: 4.961 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 2.793e-05/3.793, allocations: 0 / 1.904 GB, free: 4.961 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 1.011/4.804, allocations: 217.1 MB / 2.116 GB, free: 11.02 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1526/4.957, allocations: 55.95 MB / 2.17 GB, free: 2.039 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8141/5.771, allocations: 14.92 MB / 2.185 GB, free: 0.719 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.005592/5.777, allocations: 217.8 kB / 2.185 GB, free: 0.719 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01073/5.788, allocations: 7.149 MB / 2.192 GB, free: 0.7156 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.009782/5.797, allocations: 2.932 MB / 2.195 GB, free: 0.7152 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01668/5.814, allocations: 3.536 MB / 2.198 GB, free: 0.7144 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/5.814, allocations: 301.1 kB / 2.199 GB, free: 0.7142 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03819/5.852, allocations: 18.97 MB / 2.217 GB, free: 0.7087 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04086/5.893, allocations: 21.55 MB / 2.238 GB, free: 0.7005 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06651/5.96, allocations: 36.2 MB / 2.274 GB, free: 0.6874 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/5.96, allocations: 15.28 kB / 2.274 GB, free: 0.6874 GB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6416/6.602, allocations: 131.5 MB / 2.402 GB, free: 0.591 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.99e-05/6.602, allocations: 53.7 kB / 2.402 GB, free: 0.5909 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/6.602, allocations: 52 kB / 2.402 GB, free: 0.5909 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6141/7.216, allocations: 118 MB / 2.517 GB, free: 487.1 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01744/7.233, allocations: 3.304 MB / 2.52 GB, free: 483.8 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1443/7.378, allocations: 81.54 MB / 2.6 GB, free: 401.9 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0995/7.477, allocations: 6.35 MB / 2.606 GB, free: 395.6 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006725/7.484, allocations: 1.283 MB / 2.608 GB, free: 394.3 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03837/7.522, allocations: 21.99 MB / 2.629 GB, free: 372.3 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03369/7.556, allocations: 21.09 MB / 2.65 GB, free: 350.2 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05571/7.612, allocations: 35.31 MB / 2.684 GB, free: 314 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.784e-05/7.612, allocations: 16 kB / 2.684 GB, free: 314 MB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6354/8.247, allocations: 130.1 MB / 2.811 GB, free: 183.8 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/8.248, allocations: 53.7 kB / 2.811 GB, free: 183.7 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.991e-05/8.248, allocations: 52 kB / 2.811 GB, free: 183.7 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7119/8.96, allocations: 117.6 MB / 2.926 GB, free: 66.1 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01657/8.976, allocations: 3.282 MB / 2.929 GB, free: 62.81 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7914/9.768, allocations: 86.1 MB / 3.013 GB, free: 0.6761 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1007/9.868, allocations: 6.37 MB / 3.02 GB, free: 0.6759 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008278/9.877, allocations: 1.253 MB / 3.021 GB, free: 0.6759 GB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1027): * Single equations (assignments): 1011 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.01063/9.887, allocations: 0.731 MB / 3.022 GB, free: 0.6754 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01004/9.897, allocations: 1.464 MB / 3.023 GB, free: 0.6754 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2368/10.13, allocations: 60.22 MB / 3.082 GB, free: 0.6622 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.238/10.37, allocations: 66.74 MB / 3.147 GB, free: 0.6245 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002418/10.37, allocations: 28 kB / 3.147 GB, free: 0.6245 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2318/10.6, allocations: 66.05 MB / 3.211 GB, free: 0.5602 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3252/10.93, allocations: 128.8 MB / 3.337 GB, free: 445.1 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.994e-05/10.93, allocations: 11.88 kB / 3.337 GB, free: 445.1 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01146/10.94, allocations: 1.911 MB / 3.339 GB, free: 443.2 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3445/11.29, allocations: 81.37 MB / 3.419 GB, free: 362 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004479/11.29, allocations: 0.569 MB / 3.419 GB, free: 361.4 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.115/11.41, allocations: 58.29 MB / 3.476 GB, free: 303.1 MB / 1.67 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 2 : 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 + 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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.113/11.52, allocations: 54.02 MB / 3.529 GB, free: 248 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2687/11.79, allocations: 95.15 MB / 3.622 GB, free: 153.5 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01585/11.8, allocations: 5.659 MB / 3.627 GB, free: 147.8 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007858/11.81, allocations: 212 kB / 3.628 GB, free: 147.6 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05542/11.87, allocations: 3.249 MB / 3.631 GB, free: 144.4 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00559/11.87, allocations: 0.8537 MB / 3.632 GB, free: 143.5 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003882/11.88, allocations: 0.6315 MB / 3.632 GB, free: 142.9 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02121/11.9, allocations: 10.22 MB / 3.642 GB, free: 132.7 MB / 1.67 GB Notification: Performance of sort global known variables: time 6.91e-07/11.9, allocations: 0 / 3.642 GB, free: 132.7 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.0938/11.99, allocations: 38.1 MB / 3.679 GB, free: 94.73 MB / 1.67 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 (605): * Single equations (assignments): 584 * 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.006877/12, allocations: 1.788 MB / 3.681 GB, free: 93.16 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.1804/12.18, allocations: 74.37 MB / 3.754 GB, free: 18.75 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/12.18, allocations: 4.062 kB / 3.754 GB, free: 18.75 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.6691/12.85, allocations: 25.32 MB / 3.778 GB, free: 0.7085 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06085/12.91, allocations: 7.169 MB / 3.785 GB, free: 0.7078 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/13.02, allocations: 51.23 MB / 3.835 GB, free: 0.6898 GB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01964/13.04, allocations: 9.739 MB / 3.845 GB, free: 0.6878 GB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.03265/13.07, allocations: 7.434 MB / 3.852 GB, free: 0.6873 GB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01375/13.08, allocations: 1.924 MB / 3.854 GB, free: 0.6872 GB / 1.67 GB Notification: Performance of SimCode: time 8.92e-07/13.08, allocations: 0 / 3.854 GB, free: 0.6872 GB / 1.67 GB Notification: Performance of Templates: time 0.8511/13.94, allocations: 0.6095 GB / 4.464 GB, free: 108.1 MB / 1.67 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)