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.001198/0.001198, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.001118/0.001118, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.233/2.233, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 67.05 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3032, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9897/1.293, allocations: 355.6 MB / 1.298 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1262/1.419, allocations: 72.93 MB / 1.369 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01993/1.439, allocations: 425.5 kB / 1.369 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/1.458, allocations: 5.321 MB / 1.374 GB, free: 5.281 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.04524/1.503, allocations: 13.52 MB / 1.388 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.02637/1.529, allocations: 9.676 MB / 1.397 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.05108/1.58, allocations: 37.39 MB / 1.434 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03373/1.614, allocations: 19.79 MB / 1.453 GB, free: 4.668 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03861/1.653, allocations: 16.62 MB / 1.469 GB, free: 4.027 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03/1.683, allocations: 15.84 MB / 1.485 GB, free: 4.133 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.01003/1.693, allocations: 1.859 MB / 1.486 GB, free: 2.273 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/1.716, allocations: 5.684 MB / 1.492 GB, free: 12.58 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.01175/1.728, allocations: 5.791 MB / 1.498 GB, free: 6.773 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.02624/1.754, allocations: 10.31 MB / 1.508 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 1.352/3.106, allocations: 28.45 MB / 1.535 GB, free: 109 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/3.106, allocations: 0 / 1.535 GB, free: 109 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.076e-06/3.106, allocations: 1.281 kB / 1.535 GB, free: 109 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.001217/3.107, allocations: 0 / 1.535 GB, free: 109 MB / 1.186 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.08308/3.19, allocations: 22.09 MB / 1.557 GB, free: 102.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/3.19, allocations: 9.656 kB / 1.557 GB, free: 102.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/3.208, allocations: 2.574 MB / 1.56 GB, free: 101.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04787/3.256, allocations: 15.42 MB / 1.575 GB, free: 98.48 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/3.258, allocations: 0.6766 MB / 1.575 GB, free: 98.46 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006345/3.264, allocations: 0.9309 MB / 1.576 GB, free: 98.45 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04825/3.312, allocations: 16.52 MB / 1.592 GB, free: 97.64 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008133/3.313, allocations: 12.75 kB / 1.592 GB, free: 97.64 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005418/3.319, allocations: 335.8 kB / 1.593 GB, free: 97.63 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005715/3.319, allocations: 367.8 kB / 1.593 GB, free: 97.62 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0431/3.362, allocations: 21.03 MB / 1.614 GB, free: 97.54 MB / 1.186 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.1516/3.514, allocations: 81.76 MB / 1.693 GB, free: 62 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/3.538, allocations: 12.54 MB / 1.706 GB, free: 58.67 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01524/3.553, allocations: 9.825 MB / 1.715 GB, free: 52.86 MB / 1.186 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.07263/3.626, allocations: 34.26 MB / 1.749 GB, free: 18.65 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01723/3.643, allocations: 9.689 MB / 1.758 GB, free: 8.887 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02384/3.667, allocations: 5.767 MB / 1.764 GB, free: 3.277 MB / 1.186 GB Notification: Performance of pre-optimization done (n=551): time 6.799e-05/3.667, allocations: 0 / 1.764 GB, free: 3.277 MB / 1.186 GB Notification: Performance of matching and sorting (n=822): time 0.9877/4.655, allocations: 217.1 MB / 1.976 GB, free: 9.582 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.161/4.816, allocations: 56.01 MB / 2.03 GB, free: 0.5781 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03265/4.849, allocations: 14.93 MB / 2.045 GB, free: 1.738 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.004208/4.853, allocations: 217.7 kB / 2.045 GB, free: 1.52 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.5798/5.433, allocations: 7.183 MB / 2.052 GB, free: 0.6633 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.009404/5.442, allocations: 2.93 MB / 2.055 GB, free: 0.6629 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0193/5.461, allocations: 3.537 MB / 2.059 GB, free: 0.6622 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/5.461, allocations: 310.4 kB / 2.059 GB, free: 0.6619 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03609/5.498, allocations: 18.96 MB / 2.077 GB, free: 0.6564 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03603/5.534, allocations: 21.55 MB / 2.098 GB, free: 0.6482 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06254/5.596, allocations: 36.2 MB / 2.134 GB, free: 0.6351 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.574e-05/5.596, allocations: 14.72 kB / 2.134 GB, free: 0.6351 GB / 1.467 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6197/6.216, allocations: 131.5 MB / 2.262 GB, free: 0.521 GB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/6.216, allocations: 57.69 kB / 2.262 GB, free: 0.5209 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-05/6.216, allocations: 55.66 kB / 2.262 GB, free: 0.5208 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5855/6.802, allocations: 118 MB / 2.378 GB, free: 415.4 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01764/6.819, allocations: 3.299 MB / 2.381 GB, free: 412.1 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1641/6.984, allocations: 81.58 MB / 2.461 GB, free: 330.1 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0942/7.078, allocations: 6.342 MB / 2.467 GB, free: 323.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007363/7.085, allocations: 1.286 MB / 2.468 GB, free: 322.5 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03888/7.124, allocations: 21.98 MB / 2.489 GB, free: 300.5 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02974/7.154, allocations: 21.1 MB / 2.51 GB, free: 278.4 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0539/7.208, allocations: 35.31 MB / 2.545 GB, free: 242.2 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.052e-05/7.208, allocations: 12 kB / 2.545 GB, free: 242.2 MB / 1.467 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6015/7.809, allocations: 130.1 MB / 2.672 GB, free: 112 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/7.81, allocations: 58.94 kB / 2.672 GB, free: 111.9 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-05/7.81, allocations: 52 kB / 2.672 GB, free: 111.9 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197/9.007, allocations: 117.7 MB / 2.787 GB, free: 0.6313 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01643/9.023, allocations: 3.283 MB / 2.79 GB, free: 0.6313 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1851/9.209, allocations: 86.15 MB / 2.874 GB, free: 0.5988 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1123/9.321, allocations: 6.374 MB / 2.88 GB, free: 0.5941 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006965/9.328, allocations: 1.26 MB / 2.881 GB, free: 0.5928 GB / 1.467 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.009223/9.337, allocations: 0.7184 MB / 2.882 GB, free: 0.5922 GB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009008/9.346, allocations: 1.46 MB / 2.883 GB, free: 0.5915 GB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2187/9.565, allocations: 60.24 MB / 2.942 GB, free: 0.533 GB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2192/9.784, allocations: 66.73 MB / 3.007 GB, free: 479.2 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001758/9.784, allocations: 28 kB / 3.008 GB, free: 479.2 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2102/9.995, allocations: 66.06 MB / 3.072 GB, free: 413.3 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.289/10.28, allocations: 128.8 MB / 3.198 GB, free: 284.8 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-05/10.28, allocations: 0 / 3.198 GB, free: 284.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01077/10.29, allocations: 1.91 MB / 3.2 GB, free: 282.9 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3264/10.62, allocations: 81.53 MB / 3.279 GB, free: 201.5 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004048/10.63, allocations: 0.569 MB / 3.28 GB, free: 201 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1093/10.73, allocations: 58.3 MB / 3.337 GB, free: 142.6 MB / 1.467 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.1104/10.84, allocations: 54.09 MB / 3.39 GB, free: 87.43 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8842/11.73, allocations: 95.12 MB / 3.483 GB, free: 0.6137 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01925/11.75, allocations: 5.663 MB / 3.488 GB, free: 0.6128 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009423/11.76, allocations: 213.4 kB / 3.488 GB, free: 0.6127 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05533/11.81, allocations: 3.255 MB / 3.491 GB, free: 0.6125 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005873/11.82, allocations: 0.8531 MB / 3.492 GB, free: 0.6125 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00401/11.82, allocations: 0.6244 MB / 3.493 GB, free: 0.6124 GB / 1.467 GB Notification: Performance of sorting global known variables: time 0.02551/11.85, allocations: 10.22 MB / 3.503 GB, free: 0.6092 GB / 1.467 GB Notification: Performance of sort global known variables: time 1.182e-06/11.85, allocations: 0 / 3.503 GB, free: 0.6092 GB / 1.467 GB Notification: Performance of remove unused functions: time 0.09496/11.94, allocations: 38.1 MB / 3.54 GB, free: 0.6086 GB / 1.467 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.007263/11.95, allocations: 1.776 MB / 3.542 GB, free: 0.6083 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.1951/12.15, allocations: 97.92 MB / 3.637 GB, free: 0.5336 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/12.15, allocations: 4 kB / 3.637 GB, free: 0.5336 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.05773/12.2, allocations: 25.33 MB / 3.662 GB, free: 0.5136 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05953/12.26, allocations: 7.191 MB / 3.669 GB, free: 0.5086 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09061/12.35, allocations: 52.01 MB / 3.72 GB, free: 473.6 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01646/12.37, allocations: 9.633 MB / 3.729 GB, free: 464 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01416/12.38, allocations: 1.984 MB / 3.731 GB, free: 462 MB / 1.467 GB Notification: Performance of SimCode: time 9.32e-07/12.38, allocations: 0 / 3.731 GB, free: 462 MB / 1.467 GB Notification: Performance of Templates: time 2.627/15.01, allocations: 1.265 GB / 4.997 GB, free: 0.5093 GB / 1.467 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)