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.001489/0.001488, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001858/0.001857, allocations: 193.4 kB / 16.25 MB, free: 6.152 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.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.344/2.344, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6883, allocations: 140.4 MB / 0.9491 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9527/1.641, allocations: 352.3 MB / 1.293 GB, free: 59.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.08528/1.726, allocations: 72.44 MB / 1.364 GB, free: 56.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01854/1.745, allocations: 394 kB / 1.364 GB, free: 56.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01737/1.762, allocations: 4.63 MB / 1.369 GB, free: 55.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03971/1.802, allocations: 12.59 MB / 1.381 GB, free: 49.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02263/1.825, allocations: 9.009 MB / 1.39 GB, free: 43.83 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03939/1.864, allocations: 37.75 MB / 1.427 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02586/1.89, allocations: 19.75 MB / 1.446 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03495/1.925, allocations: 16.87 MB / 1.462 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02624/1.951, allocations: 16.27 MB / 1.478 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.007123/1.958, allocations: 1.859 MB / 1.48 GB, free: 9.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01964/1.978, allocations: 5.745 MB / 1.486 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01004/1.988, allocations: 5.809 MB / 1.491 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02161/2.01, allocations: 10.32 MB / 1.502 GB, free: 4.164 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04265/2.052, allocations: 28.55 MB / 1.529 GB, free: 8.684 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/2.052, allocations: 0 / 1.529 GB, free: 8.684 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/2.052, allocations: 4 kB / 1.529 GB, free: 8.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000803/2.053, allocations: 0 / 1.529 GB, free: 8.68 MB / 1.092 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.06306/2.116, allocations: 22.1 MB / 1.551 GB, free: 2.645 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/2.116, allocations: 8.031 kB / 1.551 GB, free: 2.637 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/2.13, allocations: 2.578 MB / 1.554 GB, free: 36 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0339/2.164, allocations: 15.69 MB / 1.569 GB, free: 0.625 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006618/2.165, allocations: 0.6739 MB / 1.569 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004257/2.169, allocations: 0.9288 MB / 1.57 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/2.206, allocations: 16.53 MB / 1.587 GB, free: 14.32 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/2.206, allocations: 7.938 kB / 1.587 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001633/2.207, allocations: 326.6 kB / 1.587 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003149/2.208, allocations: 367.2 kB / 1.587 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03779/2.246, allocations: 21.08 MB / 1.608 GB, free: 8.543 MB / 1.17 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.1374/2.383, allocations: 81.1 MB / 1.687 GB, free: 4.391 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/2.404, allocations: 12.6 MB / 1.699 GB, free: 8.023 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01546/2.419, allocations: 9.839 MB / 1.709 GB, free: 14.17 MB / 1.279 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 1.462/3.881, allocations: 34.26 MB / 1.742 GB, free: 272.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0192/3.9, allocations: 9.707 MB / 1.752 GB, free: 272.4 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0278/3.928, allocations: 7.516 MB / 1.759 GB, free: 272.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=555): time 5.777e-05/3.928, allocations: 0 / 1.759 GB, free: 272.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=826): time 0.866/4.794, allocations: 215 MB / 1.969 GB, free: 114.1 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1301/4.924, allocations: 56.01 MB / 2.024 GB, free: 57.25 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02268/4.947, allocations: 14.82 MB / 2.038 GB, free: 42.57 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.004329/4.951, allocations: 221.5 kB / 2.039 GB, free: 42.36 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.006829/4.958, allocations: 7.195 MB / 2.046 GB, free: 35.28 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00827/4.966, allocations: 2.937 MB / 2.048 GB, free: 32.36 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01305/4.98, allocations: 3.539 MB / 2.052 GB, free: 28.81 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.194e-05/4.98, allocations: 305.1 kB / 2.052 GB, free: 28.51 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02751/5.007, allocations: 18.98 MB / 2.071 GB, free: 9.516 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03305/5.04, allocations: 21.56 MB / 2.092 GB, free: 2.973 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0658/5.106, allocations: 36.23 MB / 2.127 GB, free: 14.13 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.83e-05/5.106, allocations: 16 kB / 2.127 GB, free: 14.11 MB / 1.342 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 1.61/6.716, allocations: 131.5 MB / 2.256 GB, free: 0.6059 GB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/6.716, allocations: 59.61 kB / 2.256 GB, free: 0.6058 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/6.716, allocations: 56.81 kB / 2.256 GB, free: 0.6058 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5685/7.285, allocations: 118 MB / 2.371 GB, free: 0.5518 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/7.302, allocations: 3.311 MB / 2.374 GB, free: 0.5486 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1433/7.445, allocations: 81.58 MB / 2.454 GB, free: 480.2 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08109/7.526, allocations: 6.756 MB / 2.46 GB, free: 473.5 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005881/7.532, allocations: 1.29 MB / 2.462 GB, free: 472.2 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03521/7.568, allocations: 22 MB / 2.483 GB, free: 450.2 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02827/7.596, allocations: 21.11 MB / 2.504 GB, free: 428.1 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05085/7.647, allocations: 35.34 MB / 2.538 GB, free: 392.1 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.208e-05/7.647, allocations: 12 kB / 2.538 GB, free: 392 MB / 1.436 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.5631/8.21, allocations: 130 MB / 2.665 GB, free: 262.7 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/8.21, allocations: 53.7 kB / 2.665 GB, free: 262.6 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-05/8.21, allocations: 52 kB / 2.665 GB, free: 262.6 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5779/8.788, allocations: 117.7 MB / 2.78 GB, free: 145 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01567/8.804, allocations: 3.291 MB / 2.784 GB, free: 141.7 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1454/8.949, allocations: 86.15 MB / 2.868 GB, free: 55.35 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07957/9.029, allocations: 6.778 MB / 2.874 GB, free: 48.59 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006051/9.035, allocations: 1.251 MB / 2.876 GB, free: 47.34 MB / 1.436 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 (1031): * Single equations (assignments): 1015 * 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.00753/9.042, allocations: 0.7227 MB / 2.876 GB, free: 46.61 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008428/9.051, allocations: 1.465 MB / 2.878 GB, free: 45.93 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7554/9.806, allocations: 60.29 MB / 2.937 GB, free: 0.6009 GB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2003/10.01, allocations: 66.66 MB / 3.002 GB, free: 0.5869 GB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001518/10.01, allocations: 30.78 kB / 3.002 GB, free: 0.5869 GB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.194/10.2, allocations: 65.99 MB / 3.066 GB, free: 0.5308 GB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2618/10.46, allocations: 128.9 MB / 3.192 GB, free: 414.8 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001021/10.46, allocations: 4 kB / 3.192 GB, free: 414.8 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01132/10.47, allocations: 1.921 MB / 3.194 GB, free: 412.9 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3042/10.78, allocations: 81.53 MB / 3.273 GB, free: 331.5 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004689/10.78, allocations: 0.5651 MB / 3.274 GB, free: 330.9 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1018/10.88, allocations: 58.23 MB / 3.331 GB, free: 272.6 MB / 1.436 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 + (-valHea.m_flow) - bou.ports[1].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 + (-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.11/11, allocations: 54.08 MB / 3.384 GB, free: 217.5 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2355/11.23, allocations: 95.24 MB / 3.477 GB, free: 123.1 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01538/11.25, allocations: 5.659 MB / 3.482 GB, free: 118.2 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007557/11.25, allocations: 211.9 kB / 3.482 GB, free: 118 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04914/11.3, allocations: 3.641 MB / 3.486 GB, free: 114.4 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007629/11.31, allocations: 0.8692 MB / 3.487 GB, free: 113.5 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003964/11.31, allocations: 0.6236 MB / 3.487 GB, free: 112.9 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.02076/11.34, allocations: 10.14 MB / 3.497 GB, free: 102.8 MB / 1.436 GB Notification: Performance of sort global known variables: time 5.51e-07/11.34, allocations: 4 kB / 3.497 GB, free: 102.8 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.1086/11.44, allocations: 38.47 MB / 3.535 GB, free: 64.43 MB / 1.436 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 (610): * Single equations (assignments): 589 * 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.00678/11.45, allocations: 1.698 MB / 3.537 GB, free: 62.95 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.7952/12.25, allocations: 98.19 MB / 3.632 GB, free: 0.6098 GB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/12.25, allocations: 3.906 kB / 3.632 GB, free: 0.6098 GB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.05252/12.3, allocations: 25.33 MB / 3.657 GB, free: 0.602 GB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0569/12.36, allocations: 7.199 MB / 3.664 GB, free: 0.6003 GB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0953/12.45, allocations: 57.36 MB / 3.72 GB, free: 0.5635 GB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01558/12.47, allocations: 9.736 MB / 3.73 GB, free: 0.5541 GB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.03266/12.5, allocations: 7.428 MB / 3.737 GB, free: 0.5472 GB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01235/12.51, allocations: 1.93 MB / 3.739 GB, free: 0.5453 GB / 1.436 GB Notification: Performance of SimCode: time 1.283e-06/12.51, allocations: 0 / 3.739 GB, free: 0.5453 GB / 1.436 GB Notification: Performance of Templates: time 1.354/13.87, allocations: 0.6081 GB / 4.347 GB, free: 0.5684 GB / 1.436 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)