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: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="IDEAS_dev_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.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 152 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.001318/0.001318, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8216/0.8216, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 69.14 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.126, allocations: 80.92 MB / 0.5845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.7753/0.9013, allocations: 355.5 MB / 0.9316 GB, free: 41.95 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07447/0.9758, allocations: 72.84 MB / 1.003 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/0.9885, allocations: 427.4 kB / 1.003 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/1.001, allocations: 5.318 MB / 1.008 GB, free: 25.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0282/1.029, allocations: 13.5 MB / 1.022 GB, free: 16.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01902/1.048, allocations: 9.635 MB / 1.031 GB, free: 8.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03994/1.088, allocations: 37.49 MB / 1.068 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02609/1.114, allocations: 19.84 MB / 1.087 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02869/1.143, allocations: 16.67 MB / 1.103 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0239/1.167, allocations: 15.9 MB / 1.119 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.006385/1.173, allocations: 1.871 MB / 1.121 GB, free: 484 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/1.19, allocations: 5.704 MB / 1.126 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.007728/1.197, allocations: 5.806 MB / 1.132 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.01692/1.214, allocations: 10.4 MB / 1.142 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.667/1.881, allocations: 28.76 MB / 1.17 GB, free: 75.39 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.881, allocations: 4.281 kB / 1.17 GB, free: 75.39 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/1.881, allocations: 0 / 1.17 GB, free: 75.39 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0007341/1.882, allocations: 0 / 1.17 GB, free: 75.39 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05694/1.939, allocations: 22.28 MB / 1.192 GB, free: 68.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.939, allocations: 10.19 kB / 1.192 GB, free: 68.48 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003313/1.942, allocations: 1.043 MB / 1.193 GB, free: 68.39 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/1.953, allocations: 2.24 MB / 1.195 GB, free: 67.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04138/1.994, allocations: 17.46 MB / 1.212 GB, free: 64.7 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/1.995, allocations: 0.6816 MB / 1.213 GB, free: 64.68 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005957/2.001, allocations: 0.929 MB / 1.214 GB, free: 64.67 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0499/2.051, allocations: 16.44 MB / 1.23 GB, free: 63.86 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000379/2.051, allocations: 24.75 kB / 1.23 GB, free: 63.85 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003432/2.055, allocations: 327.8 kB / 1.23 GB, free: 63.85 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/2.055, allocations: 365 kB / 1.23 GB, free: 63.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04715/2.103, allocations: 20.89 MB / 1.251 GB, free: 63.76 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1267/2.229, allocations: 81.81 MB / 1.331 GB, free: 2.652 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/2.249, allocations: 12.64 MB / 1.343 GB, free: 6.262 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/2.264, allocations: 9.494 MB / 1.352 GB, free: 12.76 MB / 0.8263 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.06885/2.333, allocations: 34.64 MB / 1.386 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0159/2.349, allocations: 9.697 MB / 1.396 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0218/2.37, allocations: 5.773 MB / 1.401 GB, free: 10.41 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=572): time 2.968e-05/2.37, allocations: 1.312 kB / 1.401 GB, free: 10.41 MB / 0.8732 GB Notification: Performance of matching and sorting (n=864): time 1.301/3.671, allocations: 238.7 MB / 1.634 GB, free: 439.5 MB / 0.9825 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.1169/3.788, allocations: 55.29 MB / 1.688 GB, free: 383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02097/3.809, allocations: 17.62 MB / 1.706 GB, free: 365.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.003639/3.813, allocations: 229.7 kB / 1.706 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.005521/3.818, allocations: 7.206 MB / 1.713 GB, free: 358.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.01088/3.829, allocations: 3.109 MB / 1.716 GB, free: 355.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01139/3.841, allocations: 4.083 MB / 1.72 GB, free: 351.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 3.361e-05/3.841, allocations: 305.1 kB / 1.72 GB, free: 351 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0296/3.87, allocations: 24.24 MB / 1.744 GB, free: 326.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03152/3.902, allocations: 26.85 MB / 1.77 GB, free: 298.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06005/3.962, allocations: 44.27 MB / 1.813 GB, free: 253.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.986e-05/3.962, allocations: 16 kB / 1.813 GB, free: 253.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 0.6409/4.603, allocations: 142.8 MB / 1.953 GB, free: 110.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/4.603, allocations: 57.73 kB / 1.953 GB, free: 110.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/4.603, allocations: 48 kB / 1.953 GB, free: 110.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.905/5.508, allocations: 119.9 MB / 2.07 GB, free: 449.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01946/5.528, allocations: 3.513 MB / 2.073 GB, free: 449.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1433/5.671, allocations: 84.04 MB / 2.155 GB, free: 423 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2237/5.895, allocations: 10.49 MB / 2.166 GB, free: 416.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00609/5.901, allocations: 1.632 MB / 2.167 GB, free: 415.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03813/5.939, allocations: 27.27 MB / 2.194 GB, free: 391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03076/5.97, allocations: 26.38 MB / 2.22 GB, free: 363.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0581/6.028, allocations: 43.35 MB / 2.262 GB, free: 319.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.245e-05/6.028, allocations: 16 kB / 2.262 GB, free: 319.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.6004/6.628, allocations: 141.2 MB / 2.4 GB, free: 179.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/6.628, allocations: 61.69 kB / 2.4 GB, free: 179.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/6.629, allocations: 48.84 kB / 2.4 GB, free: 179 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5712/7.2, allocations: 118.9 MB / 2.516 GB, free: 60.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01593/7.216, allocations: 3.459 MB / 2.52 GB, free: 57.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4265/7.642, allocations: 88.28 MB / 2.606 GB, free: 431 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2258/7.868, allocations: 10.51 MB / 2.616 GB, free: 430.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005527/7.874, allocations: 1.603 MB / 2.618 GB, free: 430.4 MB / 0.9825 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.005643/7.879, allocations: 0.7384 MB / 2.618 GB, free: 430 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005817/7.885, allocations: 1.481 MB / 2.62 GB, free: 430 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2036/8.089, allocations: 67.97 MB / 2.686 GB, free: 406.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2212/8.31, allocations: 82.63 MB / 2.767 GB, free: 323.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.067e-05/8.31, allocations: 31.84 kB / 2.767 GB, free: 323.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2105/8.521, allocations: 81.51 MB / 2.846 GB, free: 242.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3196/8.84, allocations: 206.4 MB / 3.048 GB, free: 36.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.528e-05/8.84, allocations: 0 / 3.048 GB, free: 36.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01157/8.852, allocations: 2.133 MB / 3.05 GB, free: 33.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8026/9.654, allocations: 144.9 MB / 3.192 GB, free: 395.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003228/9.658, allocations: 0.8057 MB / 3.192 GB, free: 394.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1159/9.774, allocations: 71.82 MB / 3.262 GB, free: 328.5 MB / 0.9825 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]