Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008449, allocations: 99.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 174.6 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 12 kB / 0.504 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5402, allocations: 81.59 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.8312/1.371, allocations: 328.5 MB / 0.9045 GB, free: 55.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.09249/1.464, allocations: 68.56 MB / 0.9714 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02314/1.487, allocations: 361.6 kB / 0.9718 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01819/1.505, allocations: 3.618 MB / 0.9753 GB, free: 21.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0389/1.544, allocations: 10.74 MB / 0.9858 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02363/1.568, allocations: 7.277 MB / 0.9929 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.06106/1.629, allocations: 41.41 MB / 1.033 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02801/1.657, allocations: 16.04 MB / 1.049 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04341/1.701, allocations: 13.79 MB / 1.062 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03401/1.735, allocations: 14.66 MB / 1.077 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.008052/1.743, allocations: 1.066 MB / 1.078 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02138/1.764, allocations: 3.615 MB / 1.081 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01302/1.777, allocations: 4.78 MB / 1.086 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01289/1.79, allocations: 3.223 MB / 1.089 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 1.066/2.856, allocations: 21.64 MB / 1.11 GB, free: 51.32 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.856, allocations: 0 / 1.11 GB, free: 51.32 MB / 0.7482 GB Notification: Performance of FrontEnd: time 3.536e-06/2.856, allocations: 0.6875 kB / 1.11 GB, free: 51.32 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001022/2.857, allocations: 0.5625 kB / 1.11 GB, free: 51.32 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05995/2.917, allocations: 20.26 MB / 1.13 GB, free: 45.13 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.917, allocations: 9.781 kB / 1.13 GB, free: 45.13 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/2.931, allocations: 2.276 MB / 1.132 GB, free: 44.17 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04268/2.974, allocations: 14.97 MB / 1.147 GB, free: 42.08 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009114/2.975, allocations: 0.6876 MB / 1.148 GB, free: 42.06 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006587/2.982, allocations: 0.9342 MB / 1.149 GB, free: 42.05 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04578/3.027, allocations: 16.41 MB / 1.165 GB, free: 41.29 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002176/3.028, allocations: 16.84 kB / 1.165 GB, free: 41.29 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/3.03, allocations: 328.3 kB / 1.165 GB, free: 41.29 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003465/3.03, allocations: 370.9 kB / 1.165 GB, free: 41.27 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04046/3.07, allocations: 20.92 MB / 1.186 GB, free: 41.21 MB / 0.7482 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.1455/3.216, allocations: 82.12 MB / 1.266 GB, free: 2.016 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/3.239, allocations: 12.75 MB / 1.278 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01522/3.254, allocations: 9.482 MB / 1.288 GB, free: 5.234 MB / 0.7794 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.08595/3.34, allocations: 35.75 MB / 1.322 GB, free: 9.676 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02098/3.361, allocations: 9.725 MB / 1.332 GB, free: 384 kB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03473/3.396, allocations: 9.929 MB / 1.342 GB, free: 6.586 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=576): time 5.61e-05/3.396, allocations: 4 kB / 1.342 GB, free: 6.582 MB / 0.8263 GB Notification: Performance of matching and sorting (n=868): time 1.429/4.824, allocations: 301.3 MB / 1.636 GB, free: 266.4 MB / 0.9044 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.11/4.935, allocations: 55.09 MB / 1.69 GB, free: 209.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02288/4.957, allocations: 14.72 MB / 1.704 GB, free: 195.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.007712/4.965, allocations: 225.7 kB / 1.704 GB, free: 195.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00766/4.973, allocations: 7.216 MB / 1.711 GB, free: 188.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.01415/4.987, allocations: 3.129 MB / 1.714 GB, free: 185.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008624/4.996, allocations: 200 kB / 1.715 GB, free: 185.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0009049/4.997, allocations: 0.733 MB / 1.715 GB, free: 184.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03758/5.034, allocations: 23.48 MB / 1.738 GB, free: 160.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03727/5.072, allocations: 26.22 MB / 1.764 GB, free: 133.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03778/5.109, allocations: 24.75 MB / 1.788 GB, free: 108.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-05/5.109, allocations: 16 kB / 1.788 GB, free: 108.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 1.045/6.154, allocations: 154.1 MB / 1.939 GB, free: 382 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/6.156, allocations: 1.715 MB / 1.94 GB, free: 379.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.999e-05/6.156, allocations: 50.28 kB / 1.94 GB, free: 379.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5568/6.713, allocations: 145.3 MB / 2.082 GB, free: 254.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/6.732, allocations: 3.547 MB / 2.086 GB, free: 250.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1314/6.863, allocations: 81.26 MB / 2.165 GB, free: 169.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1698/7.033, allocations: 10.91 MB / 2.176 GB, free: 158.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01196/7.045, allocations: 1.635 MB / 2.177 GB, free: 157 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/7.045, allocations: 4 kB / 2.177 GB, free: 157 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9898/8.035, allocations: 152.6 MB / 2.326 GB, free: 362.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/8.035, allocations: 51.25 kB / 2.326 GB, free: 362.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5527/8.588, allocations: 144.5 MB / 2.467 GB, free: 296.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01794/8.606, allocations: 3.495 MB / 2.471 GB, free: 293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.145/8.751, allocations: 84.82 MB / 2.554 GB, free: 208.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.169/8.92, allocations: 10.89 MB / 2.564 GB, free: 197.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009406/8.929, allocations: 1.608 MB / 2.566 GB, free: 195.7 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01783/8.947, allocations: 3.98 MB / 2.57 GB, free: 191.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008632/8.956, allocations: 1.477 MB / 2.571 GB, free: 191.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2052/9.161, allocations: 69 MB / 2.639 GB, free: 122.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2261/9.387, allocations: 83.55 MB / 2.72 GB, free: 38.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001334/9.387, allocations: 31.95 kB / 2.72 GB, free: 38.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.656/10.04, allocations: 82.42 MB / 2.801 GB, free: 357.1 MB / 0.9044 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 postOpt removeSimpleEquations (simulation): time 0.3542/10.4, allocations: 207.5 MB / 3.003 GB, free: 182.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001169/10.4, allocations: 4 kB / 3.003 GB, free: 182.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01275/10.41, allocations: 2.166 MB / 3.005 GB, free: 180.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4994/10.91, allocations: 146.3 MB / 3.148 GB, free: 35.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006222/10.92, allocations: 0.8103 MB / 3.149 GB, free: 34.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6524/11.57, allocations: 120 MB / 3.266 GB, free: 347.7 MB / 0.9044 GB Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[8].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[1].dp ; -valNorth2[8].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. Warning: The linear system: 1 : valNorth2[8].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[8].dp ; -valNorth2[1].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 : 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 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].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 ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].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. 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2136:10-2136:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2053:9-2053: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 (619): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {36 81,1 1,61 193} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4548:9-4548:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]