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.001427/0.001427, allocations: 108 kB / 15.6 MB, free: 132 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.001674/0.001674, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7446/0.7446, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 80.21 MB / 0.5802 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.5669/0.9132, allocations: 355.5 MB / 0.9274 GB, free: 38.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.07748/0.9907, allocations: 72.84 MB / 0.9985 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/1.003, allocations: 429.5 kB / 0.9989 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01641/1.019, allocations: 5.311 MB / 1.004 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03545/1.055, allocations: 13.51 MB / 1.017 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.02155/1.077, allocations: 9.634 MB / 1.027 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0424/1.119, allocations: 37.49 MB / 1.063 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02648/1.146, allocations: 19.84 MB / 1.083 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03158/1.177, allocations: 16.68 MB / 1.099 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6748/1.852, allocations: 15.88 MB / 1.114 GB, free: 36.51 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.007811/1.86, allocations: 1.871 MB / 1.116 GB, free: 36.51 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01715/1.877, allocations: 5.708 MB / 1.122 GB, free: 36.51 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.008842/1.886, allocations: 5.799 MB / 1.128 GB, free: 36.51 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.01787/1.904, allocations: 10.41 MB / 1.138 GB, free: 35.51 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.0314/1.935, allocations: 28.77 MB / 1.166 GB, free: 32.62 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.935, allocations: 0 / 1.166 GB, free: 32.62 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.403e-06/1.935, allocations: 2.906 kB / 1.166 GB, free: 32.62 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.0006715/1.936, allocations: 0 / 1.166 GB, free: 32.62 MB / 0.7638 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.05351/1.989, allocations: 22.28 MB / 1.188 GB, free: 24.85 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.989, allocations: 11.62 kB / 1.188 GB, free: 24.85 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002713/1.992, allocations: 1.041 MB / 1.189 GB, free: 24.77 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008157/2, allocations: 2.241 MB / 1.191 GB, free: 23.78 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02836/2.029, allocations: 17.45 MB / 1.208 GB, free: 20.31 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/2.029, allocations: 0.6827 MB / 1.208 GB, free: 20.29 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0041/2.033, allocations: 0.9245 MB / 1.209 GB, free: 20.28 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/2.06, allocations: 16.45 MB / 1.225 GB, free: 15.34 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/2.06, allocations: 16.5 kB / 1.225 GB, free: 15.34 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/2.061, allocations: 325.1 kB / 1.226 GB, free: 15.34 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000238/2.062, allocations: 369.6 kB / 1.226 GB, free: 15.3 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02861/2.09, allocations: 20.9 MB / 1.247 GB, free: 7.004 MB / 0.7638 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.1242/2.214, allocations: 81.8 MB / 1.326 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/2.233, allocations: 12.65 MB / 1.339 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01236/2.245, allocations: 9.498 MB / 1.348 GB, free: 14.49 MB / 0.8732 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.05881/2.304, allocations: 34.64 MB / 1.382 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01323/2.317, allocations: 9.7 MB / 1.391 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01854/2.336, allocations: 5.763 MB / 1.397 GB, free: 12.11 MB / 0.92 GB Notification: Performance of pre-optimization done (n=572): time 2.293e-05/2.336, allocations: 4 kB / 1.397 GB, free: 12.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=864): time 1.132/3.468, allocations: 238.7 MB / 1.63 GB, free: 335.4 MB / 0.9513 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.1013/3.569, allocations: 55.3 MB / 1.684 GB, free: 278.6 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/3.588, allocations: 17.62 MB / 1.701 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.003477/3.591, allocations: 228.2 kB / 1.702 GB, free: 260.9 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.004508/3.596, allocations: 7.199 MB / 1.709 GB, free: 253.9 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.009113/3.605, allocations: 3.117 MB / 1.712 GB, free: 250.9 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007008/3.612, allocations: 4.086 MB / 1.716 GB, free: 246.8 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 2.73e-05/3.612, allocations: 305.1 kB / 1.716 GB, free: 246.5 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02569/3.638, allocations: 24.24 MB / 1.74 GB, free: 222.2 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02769/3.665, allocations: 26.85 MB / 1.766 GB, free: 194.3 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05316/3.719, allocations: 44.26 MB / 1.809 GB, free: 149.2 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/3.719, allocations: 23.88 kB / 1.809 GB, free: 149.2 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 0.8031/4.522, allocations: 142.8 MB / 1.948 GB, free: 416.8 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/4.522, allocations: 57.19 kB / 1.949 GB, free: 416.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-05/4.522, allocations: 51.09 kB / 1.949 GB, free: 416.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5965/5.118, allocations: 119.9 MB / 2.066 GB, free: 385.7 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01942/5.138, allocations: 3.511 MB / 2.069 GB, free: 382.3 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1429/5.281, allocations: 84.04 MB / 2.151 GB, free: 298.2 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2377/5.519, allocations: 10.49 MB / 2.161 GB, free: 287.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00549/5.524, allocations: 1.629 MB / 2.163 GB, free: 286.1 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03761/5.562, allocations: 27.27 MB / 2.19 GB, free: 258.8 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03145/5.593, allocations: 26.38 MB / 2.215 GB, free: 231.4 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05897/5.652, allocations: 43.35 MB / 2.258 GB, free: 187.3 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.876e-05/5.652, allocations: 16 kB / 2.258 GB, free: 187.3 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.6342/6.286, allocations: 141.2 MB / 2.396 GB, free: 46.84 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/6.287, allocations: 55.89 kB / 2.396 GB, free: 46.79 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.19e-05/6.287, allocations: 51.98 kB / 2.396 GB, free: 46.73 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.877/7.164, allocations: 118.9 MB / 2.512 GB, free: 402.4 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01678/7.18, allocations: 3.475 MB / 2.515 GB, free: 401.2 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1382/7.319, allocations: 88.28 MB / 2.601 GB, free: 324.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2208/7.539, allocations: 10.52 MB / 2.612 GB, free: 314.2 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005161/7.545, allocations: 1.598 MB / 2.613 GB, free: 312.6 MB / 0.9513 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 (1020): * Single equations (assignments): 1002 * 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.004922/7.55, allocations: 0.7381 MB / 2.614 GB, free: 311.9 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005246/7.555, allocations: 1.478 MB / 2.615 GB, free: 311.2 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2005/7.755, allocations: 67.97 MB / 2.682 GB, free: 243.5 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2411/7.996, allocations: 82.63 MB / 2.763 GB, free: 160.8 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000129/7.997, allocations: 28 kB / 2.763 GB, free: 160.7 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2276/8.224, allocations: 81.51 MB / 2.842 GB, free: 79.12 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6772/8.901, allocations: 206.3 MB / 3.044 GB, free: 357.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-05/8.902, allocations: 4 kB / 3.044 GB, free: 357.4 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01288/8.914, allocations: 2.131 MB / 3.046 GB, free: 355.2 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5783/9.493, allocations: 144.9 MB / 3.187 GB, free: 211.8 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004156/9.497, allocations: 0.7986 MB / 3.188 GB, free: 211 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1251/9.622, allocations: 71.83 MB / 3.258 GB, free: 139.1 MB / 0.9513 GB Warning: The linear system: 1 : valNorth2[3].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[3].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 : 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[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[1].dp ; -valNorth2[3].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.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:2347:10-2347:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/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 (615): * Single equations (assignments): 592 * 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), (62,192)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]