Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 209.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002365/0.002365, allocations: 291 kB / 312.7 MB, free: 2.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.147/1.147, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 100 kB / 0.7396 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1505, allocations: 95.38 MB / 0.8328 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.6893/0.8398, allocations: 365.2 MB / 1.189 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1089/0.9487, allocations: 76.35 MB / 1.264 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01253/0.9612, allocations: 0.5771 MB / 1.265 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01725/0.9785, allocations: 6.726 MB / 1.271 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.03838/1.017, allocations: 15.04 MB / 1.286 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0238/1.041, allocations: 10.68 MB / 1.296 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.9717/2.012, allocations: 76.58 MB / 1.371 GB, free: 63.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02383/2.036, allocations: 15.86 MB / 1.386 GB, free: 62.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03417/2.07, allocations: 17.81 MB / 1.404 GB, free: 61.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02814/2.099, allocations: 17.29 MB / 1.421 GB, free: 59.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.009144/2.108, allocations: 1.982 MB / 1.423 GB, free: 59.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/2.126, allocations: 6.469 MB / 1.429 GB, free: 59.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.009632/2.136, allocations: 6.723 MB / 1.436 GB, free: 58.6 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01951/2.155, allocations: 11.33 MB / 1.447 GB, free: 55.67 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0409/2.196, allocations: 31.91 MB / 1.478 GB, free: 46.01 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/2.196, allocations: 0 / 1.478 GB, free: 46.01 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/2.196, allocations: 0 / 1.478 GB, free: 46.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0009432/2.197, allocations: 0 / 1.478 GB, free: 46.01 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.05902/2.256, allocations: 22.33 MB / 1.5 GB, free: 30.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/2.256, allocations: 15.44 kB / 1.5 GB, free: 30.55 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004328/2.261, allocations: 1.048 MB / 1.501 GB, free: 30 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/2.277, allocations: 3.319 MB / 1.504 GB, free: 26.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04408/2.321, allocations: 23.2 MB / 1.527 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006005/2.322, allocations: 0.6777 MB / 1.527 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00453/2.327, allocations: 0.9403 MB / 1.528 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03471/2.361, allocations: 17.28 MB / 1.545 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/2.361, allocations: 11.38 kB / 1.545 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002571/2.364, allocations: 333.3 kB / 1.545 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003873/2.364, allocations: 374.4 kB / 1.546 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04442/2.409, allocations: 21.9 MB / 1.567 GB, free: 4.352 MB / 0.9982 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.1564/2.565, allocations: 82.09 MB / 1.647 GB, free: 16 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/2.588, allocations: 11.99 MB / 1.659 GB, free: 4.297 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01612/2.605, allocations: 8.665 MB / 1.667 GB, free: 11.62 MB / 1.108 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.0766/2.681, allocations: 33.09 MB / 1.7 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01925/2.7, allocations: 10.38 MB / 1.71 GB, free: 204 kB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02988/2.73, allocations: 8.273 MB / 1.718 GB, free: 8.137 MB / 1.154 GB Notification: Performance of pre-optimization done (n=588): time 2.959e-05/2.73, allocations: 3.984 kB / 1.718 GB, free: 8.133 MB / 1.154 GB Notification: Performance of matching and sorting (n=880): time 1.229/3.96, allocations: 239.6 MB / 1.952 GB, free: 445.6 MB / 1.201 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.1199/4.079, allocations: 54.33 MB / 2.005 GB, free: 390.1 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.036/4.115, allocations: 20.55 MB / 2.025 GB, free: 369.7 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004546/4.12, allocations: 233.7 kB / 2.025 GB, free: 369.5 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.008651/4.129, allocations: 7.84 MB / 2.033 GB, free: 362 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0106/4.139, allocations: 3.349 MB / 2.036 GB, free: 358.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01555/4.155, allocations: 4.554 MB / 2.041 GB, free: 354.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/4.155, allocations: 301.1 kB / 2.041 GB, free: 353.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0304/4.185, allocations: 25.66 MB / 2.066 GB, free: 328.1 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03316/4.218, allocations: 28.52 MB / 2.094 GB, free: 298.6 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0625/4.281, allocations: 46.88 MB / 2.14 GB, free: 250.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.569e-05/4.281, allocations: 12 kB / 2.14 GB, free: 250.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5611/4.842, allocations: 145.7 MB / 2.282 GB, free: 105 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/4.842, allocations: 57.91 kB / 2.282 GB, free: 105 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.881e-05/4.842, allocations: 52 kB / 2.282 GB, free: 104.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9072/5.749, allocations: 119.8 MB / 2.399 GB, free: 0.5053 GB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01907/5.768, allocations: 3.794 MB / 2.403 GB, free: 0.5053 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1475/5.916, allocations: 84.21 MB / 2.485 GB, free: 489.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1709/6.087, allocations: 10.62 MB / 2.495 GB, free: 482.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006934/6.094, allocations: 1.664 MB / 2.497 GB, free: 480.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04305/6.137, allocations: 29.04 MB / 2.525 GB, free: 451.8 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03633/6.173, allocations: 27.99 MB / 2.553 GB, free: 422.8 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06432/6.237, allocations: 45.81 MB / 2.597 GB, free: 376.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-05/6.237, allocations: 16 kB / 2.597 GB, free: 376.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5608/6.798, allocations: 144 MB / 2.738 GB, free: 233.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/6.798, allocations: 53.7 kB / 2.738 GB, free: 233.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-05/6.798, allocations: 48 kB / 2.738 GB, free: 233 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5265/7.325, allocations: 118.8 MB / 2.854 GB, free: 114.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01789/7.343, allocations: 3.756 MB / 2.858 GB, free: 110.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.149/7.492, allocations: 87.99 MB / 2.944 GB, free: 22.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5954/8.087, allocations: 10.67 MB / 2.954 GB, free: 0.4919 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008291/8.096, allocations: 1.633 MB / 2.956 GB, free: 0.4919 GB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.00678/8.102, allocations: 0.7701 MB / 2.957 GB, free: 0.4917 GB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006899/8.109, allocations: 1.714 MB / 2.958 GB, free: 0.4917 GB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1974/8.307, allocations: 68.19 MB / 3.025 GB, free: 499.6 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.217/8.524, allocations: 81.76 MB / 3.105 GB, free: 448.9 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001938/8.524, allocations: 28 kB / 3.105 GB, free: 448.8 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2016/8.725, allocations: 80.64 MB / 3.183 GB, free: 368.3 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3708/9.096, allocations: 214.9 MB / 3.393 GB, free: 153.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-05/9.096, allocations: 3.75 kB / 3.393 GB, free: 153.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01235/9.109, allocations: 2.242 MB / 3.395 GB, free: 151.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9096/10.02, allocations: 144.7 MB / 3.537 GB, free: 0.4943 GB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004614/10.02, allocations: 0.8112 MB / 3.538 GB, free: 0.4943 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1226/10.15, allocations: 72.03 MB / 3.608 GB, free: 490.7 MB / 1.201 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.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 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].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. 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 (631): * Single equations (assignments): 608 * 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), (63,191)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 648] [Calling sys.exit(0), Time elapsed: 15.429790307000076] Failed to read output from testmodel.py, exit status != 0: 11.791784263998125 11.802662124 9.603923964 Calling exit ...