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.01009/0.01009, allocations: 104.2 kB / 15.74 MB, free: 5.984 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.002851/0.002851, allocations: 197.8 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.163/2.163, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.297/1.297, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002376, allocations: 59 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3115, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 1.239/1.551, allocations: 355.5 MB / 1.006 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.9774/2.528, allocations: 72.82 MB / 1.078 GB, free: 36.49 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02993/2.558, allocations: 428.6 kB / 1.078 GB, free: 36.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.02681/2.585, allocations: 5.311 MB / 1.083 GB, free: 36.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.07422/2.66, allocations: 13.51 MB / 1.096 GB, free: 36.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.04552/2.705, allocations: 9.735 MB / 1.106 GB, free: 35.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.08487/2.79, allocations: 37.63 MB / 1.143 GB, free: 35.11 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05127/2.841, allocations: 19.83 MB / 1.162 GB, free: 29.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05829/2.9, allocations: 17.13 MB / 1.179 GB, free: 22.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04276/2.943, allocations: 15.89 MB / 1.194 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.01121/2.954, allocations: 1.871 MB / 1.196 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02906/2.983, allocations: 5.709 MB / 1.202 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.01656/3, allocations: 5.811 MB / 1.207 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.03937/3.039, allocations: 10.39 MB / 1.217 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.08149/3.121, allocations: 29.1 MB / 1.246 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/3.121, allocations: 0 / 1.246 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/3.121, allocations: 0 / 1.246 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.001089/3.122, allocations: 4 kB / 1.246 GB, free: 4.246 MB / 0.8575 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.1107/3.233, allocations: 22.28 MB / 1.268 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/3.233, allocations: 12.03 kB / 1.268 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007537/3.24, allocations: 1.042 MB / 1.269 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/3.26, allocations: 2.239 MB / 1.271 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06639/3.327, allocations: 18 MB / 1.288 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00132/3.328, allocations: 0.667 MB / 1.289 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007598/3.336, allocations: 0.9329 MB / 1.29 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06685/3.403, allocations: 16.45 MB / 1.306 GB, free: 6.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006088/3.403, allocations: 15.78 kB / 1.306 GB, free: 6.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006828/3.41, allocations: 330 kB / 1.306 GB, free: 6.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007695/3.411, allocations: 375.2 kB / 1.307 GB, free: 6.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06691/3.478, allocations: 20.88 MB / 1.327 GB, free: 1.145 MB / 0.9356 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.23/3.708, allocations: 81.48 MB / 1.407 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03401/3.742, allocations: 12.65 MB / 1.419 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02419/3.767, allocations: 9.501 MB / 1.428 GB, free: 7.195 MB / 1.045 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.8705/4.637, allocations: 34.64 MB / 1.462 GB, free: 499.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0334/4.671, allocations: 9.693 MB / 1.472 GB, free: 496 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03798/4.709, allocations: 5.758 MB / 1.477 GB, free: 495.4 MB / 1.045 GB Notification: Performance of pre-optimization done (n=572): time 7.614e-05/4.709, allocations: 0 / 1.477 GB, free: 495.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=864): time 1.622/6.33, allocations: 238.7 MB / 1.71 GB, free: 275.1 MB / 1.045 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.2473/6.578, allocations: 55.24 MB / 1.764 GB, free: 218.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06088/6.639, allocations: 17.62 MB / 1.781 GB, free: 200.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.008253/6.647, allocations: 225.7 kB / 1.782 GB, free: 200.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.01581/6.663, allocations: 7.153 MB / 1.789 GB, free: 193.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.02197/6.685, allocations: 3.118 MB / 1.792 GB, free: 190.4 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03208/6.717, allocations: 4.087 MB / 1.796 GB, free: 186.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/6.717, allocations: 305.1 kB / 1.796 GB, free: 186 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06599/6.783, allocations: 24.24 MB / 1.82 GB, free: 161.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07239/6.856, allocations: 26.84 MB / 1.846 GB, free: 133.9 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1248/6.981, allocations: 44.28 MB / 1.889 GB, free: 88.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/6.981, allocations: 12 kB / 1.889 GB, free: 88.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 1.687/8.669, allocations: 142.8 MB / 2.029 GB, free: 451.1 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/8.669, allocations: 61.8 kB / 2.029 GB, free: 451.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/8.669, allocations: 54.09 kB / 2.029 GB, free: 451.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9666/9.636, allocations: 119.8 MB / 2.146 GB, free: 357.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03214/9.668, allocations: 3.503 MB / 2.149 GB, free: 354.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.297/9.965, allocations: 84.01 MB / 2.231 GB, free: 270.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3394/10.3, allocations: 10.49 MB / 2.241 GB, free: 259.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01561/10.32, allocations: 1.633 MB / 2.243 GB, free: 258.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.08211/10.4, allocations: 27.28 MB / 2.27 GB, free: 230.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06917/10.47, allocations: 26.37 MB / 2.295 GB, free: 203.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1271/10.6, allocations: 43.35 MB / 2.338 GB, free: 159.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000173/10.6, allocations: 19.94 kB / 2.338 GB, free: 159.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 1.814/12.41, allocations: 141.2 MB / 2.476 GB, free: 442 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002956/12.41, allocations: 54.92 kB / 2.476 GB, free: 441.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000351/12.41, allocations: 52.28 kB / 2.476 GB, free: 441.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9809/13.39, allocations: 118.8 MB / 2.592 GB, free: 416.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02807/13.42, allocations: 3.469 MB / 2.595 GB, free: 412.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3314/13.75, allocations: 88.24 MB / 2.681 GB, free: 324.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.305/14.06, allocations: 10.51 MB / 2.692 GB, free: 314 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01418/14.07, allocations: 1.601 MB / 2.693 GB, free: 312.4 MB / 1.045 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.02109/14.1, allocations: 0.7375 MB / 2.694 GB, free: 311.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02042/14.12, allocations: 1.482 MB / 2.695 GB, free: 311.1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3757/14.49, allocations: 67.94 MB / 2.762 GB, free: 243.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.369/14.86, allocations: 82.64 MB / 2.842 GB, free: 160.6 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002824/14.86, allocations: 35.94 kB / 2.842 GB, free: 160.6 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3342/15.2, allocations: 81.5 MB / 2.922 GB, free: 78.96 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.298/16.49, allocations: 206.3 MB / 3.123 GB, free: 385.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002262/16.49, allocations: 0 / 3.123 GB, free: 385.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02308/16.52, allocations: 2.138 MB / 3.125 GB, free: 383.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9867/17.5, allocations: 144.7 MB / 3.267 GB, free: 240.4 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007331/17.51, allocations: 0.8063 MB / 3.268 GB, free: 239.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2236/17.73, allocations: 71.8 MB / 3.338 GB, free: 167.7 MB / 1.045 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:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265: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:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:804:5-804:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]