Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008917/0.008917, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001538/0.001539, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.632/2.632, allocations: 472.6 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9691/0.9703, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.232/2.203, allocations: 357.8 MB / 1.575 GB, free: 61.64 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09722/2.3, allocations: 75.87 MB / 1.649 GB, free: 60.61 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/2.316, allocations: 434.7 kB / 1.65 GB, free: 60.61 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.019/2.335, allocations: 6.424 MB / 1.656 GB, free: 60.49 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04366/2.379, allocations: 14.1 MB / 1.67 GB, free: 59.91 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02611/2.405, allocations: 10.18 MB / 1.68 GB, free: 58.68 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08692/2.492, allocations: 74.19 MB / 1.752 GB, free: 12 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02936/2.521, allocations: 20.01 MB / 1.772 GB, free: 8.582 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04115/2.562, allocations: 17.02 MB / 1.788 GB, free: 8.512 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03179/2.594, allocations: 16.37 MB / 1.804 GB, free: 9.301 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.009923/2.604, allocations: 1.953 MB / 1.806 GB, free: 7.348 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02578/2.63, allocations: 6.043 MB / 1.812 GB, free: 1.574 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.0113/2.641, allocations: 6.496 MB / 1.818 GB, free: 11.31 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02541/2.667, allocations: 11.19 MB / 1.829 GB, free: 316 kB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05338/2.72, allocations: 31.19 MB / 1.86 GB, free: 2.199 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/2.72, allocations: 0 / 1.86 GB, free: 2.199 MB / 1.373 GB Notification: Performance of FrontEnd: time 4.078e-06/2.72, allocations: 0 / 1.86 GB, free: 2.199 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.001089/2.721, allocations: 7.938 kB / 1.86 GB, free: 2.191 MB / 1.373 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.06858/2.79, allocations: 24.55 MB / 1.884 GB, free: 9.77 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/2.79, allocations: 8.031 kB / 1.884 GB, free: 9.762 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/2.808, allocations: 3.286 MB / 1.887 GB, free: 6.461 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04548/2.853, allocations: 21 MB / 1.907 GB, free: 1.773 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007177/2.854, allocations: 0.666 MB / 1.908 GB, free: 1.113 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004412/2.858, allocations: 0.9496 MB / 1.909 GB, free: 176 kB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/2.897, allocations: 17.06 MB / 1.926 GB, free: 14.91 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/2.897, allocations: 19.8 kB / 1.926 GB, free: 14.89 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002794/2.9, allocations: 330.4 kB / 1.926 GB, free: 14.58 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003522/2.901, allocations: 371.4 kB / 1.926 GB, free: 14.21 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04146/2.942, allocations: 21.5 MB / 1.947 GB, free: 8.703 MB / 1.467 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.1509/3.093, allocations: 83.37 MB / 2.029 GB, free: 2.57 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02366/3.117, allocations: 13.04 MB / 2.041 GB, free: 5.77 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01628/3.133, allocations: 10.07 MB / 2.051 GB, free: 11.69 MB / 1.576 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.07717/3.21, allocations: 35.33 MB / 2.086 GB, free: 8.02 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02136/3.232, allocations: 10.15 MB / 2.096 GB, free: 13.8 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02212/3.254, allocations: 5.819 MB / 2.101 GB, free: 8.137 MB / 1.623 GB Notification: Performance of pre-optimization done (n=567): time 3.213e-05/3.254, allocations: 4 kB / 2.101 GB, free: 8.133 MB / 1.623 GB Notification: Performance of matching and sorting (n=838): time 1.659/4.913, allocations: 218.1 MB / 2.314 GB, free: 0.6423 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1266/5.039, allocations: 55.98 MB / 2.369 GB, free: 0.5868 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03339/5.073, allocations: 17.79 MB / 2.386 GB, free: 0.5696 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.004589/5.077, allocations: 221.7 kB / 2.387 GB, free: 0.5694 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.009492/5.087, allocations: 7.836 MB / 2.394 GB, free: 0.5622 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.008385/5.095, allocations: 3.157 MB / 2.397 GB, free: 0.5593 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01728/5.112, allocations: 3.996 MB / 2.401 GB, free: 0.5554 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/5.113, allocations: 301.1 kB / 2.402 GB, free: 0.5551 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03135/5.144, allocations: 20.28 MB / 2.421 GB, free: 0.5352 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03376/5.178, allocations: 23.1 MB / 2.444 GB, free: 0.5117 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05869/5.236, allocations: 38.61 MB / 2.482 GB, free: 484.5 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/5.237, allocations: 20 kB / 2.482 GB, free: 484.5 MB / 1.717 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.585/5.822, allocations: 134.6 MB / 2.613 GB, free: 349.8 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/5.822, allocations: 54.95 kB / 2.613 GB, free: 349.7 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.081e-05/5.822, allocations: 52 kB / 2.613 GB, free: 349.7 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5883/6.41, allocations: 117.9 MB / 2.728 GB, free: 231.8 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01824/6.428, allocations: 3.557 MB / 2.732 GB, free: 228.2 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1461/6.575, allocations: 81.92 MB / 2.812 GB, free: 145.9 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09313/6.668, allocations: 6.448 MB / 2.818 GB, free: 139.5 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006527/6.674, allocations: 1.314 MB / 2.819 GB, free: 138.1 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04061/6.715, allocations: 23.67 MB / 2.843 GB, free: 114.4 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03111/6.746, allocations: 22.59 MB / 2.865 GB, free: 90.82 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05879/6.805, allocations: 37.57 MB / 2.901 GB, free: 52.43 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.884e-05/6.805, allocations: 16 kB / 2.901 GB, free: 52.41 MB / 1.717 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.369/8.174, allocations: 133.1 MB / 3.031 GB, free: 0.6427 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/8.174, allocations: 56.12 kB / 3.031 GB, free: 0.6426 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.857e-05/8.174, allocations: 52.41 kB / 3.031 GB, free: 0.6426 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5693/8.743, allocations: 117.6 MB / 3.146 GB, free: 0.5303 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01747/8.761, allocations: 3.536 MB / 3.15 GB, free: 0.5268 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1515/8.912, allocations: 86.15 MB / 3.234 GB, free: 453.3 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09049/9.003, allocations: 6.493 MB / 3.24 GB, free: 446.8 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006378/9.009, allocations: 1.285 MB / 3.241 GB, free: 445.5 MB / 1.717 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.008212/9.018, allocations: 0.7664 MB / 3.242 GB, free: 444.8 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009007/9.027, allocations: 1.694 MB / 3.244 GB, free: 444 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2105/9.237, allocations: 60.76 MB / 3.303 GB, free: 383.6 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2117/9.449, allocations: 67.04 MB / 3.369 GB, free: 316.6 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001381/9.449, allocations: 28 kB / 3.369 GB, free: 316.6 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2016/9.651, allocations: 66.36 MB / 3.433 GB, free: 250.2 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2849/9.936, allocations: 130.4 MB / 3.561 GB, free: 119.9 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.125e-05/9.936, allocations: 4 kB / 3.561 GB, free: 119.9 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01154/9.947, allocations: 1.981 MB / 3.563 GB, free: 117.9 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3273/10.27, allocations: 81.39 MB / 3.642 GB, free: 36.61 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003736/10.28, allocations: 0.569 MB / 3.643 GB, free: 36.04 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7934/11.07, allocations: 58.58 MB / 3.7 GB, free: 0.6476 GB / 1.717 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.105/11.18, allocations: 54.11 MB / 3.753 GB, free: 0.6232 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2402/11.42, allocations: 96.27 MB / 3.847 GB, free: 0.545 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01579/11.43, allocations: 6.034 MB / 3.853 GB, free: 0.5391 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008013/11.44, allocations: 215.9 kB / 3.853 GB, free: 0.5389 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05598/11.5, allocations: 3.312 MB / 3.856 GB, free: 0.5361 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007335/11.5, allocations: 0.869 MB / 3.857 GB, free: 0.5353 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004896/11.51, allocations: 0.6237 MB / 3.858 GB, free: 0.5347 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02604/11.54, allocations: 12.16 MB / 3.87 GB, free: 0.5229 GB / 1.717 GB Notification: Performance of sort global known variables: time 3.51e-07/11.54, allocations: 0 / 3.87 GB, free: 0.5229 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.09027/11.63, allocations: 38.71 MB / 3.907 GB, free: 496.9 MB / 1.717 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.006297/11.63, allocations: 1.946 MB / 3.909 GB, free: 495.2 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.1267/11.76, allocations: 77.46 MB / 3.985 GB, free: 417.7 MB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/11.76, allocations: 4 kB / 3.985 GB, free: 417.7 MB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.05313/11.81, allocations: 25.51 MB / 4.01 GB, free: 392.2 MB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05536/11.87, allocations: 7.995 MB / 4.018 GB, free: 384.5 MB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08685/11.95, allocations: 54.48 MB / 4.071 GB, free: 329.9 MB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/11.97, allocations: 10.45 MB / 4.081 GB, free: 319.4 MB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.02729/12, allocations: 7.975 MB / 4.089 GB, free: 311.4 MB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01163/12.01, allocations: 2.058 MB / 4.091 GB, free: 309.4 MB / 1.717 GB Notification: Performance of SimCode: time 9.61e-07/12.01, allocations: 4 kB / 4.091 GB, free: 309.4 MB / 1.717 GB Notification: Performance of Templates: time 2.261/14.27, allocations: 0.6414 GB / 4.732 GB, free: 379.2 MB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)