Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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) 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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.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.0007233/0.0007234, allocations: 102.6 kB / 15.71 MB, free: 460 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.0008993/0.0008994, allocations: 175.9 kB / 16.58 MB, free: 6.051 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.55/1.55, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.4 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003802, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9767/0.9771, allocations: 142.3 MB / 0.9544 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.248/2.225, allocations: 328.6 MB / 1.275 GB, free: 68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1119/2.337, allocations: 68.65 MB / 1.342 GB, free: 66.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02335/2.36, allocations: 364.3 kB / 1.343 GB, free: 66.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01905/2.379, allocations: 3.627 MB / 1.346 GB, free: 66.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.04623/2.426, allocations: 10.75 MB / 1.357 GB, free: 65.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02699/2.453, allocations: 7.293 MB / 1.364 GB, free: 65.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.06191/2.514, allocations: 41.45 MB / 1.404 GB, free: 50.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02991/2.544, allocations: 16.04 MB / 1.42 GB, free: 35.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03945/2.584, allocations: 13.78 MB / 1.433 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03116/2.615, allocations: 14.65 MB / 1.448 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.009356/2.625, allocations: 1.07 MB / 1.449 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02344/2.648, allocations: 3.618 MB / 1.452 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0124/2.661, allocations: 4.772 MB / 1.457 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01385/2.674, allocations: 3.219 MB / 1.46 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.04702/2.721, allocations: 21.65 MB / 1.481 GB, free: 7.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/2.722, allocations: 2.516 kB / 1.481 GB, free: 7.387 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.786e-06/2.722, allocations: 0 / 1.481 GB, free: 7.387 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.00126/2.723, allocations: 0 / 1.481 GB, free: 7.387 MB / 1.029 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.07022/2.793, allocations: 20.26 MB / 1.501 GB, free: 3.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/2.793, allocations: 8.031 kB / 1.501 GB, free: 3.188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/2.809, allocations: 2.625 MB / 1.504 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04904/2.858, allocations: 15.1 MB / 1.518 GB, free: 1.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/2.86, allocations: 0.6884 MB / 1.519 GB, free: 1.066 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006125/2.866, allocations: 0.9377 MB / 1.52 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05482/2.921, allocations: 16.52 MB / 1.536 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008089/2.921, allocations: 15.88 kB / 1.536 GB, free: 15.42 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006857/2.928, allocations: 327.3 kB / 1.536 GB, free: 15.11 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006067/2.929, allocations: 367.2 kB / 1.537 GB, free: 14.75 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05059/2.98, allocations: 21.11 MB / 1.557 GB, free: 9.629 MB / 1.107 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.1782/3.158, allocations: 82.39 MB / 1.638 GB, free: 4.508 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02597/3.184, allocations: 12.93 MB / 1.65 GB, free: 7.832 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0181/3.202, allocations: 9.577 MB / 1.66 GB, free: 14.25 MB / 1.217 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.09023/3.292, allocations: 35.85 MB / 1.695 GB, free: 10.07 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02297/3.315, allocations: 9.804 MB / 1.704 GB, free: 204 kB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03534/3.351, allocations: 9.934 MB / 1.714 GB, free: 6.395 MB / 1.264 GB Notification: Performance of pre-optimization done (n=576): time 6.352e-05/3.351, allocations: 0 / 1.714 GB, free: 6.395 MB / 1.264 GB Notification: Performance of matching and sorting (n=868): time 2.505/5.856, allocations: 301.8 MB / 2.009 GB, free: 251.5 MB / 1.264 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.1285/5.985, allocations: 55.13 MB / 2.063 GB, free: 194.8 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03009/6.015, allocations: 14.73 MB / 2.077 GB, free: 180.2 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.004766/6.02, allocations: 226.6 kB / 2.077 GB, free: 180 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.007459/6.027, allocations: 7.216 MB / 2.084 GB, free: 173.2 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01359/6.041, allocations: 3.124 MB / 2.087 GB, free: 170.2 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006068/6.047, allocations: 203.8 kB / 2.088 GB, free: 170 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0008227/6.048, allocations: 0.7369 MB / 2.088 GB, free: 169.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0338/6.082, allocations: 23.58 MB / 2.111 GB, free: 145.6 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03616/6.118, allocations: 26.3 MB / 2.137 GB, free: 118.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03969/6.158, allocations: 24.83 MB / 2.161 GB, free: 93.38 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.564e-05/6.158, allocations: 16 kB / 2.161 GB, free: 93.36 MB / 1.264 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 1.992/8.149, allocations: 154.2 MB / 2.312 GB, free: 440.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.001259/8.151, allocations: 1.726 MB / 2.314 GB, free: 437.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/8.151, allocations: 51.44 kB / 2.314 GB, free: 437.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5648/8.716, allocations: 145.3 MB / 2.455 GB, free: 312.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01853/8.734, allocations: 3.582 MB / 2.459 GB, free: 308.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1467/8.881, allocations: 81.26 MB / 2.538 GB, free: 227.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1717/9.053, allocations: 10.93 MB / 2.549 GB, free: 216.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007983/9.061, allocations: 1.64 MB / 2.551 GB, free: 214.8 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/9.061, allocations: 4 kB / 2.551 GB, free: 214.8 MB / 1.264 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5935/9.654, allocations: 152.8 MB / 2.7 GB, free: 61.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/9.655, allocations: 48 kB / 2.7 GB, free: 61.65 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344/11, allocations: 144.5 MB / 2.841 GB, free: 418.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01792/11.02, allocations: 3.542 MB / 2.844 GB, free: 417 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1656/11.18, allocations: 84.82 MB / 2.927 GB, free: 335.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1741/11.36, allocations: 10.92 MB / 2.938 GB, free: 324.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008005/11.36, allocations: 1.606 MB / 2.94 GB, free: 323.1 MB / 1.264 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.01474/11.38, allocations: 3.977 MB / 2.943 GB, free: 319.2 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006337/11.39, allocations: 1.473 MB / 2.945 GB, free: 318.5 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2089/11.59, allocations: 69.2 MB / 3.012 GB, free: 249.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2449/11.84, allocations: 83.73 MB / 3.094 GB, free: 165.4 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003368/11.84, allocations: 28 kB / 3.094 GB, free: 165.4 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2219/12.06, allocations: 82.6 MB / 3.175 GB, free: 82.59 MB / 1.264 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 1.168/13.23, allocations: 207.7 MB / 3.378 GB, free: 378.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001285/13.23, allocations: 0 / 3.378 GB, free: 378.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0131/13.24, allocations: 2.187 MB / 3.38 GB, free: 376.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5214/13.76, allocations: 146.3 MB / 3.523 GB, free: 231.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005447/13.77, allocations: 0.8103 MB / 3.523 GB, free: 230.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1995/13.97, allocations: 120 MB / 3.641 GB, free: 110.8 MB / 1.264 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]