Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007706/0.007706, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.001884/0.001884, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.09 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3812, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.16/1.541, allocations: 358.4 MB / 1.571 GB, free: 14.47 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1216/1.662, allocations: 75.94 MB / 1.645 GB, free: 2.359 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02049/1.683, allocations: 433.5 kB / 1.645 GB, free: 1.934 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.02129/1.704, allocations: 6.611 MB / 1.652 GB, free: 11.29 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.04943/1.754, allocations: 14.77 MB / 1.666 GB, free: 12.47 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02885/1.782, allocations: 10.2 MB / 1.676 GB, free: 2.348 MB / 1.357 GB Notification: Performance of NFFlatten.flatten: time 0.1123/1.895, allocations: 74.43 MB / 1.749 GB, free: 7.77 MB / 1.436 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0287/1.923, allocations: 17.31 MB / 1.766 GB, free: 6.301 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03927/1.963, allocations: 17.44 MB / 1.783 GB, free: 4.836 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03147/1.994, allocations: 16.38 MB / 1.799 GB, free: 4.398 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.009647/2.004, allocations: 1.957 MB / 1.801 GB, free: 2.441 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/2.027, allocations: 6.043 MB / 1.807 GB, free: 12.39 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.01211/2.039, allocations: 6.631 MB / 1.813 GB, free: 5.738 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 1.482/3.521, allocations: 11.19 MB / 1.824 GB, free: 142 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.07153/3.592, allocations: 31.18 MB / 1.854 GB, free: 140.3 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/3.592, allocations: 1.188 kB / 1.854 GB, free: 140.3 MB / 1.498 GB Notification: Performance of FrontEnd: time 2.255e-06/3.592, allocations: 1.25 kB / 1.854 GB, free: 140.3 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.00141/3.594, allocations: 3.188 kB / 1.854 GB, free: 140.3 MB / 1.498 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.1008/3.694, allocations: 24.54 MB / 1.878 GB, free: 131.3 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/3.694, allocations: 10.31 kB / 1.878 GB, free: 131.3 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/3.717, allocations: 3.289 MB / 1.882 GB, free: 130.1 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05655/3.774, allocations: 21 MB / 1.902 GB, free: 127 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009351/3.775, allocations: 0.6677 MB / 1.903 GB, free: 127 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007578/3.783, allocations: 0.9382 MB / 1.904 GB, free: 127 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05072/3.833, allocations: 17.06 MB / 1.92 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005633/3.834, allocations: 16.83 kB / 1.92 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006287/3.84, allocations: 329.2 kB / 1.921 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003936/3.84, allocations: 375.3 kB / 1.921 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.053/3.893, allocations: 21.5 MB / 1.942 GB, free: 126.1 MB / 1.498 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.1747/4.068, allocations: 83.38 MB / 2.023 GB, free: 83.11 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/4.093, allocations: 11.73 MB / 2.035 GB, free: 80.86 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0178/4.111, allocations: 8.85 MB / 2.044 GB, free: 78.43 MB / 1.498 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.08919/4.2, allocations: 35.33 MB / 2.078 GB, free: 45.04 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02058/4.221, allocations: 10.14 MB / 2.088 GB, free: 34.82 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02729/4.248, allocations: 5.827 MB / 2.094 GB, free: 29.15 MB / 1.498 GB Notification: Performance of pre-optimization done (n=567): time 6.809e-05/4.248, allocations: 4 kB / 2.094 GB, free: 29.15 MB / 1.498 GB Notification: Performance of matching and sorting (n=838): time 0.9688/5.217, allocations: 217.6 MB / 2.306 GB, free: 2.996 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1606/5.378, allocations: 55.87 MB / 2.361 GB, free: 10.12 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05371/5.431, allocations: 17.8 MB / 2.378 GB, free: 8.422 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.005211/5.437, allocations: 221.7 kB / 2.378 GB, free: 8.199 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.0124/5.449, allocations: 7.849 MB / 2.386 GB, free: 392 kB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.009726/5.459, allocations: 3.144 MB / 2.389 GB, free: 13.28 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02003/5.479, allocations: 3.998 MB / 2.393 GB, free: 9.262 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/5.479, allocations: 301.8 kB / 2.393 GB, free: 8.965 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03753/5.516, allocations: 20.27 MB / 2.413 GB, free: 4.668 MB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03973/5.556, allocations: 23.1 MB / 2.436 GB, free: 12.57 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07537/5.631, allocations: 38.6 MB / 2.473 GB, free: 5.371 MB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.623e-05/5.632, allocations: 19.94 kB / 2.473 GB, free: 5.352 MB / 1.858 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 1.537/7.169, allocations: 134.2 MB / 2.604 GB, free: 500 MB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/7.169, allocations: 54.52 kB / 2.604 GB, free: 500 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/7.169, allocations: 54.34 kB / 2.604 GB, free: 500 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5439/7.713, allocations: 117.9 MB / 2.72 GB, free: 397.9 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01992/7.733, allocations: 3.549 MB / 2.723 GB, free: 394.6 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1742/7.907, allocations: 81.92 MB / 2.803 GB, free: 332.2 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08366/7.991, allocations: 6.454 MB / 2.809 GB, free: 325.8 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00775/7.999, allocations: 1.314 MB / 2.811 GB, free: 324.4 MB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04595/8.045, allocations: 23.66 MB / 2.834 GB, free: 300.8 MB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03558/8.08, allocations: 22.58 MB / 2.856 GB, free: 277.2 MB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06341/8.144, allocations: 37.58 MB / 2.893 GB, free: 239 MB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.647e-05/8.144, allocations: 20 kB / 2.893 GB, free: 239 MB / 1.858 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.58/8.724, allocations: 132.6 MB / 3.022 GB, free: 108 MB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/8.724, allocations: 57.7 kB / 3.022 GB, free: 107.9 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-05/8.724, allocations: 52 kB / 3.022 GB, free: 107.9 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339/10.06, allocations: 117.6 MB / 3.137 GB, free: 0.7866 GB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01976/10.08, allocations: 3.535 MB / 3.14 GB, free: 0.7866 GB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1717/10.25, allocations: 86.15 MB / 3.225 GB, free: 0.7718 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08448/10.34, allocations: 6.491 MB / 3.231 GB, free: 0.7716 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007465/10.35, allocations: 1.285 MB / 3.232 GB, free: 0.7715 GB / 1.873 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008922/10.35, allocations: 0.7679 MB / 3.233 GB, free: 0.7709 GB / 1.873 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009199/10.36, allocations: 1.696 MB / 3.235 GB, free: 0.7709 GB / 1.873 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2098/10.57, allocations: 60.25 MB / 3.293 GB, free: 0.7443 GB / 1.873 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.201/10.77, allocations: 66.09 MB / 3.358 GB, free: 0.68 GB / 1.873 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002151/10.78, allocations: 28 kB / 3.358 GB, free: 0.6799 GB / 1.873 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1985/10.97, allocations: 65.4 MB / 3.422 GB, free: 0.6162 GB / 1.873 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3217/11.3, allocations: 129.5 MB / 3.548 GB, free: 0.4901 GB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001459/11.3, allocations: 1.312 kB / 3.548 GB, free: 0.4901 GB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01306/11.31, allocations: 1.981 MB / 3.55 GB, free: 499.9 MB / 1.873 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3058/11.61, allocations: 81.4 MB / 3.63 GB, free: 418.9 MB / 1.873 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005629/11.62, allocations: 0.5729 MB / 3.63 GB, free: 418.3 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1084/11.73, allocations: 58.57 MB / 3.687 GB, free: 359.8 MB / 1.873 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1257/11.85, allocations: 54.07 MB / 3.74 GB, free: 304.6 MB / 1.873 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2563/12.11, allocations: 95.31 MB / 3.833 GB, free: 210.2 MB / 1.873 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02112/12.13, allocations: 6.029 MB / 3.839 GB, free: 204.2 MB / 1.873 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01296/12.14, allocations: 217.2 kB / 3.839 GB, free: 204 MB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05078/12.2, allocations: 3.319 MB / 3.843 GB, free: 200.6 MB / 1.873 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006427/12.2, allocations: 0.8694 MB / 3.844 GB, free: 199.8 MB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00695/12.21, allocations: 0.6276 MB / 3.844 GB, free: 199.1 MB / 1.873 GB Notification: Performance of sorting global known variables: time 0.04553/12.25, allocations: 12.17 MB / 3.856 GB, free: 187.1 MB / 1.873 GB Notification: Performance of sort global known variables: time 3.91e-07/12.25, allocations: 0 / 3.856 GB, free: 187.1 MB / 1.873 GB Notification: Performance of remove unused functions: time 0.1286/12.38, allocations: 38.7 MB / 3.894 GB, free: 148.4 MB / 1.873 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0117/12.39, allocations: 1.947 MB / 3.896 GB, free: 146.5 MB / 1.873 GB Notification: Performance of simCode: created initialization part: time 0.1428/12.54, allocations: 74.02 MB / 3.968 GB, free: 72.5 MB / 1.873 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/12.54, allocations: 4 kB / 3.968 GB, free: 72.5 MB / 1.873 GB Notification: Performance of simCode: created simulation system equations: time 0.05271/12.59, allocations: 23.17 MB / 3.991 GB, free: 49.31 MB / 1.873 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06306/12.65, allocations: 7.972 MB / 3.998 GB, free: 41.64 MB / 1.873 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9293/13.58, allocations: 54.49 MB / 4.052 GB, free: 0.7867 GB / 1.873 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0269/13.61, allocations: 10.46 MB / 4.062 GB, free: 0.7855 GB / 1.873 GB Notification: Performance of simCode: alias equations: time 0.0402/13.65, allocations: 7.976 MB / 4.07 GB, free: 0.7853 GB / 1.873 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01532/13.66, allocations: 2.062 MB / 4.072 GB, free: 0.7853 GB / 1.873 GB Notification: Performance of SimCode: time 1.423e-06/13.66, allocations: 0 / 4.072 GB, free: 0.7853 GB / 1.873 GB Notification: Performance of Templates: time 0.8585/14.52, allocations: 0.6448 GB / 4.716 GB, free: 207 MB / 1.873 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)