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.00123/0.00123, allocations: 112 kB / 16.41 MB, free: 6.484 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.001158/0.001158, allocations: 183 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 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.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 64.09 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8916, allocations: 140.4 MB / 1.089 GB, free: 5.797 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.3401/1.232, allocations: 355.6 MB / 1.436 GB, free: 9.742 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.1125/1.344, allocations: 72.94 MB / 1.507 GB, free: 0.6172 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02674/1.371, allocations: 429.5 kB / 1.508 GB, free: 200 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.02007/1.391, allocations: 5.441 MB / 1.513 GB, free: 10.72 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.04321/1.434, allocations: 14.17 MB / 1.527 GB, free: 12.5 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02542/1.46, allocations: 9.784 MB / 1.536 GB, free: 2.789 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.06081/1.521, allocations: 37.61 MB / 1.573 GB, free: 13.07 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9745/2.495, allocations: 19.78 MB / 1.592 GB, free: 77.21 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04469/2.54, allocations: 17.12 MB / 1.609 GB, free: 77.21 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03638/2.576, allocations: 15.83 MB / 1.625 GB, free: 75.32 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.01182/2.588, allocations: 1.866 MB / 1.626 GB, free: 75.32 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02573/2.614, allocations: 5.699 MB / 1.632 GB, free: 75.31 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01249/2.627, allocations: 5.783 MB / 1.638 GB, free: 74.64 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02947/2.656, allocations: 10.3 MB / 1.648 GB, free: 71.98 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04697/2.703, allocations: 28.78 MB / 1.676 GB, free: 68.49 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/2.703, allocations: 0 / 1.676 GB, free: 68.49 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.533e-06/2.703, allocations: 3.375 kB / 1.676 GB, free: 68.49 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.00108/2.704, allocations: 4 kB / 1.676 GB, free: 68.48 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.072/2.776, allocations: 22.09 MB / 1.697 GB, free: 60.52 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/2.776, allocations: 11.06 kB / 1.697 GB, free: 60.52 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/2.793, allocations: 2.571 MB / 1.7 GB, free: 59.52 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03974/2.832, allocations: 15.97 MB / 1.715 GB, free: 56.11 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007967/2.833, allocations: 0.6655 MB / 1.716 GB, free: 56.1 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006467/2.84, allocations: 0.9188 MB / 1.717 GB, free: 56.08 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04484/2.885, allocations: 16.52 MB / 1.733 GB, free: 51.12 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005401/2.885, allocations: 18.53 kB / 1.733 GB, free: 51.12 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005403/2.891, allocations: 323.6 kB / 1.733 GB, free: 51.12 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003699/2.891, allocations: 367.8 kB / 1.734 GB, free: 51.07 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0416/2.933, allocations: 21.04 MB / 1.754 GB, free: 47.91 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.1448/3.078, allocations: 81.43 MB / 1.834 GB, free: 13.32 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/3.1, allocations: 12.54 MB / 1.846 GB, free: 1.004 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01733/3.118, allocations: 9.86 MB / 1.856 GB, free: 7.125 MB / 1.357 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.08029/3.198, allocations: 34.28 MB / 1.889 GB, free: 4.555 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01977/3.218, allocations: 9.681 MB / 1.899 GB, free: 10.8 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02242/3.24, allocations: 5.746 MB / 1.904 GB, free: 5.211 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 4.025e-05/3.24, allocations: 7.844 kB / 1.904 GB, free: 5.207 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 0.9704/4.211, allocations: 217.1 MB / 2.116 GB, free: 11.26 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1458/4.357, allocations: 55.94 MB / 2.171 GB, free: 2.281 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7919/5.149, allocations: 14.92 MB / 2.186 GB, free: 0.7192 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004746/5.153, allocations: 217.1 kB / 2.186 GB, free: 0.7192 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01035/5.164, allocations: 7.152 MB / 2.193 GB, free: 0.7159 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.009563/5.173, allocations: 2.928 MB / 2.196 GB, free: 0.7155 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01889/5.192, allocations: 3.539 MB / 2.199 GB, free: 0.7148 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 5.534e-05/5.192, allocations: 301.1 kB / 2.199 GB, free: 0.7145 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03756/5.23, allocations: 18.96 MB / 2.218 GB, free: 0.709 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03898/5.269, allocations: 21.54 MB / 2.239 GB, free: 0.7008 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06507/5.334, allocations: 36.2 MB / 2.274 GB, free: 0.6877 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/5.334, allocations: 15.41 kB / 2.274 GB, free: 0.6877 GB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6197/5.954, allocations: 131.5 MB / 2.403 GB, free: 0.5914 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/5.954, allocations: 53.89 kB / 2.403 GB, free: 0.5913 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.42e-05/5.954, allocations: 56 kB / 2.403 GB, free: 0.5913 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5609/6.515, allocations: 118 MB / 2.518 GB, free: 487.6 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01773/6.533, allocations: 3.307 MB / 2.521 GB, free: 484.3 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1641/6.697, allocations: 81.55 MB / 2.601 GB, free: 402.3 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09087/6.788, allocations: 6.346 MB / 2.607 GB, free: 396 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008096/6.796, allocations: 1.279 MB / 2.608 GB, free: 394.7 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04181/6.838, allocations: 21.99 MB / 2.63 GB, free: 372.7 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03097/6.869, allocations: 21.09 MB / 2.65 GB, free: 350.6 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05613/6.925, allocations: 35.31 MB / 2.685 GB, free: 314.4 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7e-05/6.925, allocations: 16 kB / 2.685 GB, free: 314.4 MB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.607/7.532, allocations: 130.1 MB / 2.812 GB, free: 184.2 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/7.532, allocations: 53.7 kB / 2.812 GB, free: 184.2 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.774e-05/7.532, allocations: 52 kB / 2.812 GB, free: 184.1 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.564/8.096, allocations: 117.6 MB / 2.927 GB, free: 66.52 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01717/8.114, allocations: 3.284 MB / 2.93 GB, free: 63.23 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8769/8.99, allocations: 86.09 MB / 3.014 GB, free: 0.6764 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09437/9.085, allocations: 6.37 MB / 3.02 GB, free: 0.6762 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007811/9.093, allocations: 1.253 MB / 3.022 GB, free: 0.6761 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.00946/9.102, allocations: 0.7242 MB / 3.022 GB, free: 0.6757 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009015/9.111, allocations: 1.463 MB / 3.024 GB, free: 0.6757 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2211/9.332, allocations: 60.23 MB / 3.082 GB, free: 0.6624 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2068/9.539, allocations: 66.72 MB / 3.148 GB, free: 0.625 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002348/9.54, allocations: 35.88 kB / 3.148 GB, free: 0.625 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2028/9.742, allocations: 66.06 MB / 3.212 GB, free: 0.5607 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2873/10.03, allocations: 128.8 MB / 3.338 GB, free: 445.6 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.985e-05/10.03, allocations: 11.88 kB / 3.338 GB, free: 445.6 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01127/10.04, allocations: 1.911 MB / 3.34 GB, free: 443.7 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3134/10.35, allocations: 81.37 MB / 3.419 GB, free: 362.5 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004758/10.36, allocations: 0.569 MB / 3.42 GB, free: 361.9 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1046/10.46, allocations: 58.3 MB / 3.477 GB, free: 303.6 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.1085/10.57, allocations: 54.01 MB / 3.53 GB, free: 248.5 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2435/10.82, allocations: 95.15 MB / 3.622 GB, free: 154 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01802/10.83, allocations: 5.655 MB / 3.628 GB, free: 148.3 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009334/10.84, allocations: 204 kB / 3.628 GB, free: 148.1 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05225/10.9, allocations: 3.264 MB / 3.631 GB, free: 144.8 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006265/10.9, allocations: 0.8576 MB / 3.632 GB, free: 144 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003837/10.91, allocations: 0.6237 MB / 3.633 GB, free: 143.4 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02128/10.93, allocations: 10.22 MB / 3.643 GB, free: 133.2 MB / 1.67 GB Notification: Performance of sort global known variables: time 6.61e-07/10.93, allocations: 0 / 3.643 GB, free: 133.2 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.09117/11.02, allocations: 38.09 MB / 3.68 GB, free: 95.22 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.007126/11.03, allocations: 1.787 MB / 3.682 GB, free: 93.66 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.1339/11.16, allocations: 74.34 MB / 3.754 GB, free: 19.28 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/11.16, allocations: 7.938 kB / 3.754 GB, free: 19.27 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.7632/11.92, allocations: 25.31 MB / 3.779 GB, free: 0.7087 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06272/11.99, allocations: 7.164 MB / 3.786 GB, free: 0.708 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1155/12.1, allocations: 51.61 MB / 3.836 GB, free: 0.6901 GB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02417/12.13, allocations: 9.629 MB / 3.846 GB, free: 0.6882 GB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01344/12.14, allocations: 1.974 MB / 3.848 GB, free: 0.6881 GB / 1.67 GB Notification: Performance of SimCode: time 9.52e-07/12.14, allocations: 0 / 3.848 GB, free: 0.6881 GB / 1.67 GB Notification: Performance of Templates: time 3.026/15.16, allocations: 1.267 GB / 5.115 GB, free: 207.2 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)