Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008148, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009542/0.0009542, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7607/0.7607, allocations: 132.3 MB / 423.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 12.2 kB / 0.5035 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4399, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.6787/1.119, allocations: 328.5 MB / 0.904 GB, free: 55.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08493/1.204, allocations: 68.55 MB / 0.9709 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/1.219, allocations: 365.6 kB / 0.9712 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01343/1.233, allocations: 3.616 MB / 0.9748 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0327/1.265, allocations: 10.75 MB / 0.9853 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01918/1.285, allocations: 7.276 MB / 0.9924 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.05041/1.335, allocations: 41.4 MB / 1.033 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02907/1.364, allocations: 16.06 MB / 1.048 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03275/1.397, allocations: 13.79 MB / 1.062 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03083/1.428, allocations: 14.65 MB / 1.076 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.008302/1.436, allocations: 1.07 MB / 1.077 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/1.456, allocations: 3.615 MB / 1.081 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01062/1.467, allocations: 4.769 MB / 1.086 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01031/1.477, allocations: 3.227 MB / 1.089 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.8332/2.31, allocations: 21.86 MB / 1.11 GB, free: 51.52 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/2.31, allocations: 0 / 1.11 GB, free: 51.52 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.675e-06/2.31, allocations: 0.5 kB / 1.11 GB, free: 51.52 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0009307/2.311, allocations: 0 / 1.11 GB, free: 51.52 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05007/2.362, allocations: 20.38 MB / 1.13 GB, free: 45.3 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/2.362, allocations: 9.844 kB / 1.13 GB, free: 45.3 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004529/2.366, allocations: 1.042 MB / 1.131 GB, free: 45.22 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/2.377, allocations: 2.28 MB / 1.133 GB, free: 44.25 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03603/2.413, allocations: 17.12 MB / 1.15 GB, free: 42.16 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006607/2.414, allocations: 0.687 MB / 1.151 GB, free: 42.14 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004525/2.419, allocations: 0.9348 MB / 1.151 GB, free: 42.12 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04265/2.461, allocations: 16.41 MB / 1.167 GB, free: 41.37 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005364/2.462, allocations: 17.03 kB / 1.168 GB, free: 41.36 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005153/2.467, allocations: 329.9 kB / 1.168 GB, free: 41.36 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000406/2.467, allocations: 361.1 kB / 1.168 GB, free: 41.35 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/2.504, allocations: 20.93 MB / 1.189 GB, free: 41.29 MB / 0.7482 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1271/2.631, allocations: 82.82 MB / 1.269 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0203/2.652, allocations: 12.74 MB / 1.282 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01405/2.666, allocations: 9.484 MB / 1.291 GB, free: 2.711 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.07296/2.739, allocations: 36.01 MB / 1.326 GB, free: 5.75 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01871/2.758, allocations: 9.713 MB / 1.336 GB, free: 11.96 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02826/2.786, allocations: 9.926 MB / 1.346 GB, free: 2.172 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=576): time 2.531e-05/2.786, allocations: 0 / 1.346 GB, free: 2.172 MB / 0.8263 GB Notification: Performance of matching and sorting (n=868): time 1.279/4.065, allocations: 301.3 MB / 1.64 GB, free: 261.3 MB / 0.9044 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1252/4.19, allocations: 55.09 MB / 1.694 GB, free: 204.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03337/4.223, allocations: 17.44 MB / 1.711 GB, free: 187.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.006531/4.23, allocations: 233.6 kB / 1.711 GB, free: 187.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.008949/4.239, allocations: 7.253 MB / 1.718 GB, free: 180.4 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.01561/4.254, allocations: 3.129 MB / 1.721 GB, free: 177.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007968/4.262, allocations: 204 kB / 1.721 GB, free: 177.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.001123/4.264, allocations: 0.7291 MB / 1.722 GB, free: 176.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03898/4.303, allocations: 23.49 MB / 1.745 GB, free: 152.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03801/4.341, allocations: 26.21 MB / 1.77 GB, free: 125.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03852/4.379, allocations: 24.75 MB / 1.795 GB, free: 100.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-05/4.379, allocations: 12 kB / 1.795 GB, free: 100.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.9438/5.323, allocations: 154.1 MB / 1.945 GB, free: 378.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007675/5.324, allocations: 1.719 MB / 1.947 GB, free: 376.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.416e-05/5.324, allocations: 51.69 kB / 1.947 GB, free: 376.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5443/5.868, allocations: 145.3 MB / 2.089 GB, free: 246.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01823/5.887, allocations: 3.541 MB / 2.092 GB, free: 243 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1393/6.026, allocations: 81.25 MB / 2.172 GB, free: 161.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1694/6.195, allocations: 10.91 MB / 2.182 GB, free: 150.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00846/6.204, allocations: 1.641 MB / 2.184 GB, free: 149.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/6.204, allocations: 4 kB / 2.184 GB, free: 149.1 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9266/7.13, allocations: 152.6 MB / 2.333 GB, free: 362.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/7.131, allocations: 54.38 kB / 2.333 GB, free: 362.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5483/7.679, allocations: 144.5 MB / 2.474 GB, free: 288.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01748/7.696, allocations: 3.495 MB / 2.477 GB, free: 285.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1619/7.858, allocations: 84.81 MB / 2.56 GB, free: 200.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1687/8.027, allocations: 10.9 MB / 2.571 GB, free: 189.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008818/8.036, allocations: 1.609 MB / 2.572 GB, free: 187.8 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01796/8.054, allocations: 3.975 MB / 2.576 GB, free: 183.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009378/8.063, allocations: 1.484 MB / 2.578 GB, free: 183.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2101/8.274, allocations: 69.02 MB / 2.645 GB, free: 114.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2216/8.495, allocations: 83.56 MB / 2.727 GB, free: 30.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001752/8.495, allocations: 28 kB / 2.727 GB, free: 30.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5988/9.094, allocations: 82.42 MB / 2.807 GB, free: 354.9 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3439/9.438, allocations: 207.7 MB / 3.01 GB, free: 174.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.823e-05/9.438, allocations: 0 / 3.01 GB, free: 174.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01211/9.45, allocations: 2.158 MB / 3.012 GB, free: 172.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9726/10.42, allocations: 146.2 MB / 3.155 GB, free: 363.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005802/10.43, allocations: 0.8077 MB / 3.156 GB, free: 363.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.199/10.63, allocations: 120 MB / 3.273 GB, free: 337.9 MB / 0.9044 GB Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[8].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[1].dp ; -valNorth2[8].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2[8].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[8].dp ; -valNorth2[1].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2136:10-2136:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2053:9-2053:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (619): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {36 81,1 1,61 193} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4548:9-4548:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]