Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.001846/0.001846, allocations: 110 kB / 18.93 MB, free: 2.945 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.00208/0.00208, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.554/1.554, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7646 GB, free: 9.844 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 75.88 kB / 1.11 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 168.8 MB / 1.274 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.561/2.683, allocations: 363.9 MB / 1.63 GB, free: 62.7 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1192/2.802, allocations: 76.3 MB / 1.704 GB, free: 61.59 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02546/2.827, allocations: 0.5792 MB / 1.705 GB, free: 61.59 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02412/2.852, allocations: 6.728 MB / 1.711 GB, free: 61.47 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.05278/2.904, allocations: 15 MB / 1.726 GB, free: 60.68 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.03089/2.935, allocations: 10.68 MB / 1.736 GB, free: 56.27 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09917/3.034, allocations: 76.63 MB / 1.811 GB, free: 15.7 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03181/3.066, allocations: 15.86 MB / 1.827 GB, free: 464 kB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05003/3.116, allocations: 17.76 MB / 1.844 GB, free: 15.66 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0415/3.158, allocations: 17.27 MB / 1.861 GB, free: 15.57 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.01233/3.17, allocations: 1.984 MB / 1.863 GB, free: 13.58 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02792/3.198, allocations: 6.27 MB / 1.869 GB, free: 7.594 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01435/3.212, allocations: 6.719 MB / 1.876 GB, free: 1.113 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.03181/3.244, allocations: 11.25 MB / 1.887 GB, free: 6.055 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.06867/3.313, allocations: 31.41 MB / 1.917 GB, free: 7.785 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/3.313, allocations: 0 / 1.917 GB, free: 7.785 MB / 1.404 GB Notification: Performance of FrontEnd: time 3.457e-06/3.313, allocations: 0 / 1.917 GB, free: 7.785 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001604/3.314, allocations: 0 / 1.917 GB, free: 7.785 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.08163/3.396, allocations: 22.16 MB / 1.939 GB, free: 1.707 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 7.662e-05/3.396, allocations: 12.03 kB / 1.939 GB, free: 1.695 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/3.417, allocations: 3.294 MB / 1.942 GB, free: 14.39 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05717/3.475, allocations: 21.04 MB / 1.963 GB, free: 9.605 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/3.476, allocations: 0.6702 MB / 1.963 GB, free: 8.941 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006592/3.482, allocations: 0.9576 MB / 1.964 GB, free: 7.992 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05355/3.536, allocations: 17.26 MB / 1.981 GB, free: 6.539 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/3.536, allocations: 19.81 kB / 1.981 GB, free: 6.52 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005093/3.541, allocations: 331.3 kB / 1.981 GB, free: 6.203 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004883/3.542, allocations: 363.4 kB / 1.982 GB, free: 5.848 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05195/3.594, allocations: 21.91 MB / 2.003 GB, free: 15.92 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.1785/3.772, allocations: 81.42 MB / 2.083 GB, free: 11.68 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02626/3.798, allocations: 11.99 MB / 2.094 GB, free: 15.98 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01876/3.817, allocations: 8.674 MB / 2.103 GB, free: 7.297 MB / 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.09094/3.908, allocations: 32.81 MB / 2.135 GB, free: 6.574 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0237/3.932, allocations: 10.39 MB / 2.145 GB, free: 12.12 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03219/3.964, allocations: 8.266 MB / 2.153 GB, free: 4.031 MB / 1.639 GB Notification: Performance of pre-optimization done (n=588): time 3.908e-05/3.964, allocations: 0 / 2.153 GB, free: 4.031 MB / 1.639 GB Notification: Performance of matching and sorting (n=880): time 1.926/5.89, allocations: 239.5 MB / 2.387 GB, free: 0.607 GB / 1.732 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1156/6.005, allocations: 54.31 MB / 2.44 GB, free: 0.5528 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02851/6.034, allocations: 17.82 MB / 2.457 GB, free: 0.5356 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.004301/6.038, allocations: 233.7 kB / 2.458 GB, free: 0.5354 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.008787/6.047, allocations: 7.809 MB / 2.465 GB, free: 0.5282 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.01098/6.058, allocations: 3.34 MB / 2.469 GB, free: 0.525 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01272/6.071, allocations: 4.563 MB / 2.473 GB, free: 0.5205 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 3.643e-05/6.071, allocations: 301.1 kB / 2.473 GB, free: 0.5202 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03178/6.103, allocations: 25.66 MB / 2.498 GB, free: 0.4951 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0348/6.137, allocations: 28.51 MB / 2.526 GB, free: 477.5 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06427/6.202, allocations: 46.89 MB / 2.572 GB, free: 429.8 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-05/6.202, allocations: 16 kB / 2.572 GB, free: 429.8 MB / 1.732 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5634/6.765, allocations: 145.7 MB / 2.714 GB, free: 284 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.368e-05/6.765, allocations: 61.88 kB / 2.714 GB, free: 283.9 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.161e-05/6.765, allocations: 52 kB / 2.714 GB, free: 283.9 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5423/7.308, allocations: 119.8 MB / 2.831 GB, free: 164.1 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01995/7.327, allocations: 3.798 MB / 2.835 GB, free: 160.3 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1368/7.464, allocations: 84.2 MB / 2.917 GB, free: 75.7 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1778/7.642, allocations: 10.62 MB / 2.928 GB, free: 65.07 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007156/7.649, allocations: 1.664 MB / 2.929 GB, free: 63.4 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04478/7.694, allocations: 29.04 MB / 2.958 GB, free: 34.33 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.669/9.363, allocations: 27.97 MB / 2.985 GB, free: 0.6516 GB / 1.733 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0814/9.445, allocations: 45.83 MB / 3.03 GB, free: 0.6424 GB / 1.733 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002578/9.445, allocations: 15.16 kB / 3.03 GB, free: 0.6424 GB / 1.733 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5795/10.02, allocations: 144 MB / 3.17 GB, free: 0.5405 GB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/10.02, allocations: 49.7 kB / 3.17 GB, free: 0.5405 GB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/10.02, allocations: 52 kB / 3.171 GB, free: 0.5404 GB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5296/10.55, allocations: 118.8 MB / 3.287 GB, free: 434.9 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0191/10.57, allocations: 3.747 MB / 3.29 GB, free: 431.2 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1486/10.72, allocations: 87.97 MB / 3.376 GB, free: 343.2 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1791/10.9, allocations: 10.67 MB / 3.387 GB, free: 332.6 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008267/10.91, allocations: 1.633 MB / 3.388 GB, free: 330.9 MB / 1.733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.01003/10.92, allocations: 0.7652 MB / 3.389 GB, free: 330.2 MB / 1.733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0107/10.93, allocations: 1.706 MB / 3.391 GB, free: 328.6 MB / 1.733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2146/11.14, allocations: 68.19 MB / 3.457 GB, free: 260.6 MB / 1.733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2196/11.36, allocations: 81.76 MB / 3.537 GB, free: 178.8 MB / 1.733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001184/11.36, allocations: 28 kB / 3.537 GB, free: 178.8 MB / 1.733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2107/11.58, allocations: 80.63 MB / 3.616 GB, free: 98.06 MB / 1.733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.217/12.79, allocations: 214.7 MB / 3.825 GB, free: 0.5901 GB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001762/12.79, allocations: 7.938 kB / 3.825 GB, free: 0.5901 GB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02073/12.81, allocations: 2.239 MB / 3.828 GB, free: 0.5879 GB / 1.733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6822/13.5, allocations: 144.7 MB / 3.969 GB, free: 458.3 MB / 1.733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004439/13.5, allocations: 0.8064 MB / 3.97 GB, free: 457.5 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.124/13.62, allocations: 72.03 MB / 4.04 GB, free: 385.5 MB / 1.733 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * 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 (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4732:9-4732:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:821:5-821:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 284] [Calling sys.exit(0), Time elapsed: 21.868004985153675] Failed to read output from testmodel.py, exit status != 0: 15.574750492349267 15.585714531 12.269798255 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9c04fa17b0>