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.001536/0.001536, allocations: 105.7 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.001996/0.001996, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, 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 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9103/0.9118, allocations: 140.4 MB / 1.089 GB, free: 5.547 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.3318/1.244, allocations: 355.6 MB / 1.436 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.1038/1.348, allocations: 72.95 MB / 1.507 GB, free: 464 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01593/1.363, allocations: 425.5 kB / 1.508 GB, free: 36 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01647/1.38, allocations: 5.307 MB / 1.513 GB, free: 10.7 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.04226/1.422, allocations: 13.54 MB / 1.526 GB, free: 13.11 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02523/1.448, allocations: 9.768 MB / 1.536 GB, free: 3.414 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.05034/1.498, allocations: 37.54 MB / 1.572 GB, free: 13.78 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 1.559/3.057, allocations: 19.78 MB / 1.592 GB, free: 77.25 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04612/3.103, allocations: 17.09 MB / 1.608 GB, free: 77.24 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03883/3.142, allocations: 15.83 MB / 1.624 GB, free: 75.34 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.0124/3.154, allocations: 1.858 MB / 1.625 GB, free: 75.34 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02728/3.182, allocations: 5.701 MB / 1.631 GB, free: 75.34 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01343/3.195, allocations: 5.781 MB / 1.637 GB, free: 74.67 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02674/3.222, allocations: 10.31 MB / 1.647 GB, free: 72 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05892/3.281, allocations: 28.78 MB / 1.675 GB, free: 68.58 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/3.281, allocations: 0 / 1.675 GB, free: 68.58 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.034e-06/3.281, allocations: 7.906 kB / 1.675 GB, free: 68.58 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.001229/3.282, allocations: 2.625 kB / 1.675 GB, free: 68.58 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.08559/3.368, allocations: 22.08 MB / 1.696 GB, free: 60.62 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/3.368, allocations: 8.156 kB / 1.696 GB, free: 60.62 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/3.388, allocations: 2.571 MB / 1.699 GB, free: 59.62 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04781/3.436, allocations: 15.97 MB / 1.715 GB, free: 56.57 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009007/3.437, allocations: 0.6577 MB / 1.715 GB, free: 56.56 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006684/3.443, allocations: 0.9262 MB / 1.716 GB, free: 56.54 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04859/3.492, allocations: 16.52 MB / 1.732 GB, free: 51.58 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006311/3.493, allocations: 13.62 kB / 1.732 GB, free: 51.58 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005751/3.498, allocations: 326 kB / 1.733 GB, free: 51.58 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004117/3.499, allocations: 359.2 kB / 1.733 GB, free: 51.54 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04363/3.542, allocations: 21.05 MB / 1.753 GB, free: 48.37 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.161/3.703, allocations: 81.43 MB / 1.833 GB, free: 13.64 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02322/3.727, allocations: 12.54 MB / 1.845 GB, free: 1.332 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01693/3.744, allocations: 9.864 MB / 1.855 GB, free: 7.449 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.08168/3.825, allocations: 34.29 MB / 1.888 GB, free: 4.91 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01975/3.845, allocations: 9.689 MB / 1.898 GB, free: 11.15 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02352/3.869, allocations: 5.748 MB / 1.903 GB, free: 5.559 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 4.211e-05/3.869, allocations: 3.375 kB / 1.903 GB, free: 5.559 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 1.005/4.874, allocations: 217.1 MB / 2.115 GB, free: 11.62 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1695/5.044, allocations: 55.94 MB / 2.17 GB, free: 2.648 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7656/5.809, allocations: 14.92 MB / 2.185 GB, free: 0.7192 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004977/5.814, allocations: 219.4 kB / 2.185 GB, free: 0.7192 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0116/5.826, allocations: 7.152 MB / 2.192 GB, free: 0.716 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.01045/5.836, allocations: 2.93 MB / 2.195 GB, free: 0.7156 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02238/5.859, allocations: 3.537 MB / 2.198 GB, free: 0.7148 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/5.859, allocations: 302.9 kB / 2.198 GB, free: 0.7146 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04296/5.902, allocations: 18.96 MB / 2.217 GB, free: 0.7091 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04348/5.945, allocations: 21.54 MB / 2.238 GB, free: 0.7009 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07094/6.016, allocations: 36.2 MB / 2.273 GB, free: 0.6878 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001538/6.017, allocations: 15.16 kB / 2.273 GB, free: 0.6878 GB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6404/6.657, allocations: 131.5 MB / 2.402 GB, free: 0.5917 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/6.657, allocations: 57.7 kB / 2.402 GB, free: 0.5916 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/6.658, allocations: 52.88 kB / 2.402 GB, free: 0.5916 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6141/7.272, allocations: 118 MB / 2.517 GB, free: 487.9 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/7.29, allocations: 3.307 MB / 2.52 GB, free: 484.5 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1632/7.453, allocations: 81.55 MB / 2.6 GB, free: 402.6 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09589/7.549, allocations: 6.342 MB / 2.606 GB, free: 396.3 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008089/7.557, allocations: 1.29 MB / 2.607 GB, free: 395 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04362/7.601, allocations: 21.99 MB / 2.629 GB, free: 373 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03286/7.634, allocations: 21.09 MB / 2.649 GB, free: 350.9 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06051/7.694, allocations: 35.31 MB / 2.684 GB, free: 314.7 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.843e-05/7.695, allocations: 12 kB / 2.684 GB, free: 314.7 MB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6599/8.354, allocations: 130.1 MB / 2.811 GB, free: 184.5 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/8.355, allocations: 53.7 kB / 2.811 GB, free: 184.5 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.136e-05/8.355, allocations: 52 kB / 2.811 GB, free: 184.4 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5991/8.954, allocations: 117.6 MB / 2.926 GB, free: 66.82 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01747/8.971, allocations: 3.28 MB / 2.929 GB, free: 63.53 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9499/9.921, allocations: 86.1 MB / 3.013 GB, free: 0.6765 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09474/10.02, allocations: 6.369 MB / 3.019 GB, free: 0.6763 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008024/10.02, allocations: 1.253 MB / 3.021 GB, free: 0.6763 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.009404/10.03, allocations: 0.7294 MB / 3.021 GB, free: 0.6758 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008196/10.04, allocations: 1.462 MB / 3.023 GB, free: 0.6758 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2321/10.27, allocations: 60.22 MB / 3.082 GB, free: 0.6625 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2382/10.51, allocations: 66.72 MB / 3.147 GB, free: 0.6254 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002329/10.51, allocations: 35.94 kB / 3.147 GB, free: 0.6253 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2223/10.73, allocations: 66.06 MB / 3.211 GB, free: 0.561 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3133/11.05, allocations: 128.8 MB / 3.337 GB, free: 445.9 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001054/11.05, allocations: 7.875 kB / 3.337 GB, free: 445.9 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01135/11.06, allocations: 1.911 MB / 3.339 GB, free: 444 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3322/11.39, allocations: 81.37 MB / 3.418 GB, free: 362.8 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004643/11.4, allocations: 0.5612 MB / 3.419 GB, free: 362.3 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1136/11.51, allocations: 58.3 MB / 3.476 GB, free: 303.9 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.1248/11.63, allocations: 54.02 MB / 3.529 GB, free: 248.8 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2598/11.89, allocations: 95.15 MB / 3.622 GB, free: 154.3 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02226/11.92, allocations: 5.655 MB / 3.627 GB, free: 148.6 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00945/11.93, allocations: 208 kB / 3.627 GB, free: 148.4 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0535/11.98, allocations: 3.261 MB / 3.631 GB, free: 145.2 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005993/11.99, allocations: 0.8537 MB / 3.631 GB, free: 144.3 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004334/11.99, allocations: 0.6198 MB / 3.632 GB, free: 143.7 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02169/12.01, allocations: 10.22 MB / 3.642 GB, free: 133.5 MB / 1.67 GB Notification: Performance of sort global known variables: time 4.3e-07/12.01, allocations: 0 / 3.642 GB, free: 133.5 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.0971/12.11, allocations: 38.11 MB / 3.679 GB, free: 95.54 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.008033/12.12, allocations: 1.779 MB / 3.681 GB, free: 93.87 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.1407/12.26, allocations: 74.35 MB / 3.754 GB, free: 19.48 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/12.26, allocations: 4 kB / 3.754 GB, free: 19.48 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.8325/13.09, allocations: 25.3 MB / 3.778 GB, free: 0.7089 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07001/13.16, allocations: 7.165 MB / 3.785 GB, free: 0.7083 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1328/13.29, allocations: 51.62 MB / 3.836 GB, free: 0.6904 GB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02501/13.32, allocations: 9.624 MB / 3.845 GB, free: 0.6884 GB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01567/13.33, allocations: 1.977 MB / 3.847 GB, free: 0.6883 GB / 1.67 GB Notification: Performance of SimCode: time 1.022e-06/13.33, allocations: 0 / 3.847 GB, free: 0.6883 GB / 1.67 GB Notification: Performance of Templates: time 2.195/15.53, allocations: 1.269 GB / 5.116 GB, free: 205.4 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)