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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8976/0.8976, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 4 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.364e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.6669/0.6669, allocations: 326.2 MB / 1.319 GB, free: 6.84 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.07583/0.7427, allocations: 70.68 MB / 1.389 GB, free: 0 / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01485/0.7576, allocations: 0.5983 MB / 1.389 GB, free: 15.39 MB / 1.229 GB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.7734, allocations: 6.445 MB / 1.395 GB, free: 8.918 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 0.03612/0.8096, allocations: 15.37 MB / 1.41 GB, free: 9.484 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.02265/0.8322, allocations: 10.82 MB / 1.421 GB, free: 14.75 MB / 1.26 GB Notification: Performance of NFFlatten.flatten: time 0.06463/0.8968, allocations: 66.9 MB / 1.486 GB, free: 11.69 MB / 1.323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02129/0.9181, allocations: 15.16 MB / 1.501 GB, free: 12.39 MB / 1.339 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05663/0.9748, allocations: 23.68 MB / 1.524 GB, free: 4.676 MB / 1.354 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02662/1.001, allocations: 14.73 MB / 1.539 GB, free: 5.914 MB / 1.37 GB Notification: Performance of NFPackage.collectConstants: time 0.007335/1.009, allocations: 1.75 MB / 1.54 GB, free: 4.164 MB / 1.37 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/1.026, allocations: 4.945 MB / 1.545 GB, free: 15.21 MB / 1.385 GB Notification: Performance of NFScalarize.scalarize: time 0.01018/1.036, allocations: 6.264 MB / 1.551 GB, free: 8.926 MB / 1.385 GB Notification: Performance of NFVerifyModel.verify: time 0.0177/1.054, allocations: 7.404 MB / 1.558 GB, free: 1.504 MB / 1.385 GB Notification: Performance of NFConvertDAE.convert: time 1.2/2.254, allocations: 30.3 MB / 1.588 GB, free: 155.5 MB / 1.401 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/2.254, allocations: 0 / 1.588 GB, free: 155.5 MB / 1.401 GB Notification: Performance of FrontEnd: time 1.754e-06/2.254, allocations: 2.875 kB / 1.588 GB, free: 155.5 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.000843/2.254, allocations: 0 / 1.588 GB, free: 155.5 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.0394/2.294, allocations: 20.56 MB / 1.608 GB, free: 147.3 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/2.294, allocations: 11.52 kB / 1.608 GB, free: 147.3 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009504/2.303, allocations: 3.235 MB / 1.611 GB, free: 146.2 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03611/2.339, allocations: 20.09 MB / 1.631 GB, free: 142.9 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008049/2.34, allocations: 0.6422 MB / 1.632 GB, free: 142.9 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00452/2.345, allocations: 0.8728 MB / 1.632 GB, free: 142.8 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/2.373, allocations: 18.07 MB / 1.65 GB, free: 140.9 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/2.373, allocations: 18.27 kB / 1.65 GB, free: 140.9 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/2.375, allocations: 315.7 kB / 1.65 GB, free: 140.9 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/2.375, allocations: 205.3 kB / 1.651 GB, free: 140.9 MB / 1.401 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02724/2.402, allocations: 21.38 MB / 1.671 GB, free: 140.8 MB / 1.401 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.08179/2.484, allocations: 60.71 MB / 1.731 GB, free: 124.4 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/2.497, allocations: 12.31 MB / 1.743 GB, free: 124.2 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008779/2.506, allocations: 9.205 MB / 1.752 GB, free: 122.5 MB / 1.401 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.04254/2.549, allocations: 28.61 MB / 1.78 GB, free: 103.7 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00995/2.559, allocations: 11.43 MB / 1.791 GB, free: 94.02 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01745/2.576, allocations: 8.166 MB / 1.799 GB, free: 86.11 MB / 1.401 GB Notification: Performance of pre-optimization done (n=503): time 3.115e-05/2.576, allocations: 0 / 1.799 GB, free: 86.11 MB / 1.401 GB Notification: Performance of matching and sorting (n=742): time 0.4971/3.073, allocations: 218 MB / 2.012 GB, free: 11.73 MB / 1.542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07153/3.145, allocations: 47.45 MB / 2.058 GB, free: 11.51 MB / 1.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02221/3.167, allocations: 16.33 MB / 2.074 GB, free: 11.26 MB / 1.604 GB Notification: Performance of collectPreVariables (initialization): time 0.004559/3.172, allocations: 197.7 kB / 2.074 GB, free: 11.06 MB / 1.604 GB Notification: Performance of collectInitialEqns (initialization): time 0.00558/3.177, allocations: 7.888 MB / 2.082 GB, free: 3.176 MB / 1.604 GB Notification: Performance of collectInitialBindings (initialization): time 0.006857/3.184, allocations: 2.698 MB / 2.085 GB, free: 0.5117 MB / 1.604 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00514/3.189, allocations: 3.318 MB / 2.088 GB, free: 13.18 MB / 1.62 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/3.189, allocations: 310.3 kB / 2.088 GB, free: 12.88 MB / 1.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02004/3.209, allocations: 18.58 MB / 2.106 GB, free: 10.27 MB / 1.636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02762/3.237, allocations: 23.38 MB / 2.129 GB, free: 1.371 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04756/3.284, allocations: 35.7 MB / 2.164 GB, free: 13.12 MB / 1.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.596e-05/3.284, allocations: 16 kB / 2.164 GB, free: 13.1 MB / 1.698 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.8839/4.168, allocations: 130.2 MB / 2.291 GB, free: 0.7017 GB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/4.169, allocations: 59.66 kB / 2.291 GB, free: 0.7017 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.991e-05/4.169, allocations: 54.03 kB / 2.291 GB, free: 0.7017 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2912/4.46, allocations: 117.9 MB / 2.406 GB, free: 0.6029 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/4.47, allocations: 2.972 MB / 2.409 GB, free: 0.6001 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08605/4.556, allocations: 80.88 MB / 2.488 GB, free: 0.5211 GB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04434/4.6, allocations: 6.547 MB / 2.495 GB, free: 0.5147 GB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004832/4.605, allocations: 1.253 MB / 2.496 GB, free: 0.5134 GB / 1.714 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02779/4.633, allocations: 21.68 MB / 2.517 GB, free: 0.4922 GB / 1.714 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02075/4.654, allocations: 22.85 MB / 2.539 GB, free: 479.7 MB / 1.714 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03591/4.69, allocations: 34.66 MB / 2.573 GB, free: 444.2 MB / 1.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-05/4.69, allocations: 12 kB / 2.573 GB, free: 444.2 MB / 1.714 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.2988/4.989, allocations: 128.6 MB / 2.699 GB, free: 316.6 MB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/4.989, allocations: 59.61 kB / 2.699 GB, free: 316.6 MB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.955e-05/4.989, allocations: 51.94 kB / 2.699 GB, free: 316.5 MB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2909/5.28, allocations: 117.5 MB / 2.814 GB, free: 199.4 MB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009041/5.289, allocations: 2.952 MB / 2.816 GB, free: 196.4 MB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08927/5.378, allocations: 84.1 MB / 2.899 GB, free: 112.4 MB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04494/5.423, allocations: 6.588 MB / 2.905 GB, free: 105.9 MB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004221/5.427, allocations: 1.22 MB / 2.906 GB, free: 104.6 MB / 1.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (907): * Single equations (assignments): 891 * 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.003626/5.431, allocations: 0.6752 MB / 2.907 GB, free: 104 MB / 1.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004861/5.436, allocations: 1.618 MB / 2.908 GB, free: 103.3 MB / 1.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1049/5.54, allocations: 60.07 MB / 2.967 GB, free: 43.3 MB / 1.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.7395/6.28, allocations: 63.66 MB / 3.029 GB, free: 0.6946 GB / 1.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001178/6.28, allocations: 33.31 kB / 3.029 GB, free: 0.6946 GB / 1.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1245/6.405, allocations: 63 MB / 3.091 GB, free: 0.6849 GB / 1.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1635/6.568, allocations: 107.6 MB / 3.196 GB, free: 0.6127 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-05/6.568, allocations: 0 / 3.196 GB, free: 0.6127 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006968/6.575, allocations: 2.127 MB / 3.198 GB, free: 0.6107 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.166/6.741, allocations: 78.28 MB / 3.274 GB, free: 0.5347 GB / 1.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003503/6.745, allocations: 0.5371 MB / 3.275 GB, free: 0.5341 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05836/6.803, allocations: 54.96 MB / 3.329 GB, free: 492 MB / 1.714 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04818/6.851, allocations: 46.45 MB / 3.374 GB, free: 445 MB / 1.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.134/6.985, allocations: 90.71 MB / 3.463 GB, free: 355.3 MB / 1.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0129/6.998, allocations: 5.436 MB / 3.468 GB, free: 350.8 MB / 1.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004505/7.003, allocations: 168 kB / 3.468 GB, free: 350.6 MB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02576/7.028, allocations: 3.473 MB / 3.471 GB, free: 347.2 MB / 1.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002863/7.031, allocations: 0.8449 MB / 3.472 GB, free: 346.3 MB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001352/7.033, allocations: 0.6236 MB / 3.473 GB, free: 345.7 MB / 1.714 GB Notification: Performance of sorting global known variables: time 0.01414/7.047, allocations: 11.2 MB / 3.484 GB, free: 334.6 MB / 1.714 GB Notification: Performance of sort global known variables: time 5.31e-07/7.047, allocations: 0 / 3.484 GB, free: 334.6 MB / 1.714 GB Notification: Performance of remove unused functions: time 0.05433/7.101, allocations: 34.53 MB / 3.518 GB, free: 300 MB / 1.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004155/7.105, allocations: 1.73 MB / 3.519 GB, free: 298.4 MB / 1.714 GB Notification: Performance of simCode: created initialization part: time 0.07223/7.177, allocations: 67.26 MB / 3.585 GB, free: 231.2 MB / 1.714 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/7.177, allocations: 4 kB / 3.585 GB, free: 231.2 MB / 1.714 GB Notification: Performance of simCode: created simulation system equations: time 0.02707/7.204, allocations: 22.1 MB / 3.607 GB, free: 209.1 MB / 1.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03131/7.236, allocations: 8.479 MB / 3.615 GB, free: 200.9 MB / 1.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04705/7.283, allocations: 49.57 MB / 3.663 GB, free: 151.3 MB / 1.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005694/7.289, allocations: 9.447 MB / 3.672 GB, free: 141.8 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008015/7.297, allocations: 2.134 MB / 3.675 GB, free: 139.6 MB / 1.714 GB Notification: Performance of SimCode: time 1.012e-06/7.297, allocations: 0 / 3.675 GB, free: 139.6 MB / 1.714 GB Notification: Performance of Templates: time 1.868/9.164, allocations: 1.318 GB / 4.993 GB, free: 369.3 MB / 1.714 GB " [Timeout remaining time 291] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 800] Could not SIGINT process: 2461314. Could not SIGINT process: 2461315. Could not SIGINT process: 2461318. Could not SIGINT process: 2458719. [Calling os._exit(0), Time elapsed: 884.5258916681632] Failed to read output from testmodel.py, exit status != 0: 9.171348320320249 9.177986275 6.92267841 Calling exit ...