Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00128/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001663/0.001663, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9784/0.9784, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.72 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1651, allocations: 80.92 MB / 0.5839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 1.049/1.214, allocations: 352.1 MB / 0.9278 GB, free: 41.4 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1048/1.319, allocations: 72.36 MB / 0.9984 GB, free: 29.94 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02172/1.341, allocations: 395.5 kB / 0.9988 GB, free: 29.94 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.02292/1.364, allocations: 4.631 MB / 1.003 GB, free: 27.06 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.05852/1.422, allocations: 12.57 MB / 1.016 GB, free: 19.06 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.03672/1.459, allocations: 8.975 MB / 1.024 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0766/1.535, allocations: 37.86 MB / 1.061 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04939/1.585, allocations: 19.79 MB / 1.081 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05065/1.636, allocations: 16.94 MB / 1.097 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0274/1.663, allocations: 16.33 MB / 1.113 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.01056/1.674, allocations: 1.871 MB / 1.115 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/1.694, allocations: 5.76 MB / 1.121 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.01026/1.705, allocations: 5.831 MB / 1.126 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.02249/1.727, allocations: 10.34 MB / 1.136 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04936/1.777, allocations: 28.64 MB / 1.164 GB, free: 2.801 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/1.777, allocations: 0 / 1.164 GB, free: 2.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/1.777, allocations: 7.938 kB / 1.164 GB, free: 2.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0009655/1.778, allocations: 0 / 1.164 GB, free: 2.793 MB / 0.795 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.8294/2.607, allocations: 22.13 MB / 1.186 GB, free: 109.7 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/2.607, allocations: 9.312 kB / 1.186 GB, free: 109.7 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/2.621, allocations: 2.231 MB / 1.188 GB, free: 108.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03887/2.66, allocations: 15.57 MB / 1.203 GB, free: 106 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007963/2.661, allocations: 0.6811 MB / 1.204 GB, free: 106 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004345/2.665, allocations: 0.9311 MB / 1.205 GB, free: 105.9 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04107/2.706, allocations: 16.46 MB / 1.221 GB, free: 105.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004509/2.707, allocations: 11.83 kB / 1.221 GB, free: 105.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003354/2.71, allocations: 323.8 kB / 1.221 GB, free: 105.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004242/2.711, allocations: 373.2 kB / 1.222 GB, free: 105.2 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0358/2.746, allocations: 20.93 MB / 1.242 GB, free: 100.2 MB / 0.795 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.1284/2.875, allocations: 80.48 MB / 1.321 GB, free: 25.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0187/2.894, allocations: 12.7 MB / 1.333 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/2.907, allocations: 9.498 MB / 1.342 GB, free: 3.539 MB / 0.795 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.1098/3.017, allocations: 34.39 MB / 1.376 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02171/3.038, allocations: 9.715 MB / 1.385 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0303/3.069, allocations: 7.519 MB / 1.393 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=576): time 3.439e-05/3.069, allocations: 2.078 kB / 1.393 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=868): time 1.592/4.66, allocations: 236.6 MB / 1.624 GB, free: 394.7 MB / 0.9514 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.1256/4.786, allocations: 55.24 MB / 1.678 GB, free: 338.2 MB / 0.9514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02842/4.815, allocations: 14.82 MB / 1.692 GB, free: 323.6 MB / 0.9514 GB Notification: Performance of collectPreVariables (initialization): time 0.004136/4.819, allocations: 224.5 kB / 1.693 GB, free: 323.3 MB / 0.9514 GB Notification: Performance of collectInitialEqns (initialization): time 0.007114/4.826, allocations: 7.206 MB / 1.7 GB, free: 316.6 MB / 0.9514 GB Notification: Performance of collectInitialBindings (initialization): time 0.01129/4.837, allocations: 3.125 MB / 1.703 GB, free: 313.5 MB / 0.9514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01412/4.851, allocations: 4.096 MB / 1.707 GB, free: 309.4 MB / 0.9514 GB Notification: Performance of setup shared object (initialization): time 3.603e-05/4.851, allocations: 305.2 kB / 1.707 GB, free: 309.1 MB / 0.9514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03218/4.884, allocations: 24.26 MB / 1.731 GB, free: 284.8 MB / 0.9514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03564/4.919, allocations: 26.87 MB / 1.757 GB, free: 257 MB / 0.9514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06616/4.986, allocations: 44.29 MB / 1.8 GB, free: 211.9 MB / 0.9514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-05/4.986, allocations: 16 kB / 1.8 GB, free: 211.8 MB / 0.9514 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.592/5.578, allocations: 142.8 MB / 1.94 GB, free: 68.9 MB / 0.9514 GB Notification: Performance of prepare postOptimizeDAE: time 8.783e-05/5.578, allocations: 61.69 kB / 1.94 GB, free: 68.84 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.429e-05/5.578, allocations: 52 kB / 1.94 GB, free: 68.79 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9222/6.5, allocations: 119.9 MB / 2.057 GB, free: 413.1 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01859/6.519, allocations: 3.526 MB / 2.06 GB, free: 413 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1493/6.668, allocations: 84.03 MB / 2.142 GB, free: 352.7 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1764/6.844, allocations: 10.88 MB / 2.153 GB, free: 341.9 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008704/6.853, allocations: 1.637 MB / 2.154 GB, free: 340.2 MB / 0.9514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04419/6.897, allocations: 27.27 MB / 2.181 GB, free: 312.9 MB / 0.9514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03464/6.932, allocations: 26.39 MB / 2.207 GB, free: 285.6 MB / 0.9514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06322/6.995, allocations: 43.38 MB / 2.249 GB, free: 241.4 MB / 0.9514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.374e-05/6.995, allocations: 16 kB / 2.249 GB, free: 241.4 MB / 0.9514 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.5708/7.566, allocations: 141.2 MB / 2.387 GB, free: 101 MB / 0.9514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/7.566, allocations: 57.69 kB / 2.387 GB, free: 100.9 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/7.566, allocations: 52 kB / 2.387 GB, free: 100.9 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9192/8.486, allocations: 118.9 MB / 2.503 GB, free: 402.9 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01767/8.503, allocations: 3.477 MB / 2.507 GB, free: 402.9 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1556/8.659, allocations: 88.27 MB / 2.593 GB, free: 371.9 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1737/8.833, allocations: 10.91 MB / 2.604 GB, free: 361.1 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006665/8.84, allocations: 1.598 MB / 2.605 GB, free: 359.5 MB / 0.9514 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.007593/8.847, allocations: 0.736 MB / 2.606 GB, free: 358.8 MB / 0.9514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006613/8.854, allocations: 1.476 MB / 2.607 GB, free: 358 MB / 0.9514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1964/9.05, allocations: 68.05 MB / 2.674 GB, free: 290.2 MB / 0.9514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2205/9.271, allocations: 82.54 MB / 2.754 GB, free: 207.7 MB / 0.9514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001903/9.271, allocations: 35.28 kB / 2.754 GB, free: 207.7 MB / 0.9514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2181/9.489, allocations: 81.43 MB / 2.834 GB, free: 126.3 MB / 0.9514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7295/10.22, allocations: 206.1 MB / 3.035 GB, free: 381 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001245/10.22, allocations: 3.438 kB / 3.035 GB, free: 381 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01302/10.23, allocations: 2.148 MB / 3.037 GB, free: 380.9 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5585/10.79, allocations: 144.9 MB / 3.179 GB, free: 252.4 MB / 0.9514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004622/10.79, allocations: 0.8056 MB / 3.179 GB, free: 251.6 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1224/10.92, allocations: 71.91 MB / 3.25 GB, free: 179.6 MB / 0.9514 GB Warning: The linear system: 1 : valSouth1[3].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth1[4].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valSouth1[2].port_a.p ] = [ -valSouth1[3].dp ; -valSouth1[4].dp ] might be structurally or numerically singular for variable valSouth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse375 - 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 + $cse375 + (-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 : valSouth1[4].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth1[3].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth1[4].dp ; -valSouth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse375 - 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 + $cse375 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2347:10-2347:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2264:9-2264: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 (620): * Single equations (assignments): 597 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4638:9-4638:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:798:5-798:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]