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.00113/0.001138, allocations: 98.8 kB / 16.02 MB, free: 76 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.001563/0.001563, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.929/0.929, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.9594/1.103, allocations: 348 MB / 0.9284 GB, free: 49.6 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1007/1.204, allocations: 72.28 MB / 0.999 GB, free: 40.05 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.019/1.223, allocations: 382.8 kB / 0.9994 GB, free: 39.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01594/1.239, allocations: 4.411 MB / 1.004 GB, free: 36.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04003/1.279, allocations: 12.52 MB / 1.016 GB, free: 28.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02434/1.304, allocations: 8.927 MB / 1.025 GB, free: 23.11 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05534/1.359, allocations: 48.34 MB / 1.072 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03387/1.393, allocations: 17.25 MB / 1.089 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03641/1.429, allocations: 14.18 MB / 1.103 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03002/1.459, allocations: 15.3 MB / 1.117 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.007885/1.467, allocations: 1.062 MB / 1.118 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02068/1.488, allocations: 4.725 MB / 1.123 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.009114/1.497, allocations: 4.863 MB / 1.128 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02066/1.518, allocations: 9.242 MB / 1.137 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02962/1.548, allocations: 21.75 MB / 1.158 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.548, allocations: 0 / 1.158 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/1.548, allocations: 7.938 kB / 1.158 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0008578/1.549, allocations: 4 kB / 1.158 GB, free: 5.496 MB / 0.7794 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.605/2.153, allocations: 20.04 MB / 1.178 GB, free: 302.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/2.154, allocations: 10.56 kB / 1.178 GB, free: 302.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/2.165, allocations: 2.274 MB / 1.18 GB, free: 301.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03546/2.2, allocations: 15.54 MB / 1.195 GB, free: 295.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009845/2.201, allocations: 0.6857 MB / 1.196 GB, free: 294.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005386/2.207, allocations: 0.9282 MB / 1.197 GB, free: 294.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04627/2.253, allocations: 16.47 MB / 1.213 GB, free: 288.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004205/2.253, allocations: 10.48 kB / 1.213 GB, free: 288.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004346/2.258, allocations: 323.2 kB / 1.213 GB, free: 288.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004489/2.258, allocations: 371.2 kB / 1.213 GB, free: 288.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04093/2.299, allocations: 20.95 MB / 1.234 GB, free: 279.7 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/2.427, allocations: 82.05 MB / 1.314 GB, free: 195.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/2.446, allocations: 12.72 MB / 1.326 GB, free: 183.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0135/2.459, allocations: 9.524 MB / 1.336 GB, free: 173.5 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.07444/2.534, allocations: 35.67 MB / 1.371 GB, free: 137.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01631/2.55, allocations: 9.722 MB / 1.38 GB, free: 127.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02878/2.579, allocations: 9.921 MB / 1.39 GB, free: 118.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=576): time 4.299e-05/2.579, allocations: 0 / 1.39 GB, free: 118.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=868): time 1.689/4.268, allocations: 301.7 MB / 1.684 GB, free: 160 MB / 0.7795 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.1393/4.407, allocations: 55.14 MB / 1.738 GB, free: 103.4 MB / 0.7795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03189/4.439, allocations: 14.81 MB / 1.753 GB, free: 88.74 MB / 0.7795 GB Notification: Performance of collectPreVariables (initialization): time 0.004792/4.444, allocations: 221.7 kB / 1.753 GB, free: 88.52 MB / 0.7795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00854/4.452, allocations: 7.21 MB / 1.76 GB, free: 81.74 MB / 0.7795 GB Notification: Performance of collectInitialBindings (initialization): time 0.01311/4.465, allocations: 3.138 MB / 1.763 GB, free: 78.68 MB / 0.7795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005904/4.471, allocations: 0.9529 MB / 1.764 GB, free: 77.73 MB / 0.7795 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/4.471, allocations: 301.1 kB / 1.764 GB, free: 77.43 MB / 0.7795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0333/4.505, allocations: 24.22 MB / 1.788 GB, free: 53.2 MB / 0.7795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03474/4.54, allocations: 26.88 MB / 1.814 GB, free: 25.3 MB / 0.7795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4449/4.985, allocations: 44.32 MB / 1.857 GB, free: 240.4 MB / 0.7795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-05/4.985, allocations: 18.12 kB / 1.857 GB, free: 240.4 MB / 0.7795 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.6719/5.657, allocations: 155.7 MB / 2.009 GB, free: 140.3 MB / 0.7795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/5.658, allocations: 1.724 MB / 2.011 GB, free: 137.9 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/5.658, allocations: 52 kB / 2.011 GB, free: 137.8 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042/6.7, allocations: 145.5 MB / 2.153 GB, free: 231.4 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01983/6.72, allocations: 3.535 MB / 2.157 GB, free: 231.4 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/6.903, allocations: 81.31 MB / 2.236 GB, free: 206.3 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2173/7.12, allocations: 10.89 MB / 2.247 GB, free: 198.7 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008156/7.128, allocations: 1.646 MB / 2.248 GB, free: 197.1 MB / 0.7795 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/7.128, allocations: 7.938 kB / 2.248 GB, free: 197.1 MB / 0.7795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6389/7.767, allocations: 152.7 MB / 2.398 GB, free: 44.06 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/7.767, allocations: 55.98 kB / 2.398 GB, free: 44.01 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008/8.776, allocations: 144.5 MB / 2.539 GB, free: 201.8 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01828/8.794, allocations: 3.491 MB / 2.542 GB, free: 198.5 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1818/8.976, allocations: 84.86 MB / 2.625 GB, free: 115.2 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2172/9.193, allocations: 10.87 MB / 2.636 GB, free: 104.4 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008274/9.202, allocations: 1.607 MB / 2.637 GB, free: 102.8 MB / 0.7795 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.01845/9.22, allocations: 3.978 MB / 2.641 GB, free: 98.84 MB / 0.7795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008452/9.229, allocations: 1.48 MB / 2.643 GB, free: 98.15 MB / 0.7795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/9.458, allocations: 68.96 MB / 2.71 GB, free: 29.16 MB / 0.7795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6165/10.07, allocations: 83.59 MB / 2.791 GB, free: 210.4 MB / 0.7795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002577/10.07, allocations: 32.84 kB / 2.792 GB, free: 210.4 MB / 0.7795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2425/10.32, allocations: 82.47 MB / 2.872 GB, free: 163.2 MB / 0.7795 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.7772/11.09, allocations: 207.4 MB / 3.075 GB, free: 212 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.854e-05/11.09, allocations: 3.938 kB / 3.075 GB, free: 212 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0128/11.11, allocations: 2.159 MB / 3.077 GB, free: 211.9 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5864/11.69, allocations: 146.6 MB / 3.22 GB, free: 105 MB / 0.7795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004951/11.7, allocations: 0.8103 MB / 3.221 GB, free: 104.2 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6064/12.31, allocations: 120.1 MB / 3.338 GB, free: 217.1 MB / 0.7795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2285:10-2285:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4560:9-4560:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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]