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.001502/0.001502, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001779/0.001779, allocations: 218.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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 2.971/2.971, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.27 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3271, allocations: 180.2 MB / 1.354 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.03/1.357, allocations: 365.3 MB / 1.711 GB, free: 44.13 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09138/1.448, allocations: 76.21 MB / 1.785 GB, free: 22.69 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01686/1.465, allocations: 0.5986 MB / 1.786 GB, free: 22.37 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01923/1.484, allocations: 6.708 MB / 1.793 GB, free: 17.15 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03826/1.523, allocations: 14.95 MB / 1.807 GB, free: 5.211 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02409/1.547, allocations: 10.61 MB / 1.817 GB, free: 13.44 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.08232/1.629, allocations: 56.22 MB / 1.872 GB, free: 8.625 MB / 1.358 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02648/1.655, allocations: 15.42 MB / 1.887 GB, free: 9.062 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0411/1.697, allocations: 17.72 MB / 1.905 GB, free: 7.32 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03026/1.727, allocations: 16.29 MB / 1.921 GB, free: 6.977 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.007683/1.734, allocations: 1.867 MB / 1.922 GB, free: 5.109 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02035/1.755, allocations: 6.331 MB / 1.929 GB, free: 14.77 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.0102/1.765, allocations: 6.253 MB / 1.935 GB, free: 8.496 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.02171/1.787, allocations: 10.79 MB / 1.945 GB, free: 13.65 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.04814/1.835, allocations: 30.21 MB / 1.975 GB, free: 15.34 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.835, allocations: 4 kB / 1.975 GB, free: 15.34 MB / 1.467 GB Notification: Performance of FrontEnd: time 1.733e-06/1.835, allocations: 0 / 1.975 GB, free: 15.34 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0008143/1.836, allocations: 0 / 1.975 GB, free: 15.34 MB / 1.467 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.0598/1.895, allocations: 20.88 MB / 1.995 GB, free: 10.28 MB / 1.483 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.896, allocations: 12.03 kB / 1.995 GB, free: 10.27 MB / 1.483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/1.913, allocations: 3.208 MB / 1.998 GB, free: 7.043 MB / 1.483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04499/1.958, allocations: 20.32 MB / 2.018 GB, free: 2.566 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007552/1.958, allocations: 0.6438 MB / 2.019 GB, free: 1.922 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004332/1.963, allocations: 0.8866 MB / 2.02 GB, free: 1.035 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/2.002, allocations: 17.12 MB / 2.036 GB, free: 15.68 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/2.003, allocations: 11.88 kB / 2.036 GB, free: 15.67 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002261/2.005, allocations: 320 kB / 2.037 GB, free: 15.36 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/2.005, allocations: 215.8 kB / 2.037 GB, free: 15.15 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/2.048, allocations: 21.39 MB / 2.058 GB, free: 9.738 MB / 1.545 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.1475/2.195, allocations: 81.02 MB / 2.137 GB, free: 4.398 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/2.221, allocations: 12.33 MB / 2.149 GB, free: 8.348 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01745/2.238, allocations: 9.202 MB / 2.158 GB, free: 15.13 MB / 1.654 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.07425/2.313, allocations: 31.64 MB / 2.189 GB, free: 15.38 MB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02116/2.334, allocations: 10.5 MB / 2.199 GB, free: 4.852 MB / 1.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02913/2.363, allocations: 8.215 MB / 2.207 GB, free: 12.62 MB / 1.701 GB Notification: Performance of pre-optimization done (n=503): time 2.648e-05/2.363, allocations: 0 / 2.207 GB, free: 12.62 MB / 1.701 GB Notification: Performance of matching and sorting (n=742): time 2.05/4.413, allocations: 217.9 MB / 2.42 GB, free: 0.5768 GB / 1.764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1059/4.519, allocations: 48.73 MB / 2.468 GB, free: 0.5284 GB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02433/4.544, allocations: 17.04 MB / 2.484 GB, free: 0.5119 GB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.004755/4.548, allocations: 201.7 kB / 2.484 GB, free: 0.5117 GB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.00739/4.556, allocations: 7.631 MB / 2.492 GB, free: 0.5047 GB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.007717/4.563, allocations: 2.754 MB / 2.495 GB, free: 0.5024 GB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01638/4.58, allocations: 3.797 MB / 2.498 GB, free: 0.4987 GB / 1.764 GB Notification: Performance of setup shared object (initialization): time 4.228e-05/4.58, allocations: 301.1 kB / 2.499 GB, free: 0.4984 GB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02792/4.608, allocations: 19.46 MB / 2.518 GB, free: 490.9 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02954/4.637, allocations: 22.21 MB / 2.539 GB, free: 467.6 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05746/4.695, allocations: 37.35 MB / 2.576 GB, free: 429.5 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.233e-05/4.695, allocations: 16 kB / 2.576 GB, free: 429.5 MB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5353/5.23, allocations: 132.2 MB / 2.705 GB, free: 297.3 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/5.23, allocations: 53.7 kB / 2.705 GB, free: 297.3 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-05/5.23, allocations: 56.12 kB / 2.705 GB, free: 297.2 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5087/5.739, allocations: 117.9 MB / 2.82 GB, free: 179.6 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/5.754, allocations: 3.166 MB / 2.823 GB, free: 176.5 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1303/5.884, allocations: 81.76 MB / 2.903 GB, free: 94.4 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0745/5.959, allocations: 6.575 MB / 2.909 GB, free: 87.82 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006102/5.965, allocations: 1.298 MB / 2.911 GB, free: 86.52 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03558/6, allocations: 22.55 MB / 2.933 GB, free: 63.95 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02937/6.03, allocations: 21.69 MB / 2.954 GB, free: 41.23 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.241/7.27, allocations: 36.31 MB / 2.989 GB, free: 0.6136 GB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.265e-05/7.27, allocations: 14.94 kB / 2.989 GB, free: 0.6136 GB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.5388/7.809, allocations: 130.7 MB / 3.117 GB, free: 0.5598 GB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/7.809, allocations: 53.7 kB / 3.117 GB, free: 0.5597 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.286e-05/7.809, allocations: 52 kB / 3.117 GB, free: 0.5597 GB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5072/8.316, allocations: 117.6 MB / 3.232 GB, free: 455.8 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/8.331, allocations: 3.151 MB / 3.235 GB, free: 452.7 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1339/8.465, allocations: 85.89 MB / 3.319 GB, free: 366.8 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07539/8.54, allocations: 6.622 MB / 3.325 GB, free: 360.1 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006075/8.546, allocations: 1.271 MB / 3.327 GB, free: 358.9 MB / 1.764 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.008118/8.554, allocations: 0.7149 MB / 3.327 GB, free: 358.2 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008197/8.562, allocations: 1.604 MB / 3.329 GB, free: 357.1 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1883/8.751, allocations: 59.99 MB / 3.388 GB, free: 297.4 MB / 1.764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1884/8.939, allocations: 63.66 MB / 3.45 GB, free: 233.9 MB / 1.764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001505/8.939, allocations: 28.88 kB / 3.45 GB, free: 233.9 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1828/9.122, allocations: 63.01 MB / 3.511 GB, free: 171 MB / 1.764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2632/9.385, allocations: 127.1 MB / 3.635 GB, free: 44.17 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.44e-05/9.385, allocations: 2.25 kB / 3.635 GB, free: 44.17 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01095/9.396, allocations: 2.133 MB / 3.637 GB, free: 42.03 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9608/10.36, allocations: 78.42 MB / 3.714 GB, free: 0.5943 GB / 1.764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0037/10.36, allocations: 0.5398 MB / 3.715 GB, free: 0.5943 GB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09132/10.45, allocations: 55.55 MB / 3.769 GB, free: 0.5792 GB / 1.764 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.08679/10.54, allocations: 47.64 MB / 3.815 GB, free: 0.5372 GB / 1.764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2204/10.76, allocations: 90.68 MB / 3.904 GB, free: 460.5 MB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01567/10.77, allocations: 5.498 MB / 3.909 GB, free: 455.1 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007117/10.78, allocations: 168 kB / 3.909 GB, free: 454.9 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04473/10.83, allocations: 3.479 MB / 3.913 GB, free: 451.5 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004761/10.83, allocations: 0.8449 MB / 3.914 GB, free: 450.6 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003626/10.84, allocations: 0.6158 MB / 3.914 GB, free: 450 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.01796/10.85, allocations: 11.63 MB / 3.926 GB, free: 438.4 MB / 1.764 GB Notification: Performance of sort global known variables: time 1.9e-07/10.85, allocations: 0 / 3.926 GB, free: 438.4 MB / 1.764 GB Notification: Performance of remove unused functions: time 0.07547/10.93, allocations: 34.89 MB / 3.96 GB, free: 403.7 MB / 1.764 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.005728/10.93, allocations: 1.843 MB / 3.961 GB, free: 402.2 MB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.1146/11.05, allocations: 69.44 MB / 4.029 GB, free: 332.7 MB / 1.764 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/11.05, allocations: 12.06 kB / 4.029 GB, free: 332.7 MB / 1.764 GB Notification: Performance of simCode: created simulation system equations: time 0.04799/11.1, allocations: 22.11 MB / 4.051 GB, free: 310.6 MB / 1.764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04827/11.15, allocations: 8.09 MB / 4.059 GB, free: 302.8 MB / 1.764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07648/11.22, allocations: 49.86 MB / 4.107 GB, free: 252.8 MB / 1.764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01341/11.24, allocations: 9.68 MB / 4.117 GB, free: 243.1 MB / 1.764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01328/11.25, allocations: 2.105 MB / 4.119 GB, free: 240.9 MB / 1.764 GB Notification: Performance of SimCode: time 1.052e-06/11.25, allocations: 0 / 4.119 GB, free: 240.9 MB / 1.764 GB Notification: Performance of Templates: time 2.718/13.97, allocations: 1.301 GB / 5.42 GB, free: 271.8 MB / 1.78 GB " [Timeout remaining time 286] 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: 3741266. Could not SIGINT process: 3741267. Could not SIGINT process: 3741270. Could not SIGINT process: 3740276. [Calling os._exit(0), Time elapsed: 879.0685216179991] Failed to read output from testmodel.py, exit status != 0: 13.977135238004848 13.985929643 12.148499362 Calling exit ...