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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.869/2.869, allocations: 0.4893 GB / 0.7884 GB, free: 33.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=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 0.001934/0.001934, allocations: 66.39 kB / 1.145 GB, free: 30.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3217, allocations: 174.9 MB / 1.316 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.047/1.369, allocations: 364 MB / 1.672 GB, free: 54.35 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09567/1.464, allocations: 76.15 MB / 1.746 GB, free: 47.81 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01697/1.481, allocations: 0.5819 MB / 1.746 GB, free: 47.81 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01777/1.499, allocations: 6.7 MB / 1.753 GB, free: 46.5 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03695/1.536, allocations: 14.91 MB / 1.768 GB, free: 38.19 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0217/1.558, allocations: 10.62 MB / 1.778 GB, free: 31.48 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06691/1.625, allocations: 56.19 MB / 1.833 GB, free: 2.699 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02608/1.651, allocations: 15.41 MB / 1.848 GB, free: 3.84 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03822/1.689, allocations: 17.59 MB / 1.865 GB, free: 3.188 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03/1.719, allocations: 16.25 MB / 1.881 GB, free: 3.996 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.007593/1.727, allocations: 1.867 MB / 1.883 GB, free: 2.129 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/1.748, allocations: 6.123 MB / 1.889 GB, free: 12.29 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01096/1.759, allocations: 6.261 MB / 1.895 GB, free: 6.246 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02366/1.782, allocations: 10.76 MB / 1.905 GB, free: 11.68 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.06035/1.843, allocations: 29.87 MB / 1.935 GB, free: 14.93 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.843, allocations: 0 / 1.935 GB, free: 14.93 MB / 1.42 GB Notification: Performance of FrontEnd: time 1.773e-06/1.843, allocations: 0 / 1.935 GB, free: 14.93 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0008875/1.844, allocations: 4 kB / 1.935 GB, free: 14.93 MB / 1.42 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.0615/1.905, allocations: 20.77 MB / 1.955 GB, free: 10.19 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.905, allocations: 8.031 kB / 1.955 GB, free: 10.18 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/1.923, allocations: 3.193 MB / 1.958 GB, free: 6.977 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04635/1.969, allocations: 20.19 MB / 1.978 GB, free: 3.039 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/1.97, allocations: 0.6463 MB / 1.978 GB, free: 2.395 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004378/1.974, allocations: 0.8862 MB / 1.979 GB, free: 1.516 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04067/2.015, allocations: 17.12 MB / 1.996 GB, free: 176 kB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/2.015, allocations: 15.83 kB / 1.996 GB, free: 160 kB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002994/2.018, allocations: 321.2 kB / 1.996 GB, free: 15.85 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/2.018, allocations: 203.9 kB / 1.996 GB, free: 15.65 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04063/2.059, allocations: 21.4 MB / 2.017 GB, free: 10.24 MB / 1.498 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1499/2.209, allocations: 81 MB / 2.096 GB, free: 5.652 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02558/2.235, allocations: 12.32 MB / 2.108 GB, free: 9.605 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01827/2.253, allocations: 9.198 MB / 2.117 GB, free: 400 kB / 1.592 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.07445/2.327, allocations: 31.64 MB / 2.148 GB, free: 0.7891 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02166/2.349, allocations: 10.49 MB / 2.159 GB, free: 6.273 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03076/2.38, allocations: 8.227 MB / 2.167 GB, free: 14.22 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 3.309e-05/2.38, allocations: 0 / 2.167 GB, free: 14.22 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.582/3.961, allocations: 217.9 MB / 2.379 GB, free: 0.5934 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1014/4.063, allocations: 48.73 MB / 2.427 GB, free: 0.545 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01882/4.082, allocations: 16.93 MB / 2.443 GB, free: 0.5287 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.003286/4.085, allocations: 197.7 kB / 2.444 GB, free: 0.5285 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.004577/4.09, allocations: 7.564 MB / 2.451 GB, free: 0.5215 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.005571/4.095, allocations: 2.756 MB / 2.454 GB, free: 0.5189 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005973/4.101, allocations: 3.801 MB / 2.457 GB, free: 0.5151 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 2.761e-05/4.101, allocations: 305.2 kB / 2.458 GB, free: 0.5148 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02343/4.125, allocations: 19.45 MB / 2.477 GB, free: 0.4958 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02531/4.15, allocations: 22.22 MB / 2.498 GB, free: 484.5 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0483/4.198, allocations: 37.35 MB / 2.535 GB, free: 446.4 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-05/4.198, allocations: 16 kB / 2.535 GB, free: 446.3 MB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5749/4.773, allocations: 132.2 MB / 2.664 GB, free: 314 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/4.773, allocations: 53.7 kB / 2.664 GB, free: 314 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.629e-05/4.773, allocations: 55.98 kB / 2.664 GB, free: 313.9 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5661/5.339, allocations: 117.9 MB / 2.779 GB, free: 196.1 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/5.355, allocations: 3.174 MB / 2.782 GB, free: 192.9 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1285/5.484, allocations: 81.76 MB / 2.862 GB, free: 110.8 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08443/5.568, allocations: 6.578 MB / 2.869 GB, free: 104.2 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005423/5.574, allocations: 1.298 MB / 2.87 GB, free: 102.9 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03603/5.61, allocations: 22.52 MB / 2.892 GB, free: 80.34 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0302/5.64, allocations: 21.7 MB / 2.913 GB, free: 57.62 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05131/5.691, allocations: 36.32 MB / 2.949 GB, free: 20.53 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-05/5.691, allocations: 16 kB / 2.949 GB, free: 20.52 MB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.309/7.001, allocations: 130.6 MB / 3.076 GB, free: 0.5786 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/7.001, allocations: 55.42 kB / 3.076 GB, free: 0.5786 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/7.001, allocations: 52 kB / 3.076 GB, free: 0.5785 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5602/7.561, allocations: 117.6 MB / 3.191 GB, free: 475.1 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/7.576, allocations: 3.143 MB / 3.194 GB, free: 472 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1328/7.709, allocations: 85.89 MB / 3.278 GB, free: 386.1 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08357/7.792, allocations: 6.615 MB / 3.285 GB, free: 379.5 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00518/7.797, allocations: 1.271 MB / 3.286 GB, free: 378.2 MB / 1.732 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 (1043): * Single equations (assignments): 1023 * 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.005798/7.803, allocations: 0.7251 MB / 3.287 GB, free: 377.5 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006002/7.809, allocations: 1.596 MB / 3.288 GB, free: 376 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1991/8.008, allocations: 59.96 MB / 3.347 GB, free: 316.2 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1978/8.206, allocations: 63.67 MB / 3.409 GB, free: 252.6 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.617e-05/8.206, allocations: 28 kB / 3.409 GB, free: 252.6 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1863/8.393, allocations: 63 MB / 3.47 GB, free: 189.6 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2604/8.653, allocations: 127 MB / 3.594 GB, free: 62.51 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.899e-05/8.653, allocations: 2.344 kB / 3.594 GB, free: 62.51 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01081/8.664, allocations: 2.125 MB / 3.597 GB, free: 60.38 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061/9.725, allocations: 78.42 MB / 3.673 GB, free: 0.5947 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003861/9.729, allocations: 0.5348 MB / 3.674 GB, free: 0.5947 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09281/9.822, allocations: 55.56 MB / 3.728 GB, free: 0.5809 GB / 1.732 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.08743/9.909, allocations: 47.62 MB / 3.774 GB, free: 0.5521 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2406/10.15, allocations: 90.68 MB / 3.863 GB, free: 479.2 MB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01855/10.17, allocations: 5.494 MB / 3.868 GB, free: 473.8 MB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00918/10.18, allocations: 164 kB / 3.868 GB, free: 473.6 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05137/10.23, allocations: 3.479 MB / 3.872 GB, free: 470.1 MB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006646/10.24, allocations: 0.8527 MB / 3.873 GB, free: 469.2 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005511/10.24, allocations: 0.6158 MB / 3.873 GB, free: 468.6 MB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02542/10.27, allocations: 11.54 MB / 3.885 GB, free: 457.2 MB / 1.732 GB Notification: Performance of sort global known variables: time 2.21e-07/10.27, allocations: 0 / 3.885 GB, free: 457.2 MB / 1.732 GB Notification: Performance of remove unused functions: time 0.08638/10.35, allocations: 34.88 MB / 3.919 GB, free: 422.4 MB / 1.732 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.007309/10.36, allocations: 1.891 MB / 3.92 GB, free: 420.6 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1242/10.48, allocations: 69.46 MB / 3.988 GB, free: 351.1 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/10.48, allocations: 5 kB / 3.988 GB, free: 351.1 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.05174/10.54, allocations: 22.13 MB / 4.01 GB, free: 329 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05856/10.59, allocations: 8.058 MB / 4.018 GB, free: 321.2 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07741/10.67, allocations: 49.32 MB / 4.066 GB, free: 271.7 MB / 1.732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01218/10.68, allocations: 9.865 MB / 4.076 GB, free: 261.8 MB / 1.732 GB Notification: Performance of simCode: alias equations: time 0.0245/10.71, allocations: 6.764 MB / 4.082 GB, free: 255 MB / 1.732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01094/10.72, allocations: 2.031 MB / 4.084 GB, free: 253 MB / 1.732 GB Notification: Performance of SimCode: time 1.924e-06/10.72, allocations: 0 / 4.084 GB, free: 253 MB / 1.732 GB Notification: Performance of Templates: time 1.889/12.61, allocations: 0.6372 GB / 4.721 GB, free: 284.9 MB / 1.733 GB " [Timeout remaining time 287] 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] [Calling os._exit(0), Time elapsed: 35.022544535808265] Failed to read output from testmodel.py, exit status != 0: 12.61847289931029 12.627197224 10.782051204 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc4f8a8d7b0>