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.001155/0.001155, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008701/0.008701, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8081/0.8081, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003541, allocations: 8 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5031, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.681/1.184, allocations: 348 MB / 0.9235 GB, free: 45.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08779/1.272, allocations: 72.28 MB / 0.9941 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02321/1.295, allocations: 377.5 kB / 0.9944 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01761/1.313, allocations: 4.399 MB / 0.9987 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0469/1.36, allocations: 12.53 MB / 1.011 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02866/1.389, allocations: 8.913 MB / 1.02 GB, free: 8.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05708/1.446, allocations: 48.34 MB / 1.067 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0313/1.477, allocations: 17.25 MB / 1.084 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0422/1.519, allocations: 14.18 MB / 1.098 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9664/2.486, allocations: 15.29 MB / 1.113 GB, free: 24.72 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.01043/2.496, allocations: 1.066 MB / 1.114 GB, free: 24.72 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02562/2.522, allocations: 4.72 MB / 1.118 GB, free: 24.72 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.01276/2.535, allocations: 4.865 MB / 1.123 GB, free: 24.72 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.0308/2.565, allocations: 9.241 MB / 1.132 GB, free: 24.44 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.05356/2.619, allocations: 27.38 MB / 1.159 GB, free: 21.68 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/2.619, allocations: 0 / 1.159 GB, free: 21.68 MB / 0.7482 GB Notification: Performance of FrontEnd: time 3.406e-06/2.619, allocations: 0 / 1.159 GB, free: 21.68 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001535/2.621, allocations: 0 / 1.159 GB, free: 21.68 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.06951/2.69, allocations: 20.05 MB / 1.178 GB, free: 14.65 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 9.198e-05/2.69, allocations: 9.938 kB / 1.178 GB, free: 14.65 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/2.708, allocations: 2.27 MB / 1.18 GB, free: 13.69 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04628/2.754, allocations: 15.56 MB / 1.196 GB, free: 10.05 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/2.755, allocations: 0.6788 MB / 1.196 GB, free: 10.03 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008116/2.763, allocations: 0.9281 MB / 1.197 GB, free: 10.02 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05388/2.817, allocations: 16.46 MB / 1.213 GB, free: 5.121 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006234/2.818, allocations: 17.59 kB / 1.213 GB, free: 5.117 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006067/2.824, allocations: 324.6 kB / 1.214 GB, free: 5.117 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005935/2.825, allocations: 373.6 kB / 1.214 GB, free: 5.074 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04566/2.87, allocations: 20.96 MB / 1.234 GB, free: 1.949 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.176/3.047, allocations: 82.62 MB / 1.315 GB, free: 14.75 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02444/3.071, allocations: 12.72 MB / 1.328 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01664/3.088, allocations: 9.523 MB / 1.337 GB, free: 8.758 MB / 0.8419 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.08844/3.176, allocations: 35.67 MB / 1.372 GB, free: 4.711 MB / 0.8732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0212/3.197, allocations: 9.722 MB / 1.381 GB, free: 10.92 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03307/3.231, allocations: 9.926 MB / 1.391 GB, free: 1.129 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=576): time 3.766e-05/3.231, allocations: 4 kB / 1.391 GB, free: 1.125 MB / 0.8888 GB Notification: Performance of matching and sorting (n=868): time 1.646/4.876, allocations: 301.7 MB / 1.686 GB, free: 47.62 MB / 0.92 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.1395/5.016, allocations: 55.16 MB / 1.739 GB, free: 8.883 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3813/5.397, allocations: 14.81 MB / 1.754 GB, free: 423.2 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.004807/5.402, allocations: 225.9 kB / 1.754 GB, free: 423.1 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.009461/5.412, allocations: 7.2 MB / 1.761 GB, free: 420 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.01286/5.425, allocations: 3.131 MB / 1.764 GB, free: 419.3 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005859/5.431, allocations: 0.9575 MB / 1.765 GB, free: 418.9 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/5.431, allocations: 302.4 kB / 1.765 GB, free: 418.6 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03977/5.47, allocations: 24.22 MB / 1.789 GB, free: 412 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04022/5.511, allocations: 26.87 MB / 1.815 GB, free: 402.5 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06861/5.579, allocations: 44.33 MB / 1.859 GB, free: 379.7 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.221e-05/5.579, allocations: 12 kB / 1.859 GB, free: 379.7 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.6512/6.231, allocations: 155.7 MB / 2.011 GB, free: 231.7 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007865/6.231, allocations: 1.725 MB / 2.012 GB, free: 229.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.467e-05/6.232, allocations: 52 kB / 2.012 GB, free: 229.1 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6414/6.873, allocations: 145.5 MB / 2.154 GB, free: 83.45 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01964/6.893, allocations: 3.536 MB / 2.158 GB, free: 79.91 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5145/7.407, allocations: 81.32 MB / 2.237 GB, free: 391.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2294/7.637, allocations: 10.89 MB / 2.248 GB, free: 391 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006814/7.643, allocations: 1.637 MB / 2.25 GB, free: 391 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/7.643, allocations: 5.531 kB / 2.25 GB, free: 391 MB / 0.9357 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6363/8.28, allocations: 152.7 MB / 2.399 GB, free: 308.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/8.28, allocations: 55.66 kB / 2.399 GB, free: 308.8 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7158/8.996, allocations: 144.5 MB / 2.54 GB, free: 164.1 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/9.015, allocations: 3.486 MB / 2.543 GB, free: 160.6 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1544/9.169, allocations: 84.87 MB / 2.626 GB, free: 75.67 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.225/9.394, allocations: 10.87 MB / 2.637 GB, free: 64.84 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007159/9.401, allocations: 1.609 MB / 2.638 GB, free: 63.23 MB / 0.9357 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,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 (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.0158/9.417, allocations: 3.976 MB / 2.642 GB, free: 59.27 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006747/9.424, allocations: 1.479 MB / 2.644 GB, free: 58.58 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5962/10.02, allocations: 68.95 MB / 2.711 GB, free: 395.1 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2589/10.28, allocations: 83.59 MB / 2.793 GB, free: 376.7 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002039/10.28, allocations: 32 kB / 2.793 GB, free: 376.7 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2434/10.52, allocations: 82.48 MB / 2.873 GB, free: 295.4 MB / 0.9357 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.3992/10.92, allocations: 207.4 MB / 3.076 GB, free: 88.07 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001281/10.92, allocations: 0 / 3.076 GB, free: 88.07 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01399/10.94, allocations: 2.155 MB / 3.078 GB, free: 85.93 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012/11.95, allocations: 146.6 MB / 3.221 GB, free: 374.8 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006962/11.95, allocations: 0.807 MB / 3.222 GB, free: 374.8 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2104/12.17, allocations: 120.1 MB / 3.339 GB, free: 286.3 MB / 0.9357 GB Warning: The linear system: 1 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[1].dp ; -valSouth2[4].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 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[4].dp ; -valSouth2[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[1].m_flow ; tabsSouth1[2].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[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:2285:10-2285:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2202:9-2202: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 (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), (61,193)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4560:9-4560:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:764:5-764:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]