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.001232/0.001232, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001359/0.001359, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002461/0.002461, allocations: 277.3 kB / 313.5 MB, free: 2.809 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.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="cs",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.002729/0.002729, allocations: 103.1 kB / 0.7404 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1608, allocations: 95.38 MB / 0.8335 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.6995/0.8603, allocations: 365.2 MB / 1.19 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1156/0.9759, allocations: 76.35 MB / 1.265 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01433/0.9902, allocations: 0.5771 MB / 1.265 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.02/1.01, allocations: 6.735 MB / 1.272 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.04301/1.053, allocations: 15.05 MB / 1.287 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.02579/1.079, allocations: 10.67 MB / 1.297 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 1.001/2.08, allocations: 76.58 MB / 1.372 GB, free: 63.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02611/2.106, allocations: 15.86 MB / 1.387 GB, free: 62.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04096/2.147, allocations: 17.82 MB / 1.405 GB, free: 61.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02836/2.175, allocations: 17.28 MB / 1.422 GB, free: 59.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.008124/2.184, allocations: 1.981 MB / 1.423 GB, free: 59.67 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02037/2.204, allocations: 6.476 MB / 1.43 GB, free: 59.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.01084/2.215, allocations: 6.72 MB / 1.436 GB, free: 58.72 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.02606/2.241, allocations: 11.32 MB / 1.447 GB, free: 55.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04648/2.287, allocations: 31.91 MB / 1.479 GB, free: 46.13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/2.287, allocations: 0 / 1.479 GB, free: 46.13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/2.287, allocations: 0 / 1.479 GB, free: 46.13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.001297/2.289, allocations: 0 / 1.479 GB, free: 46.13 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.06792/2.357, allocations: 22.33 MB / 1.5 GB, free: 30.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/2.357, allocations: 8.625 kB / 1.5 GB, free: 30.61 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001755/2.357, allocations: 207.8 kB / 1.501 GB, free: 30.4 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004931/2.362, allocations: 1.047 MB / 1.502 GB, free: 29.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/2.379, allocations: 3.314 MB / 1.505 GB, free: 26.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04429/2.424, allocations: 23.21 MB / 1.528 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006914/2.424, allocations: 0.6765 MB / 1.528 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006102/2.43, allocations: 0.9412 MB / 1.529 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03871/2.469, allocations: 17.28 MB / 1.546 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/2.469, allocations: 9.25 kB / 1.546 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003395/2.473, allocations: 330.1 kB / 1.546 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004191/2.473, allocations: 370.1 kB / 1.547 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0467/2.52, allocations: 21.9 MB / 1.568 GB, free: 3.977 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.1527/2.673, allocations: 82.1 MB / 1.648 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02419/2.697, allocations: 11.98 MB / 1.66 GB, free: 3.922 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01626/2.713, allocations: 8.674 MB / 1.668 GB, free: 11.24 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.07551/2.789, allocations: 33.08 MB / 1.701 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02113/2.81, allocations: 10.38 MB / 1.711 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03148/2.841, allocations: 8.276 MB / 1.719 GB, free: 7.754 MB / 1.154 GB Notification: Performance of pre-optimization done (n=588): time 3.045e-05/2.841, allocations: 0 / 1.719 GB, free: 7.754 MB / 1.154 GB Notification: Performance of matching and sorting (n=880): time 1.323/4.165, allocations: 239.6 MB / 1.953 GB, free: 445.1 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.1165/4.281, allocations: 54.33 MB / 2.006 GB, free: 389.6 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03572/4.317, allocations: 20.55 MB / 2.026 GB, free: 369.3 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004834/4.322, allocations: 235.7 kB / 2.026 GB, free: 369 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.009375/4.331, allocations: 7.835 MB / 2.034 GB, free: 361.6 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.01191/4.343, allocations: 3.35 MB / 2.037 GB, free: 358.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01805/4.361, allocations: 4.554 MB / 2.042 GB, free: 353.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/4.361, allocations: 301.1 kB / 2.042 GB, free: 353.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03326/4.394, allocations: 25.66 MB / 2.067 GB, free: 327.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0337/4.428, allocations: 28.52 MB / 2.095 GB, free: 298.1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06273/4.491, allocations: 46.89 MB / 2.141 GB, free: 250.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/4.491, allocations: 16 kB / 2.141 GB, free: 250.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.601/5.092, allocations: 145.7 MB / 2.283 GB, free: 104.6 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/5.092, allocations: 53.7 kB / 2.283 GB, free: 104.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-05/5.092, allocations: 51.98 kB / 2.283 GB, free: 104.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9587/6.051, allocations: 119.8 MB / 2.4 GB, free: 0.5056 GB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01998/6.071, allocations: 3.794 MB / 2.404 GB, free: 0.5056 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1664/6.237, allocations: 84.2 MB / 2.486 GB, free: 489.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2131/6.45, allocations: 10.61 MB / 2.496 GB, free: 482 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00806/6.458, allocations: 1.672 MB / 2.498 GB, free: 480.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04607/6.504, allocations: 29.04 MB / 2.526 GB, free: 451.3 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03585/6.54, allocations: 27.98 MB / 2.554 GB, free: 422.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06036/6.6, allocations: 45.81 MB / 2.598 GB, free: 375.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.721e-05/6.6, allocations: 19.94 kB / 2.598 GB, free: 375.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.603/7.203, allocations: 144 MB / 2.739 GB, free: 232.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/7.204, allocations: 53.7 kB / 2.739 GB, free: 232.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.093e-05/7.204, allocations: 53.53 kB / 2.739 GB, free: 232.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5686/7.772, allocations: 118.8 MB / 2.855 GB, free: 114.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/7.79, allocations: 3.755 MB / 2.859 GB, free: 110.4 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1507/7.941, allocations: 87.99 MB / 2.945 GB, free: 22.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5796/8.521, allocations: 10.67 MB / 2.955 GB, free: 0.4916 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01079/8.531, allocations: 1.632 MB / 2.957 GB, free: 0.4916 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.01047/8.542, allocations: 0.7695 MB / 2.957 GB, free: 0.4915 GB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009599/8.551, allocations: 1.714 MB / 2.959 GB, free: 0.4915 GB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2217/8.773, allocations: 68.2 MB / 3.026 GB, free: 499.3 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.237/9.01, allocations: 81.76 MB / 3.106 GB, free: 448.3 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000225/9.01, allocations: 28 kB / 3.106 GB, free: 448.3 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2264/9.237, allocations: 80.63 MB / 3.184 GB, free: 367.7 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3869/9.624, allocations: 214.9 MB / 3.394 GB, free: 152.9 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.103e-05/9.624, allocations: 128 / 3.394 GB, free: 152.9 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01284/9.637, allocations: 2.245 MB / 3.396 GB, free: 150.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.98/10.62, allocations: 144.7 MB / 3.538 GB, free: 0.4942 GB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004441/10.62, allocations: 0.8078 MB / 3.539 GB, free: 0.4942 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1317/10.75, allocations: 72.03 MB / 3.609 GB, free: 490.5 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: 16.179666794021614] Failed to read output from testmodel.py, exit status != 0: 12.466769963968545 12.477586769 10.187568891 Calling exit ...