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.001292/0.001292, allocations: 79.34 kB / 19.76 MB, free: 1.875 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.001351/0.001351, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.382/1.382, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.002401/0.002401, allocations: 234.5 kB / 260 MB, free: 468 kB / 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 0.9204/0.9204, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1") [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.002999/0.002999, allocations: 95.84 kB / 0.6474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4836, allocations: 95.35 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.73/1.214, allocations: 328.8 MB / 1.062 GB, free: 47.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.08374/1.297, allocations: 70.83 MB / 1.131 GB, free: 32.78 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01376/1.311, allocations: 0.5766 MB / 1.131 GB, free: 32.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01528/1.326, allocations: 6.383 MB / 1.138 GB, free: 28.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03594/1.362, allocations: 15.05 MB / 1.152 GB, free: 16.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02111/1.383, allocations: 10.51 MB / 1.162 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.1277/1.511, allocations: 87.05 MB / 1.247 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02518/1.536, allocations: 15.81 MB / 1.263 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04122/1.577, allocations: 18.11 MB / 1.281 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03367/1.611, allocations: 16.94 MB / 1.297 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.007836/1.619, allocations: 1.848 MB / 1.299 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01998/1.639, allocations: 5.021 MB / 1.304 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01224/1.651, allocations: 6.517 MB / 1.31 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.02222/1.673, allocations: 9.069 MB / 1.319 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.05099/1.724, allocations: 30.69 MB / 1.349 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.724, allocations: 0 / 1.349 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.724, allocations: 3.938 kB / 1.349 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0008473/1.725, allocations: 0 / 1.349 GB, free: 6.797 MB / 0.9981 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.06119/1.786, allocations: 21.59 MB / 1.37 GB, free: 1.043 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.787, allocations: 8.625 kB / 1.37 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/1.804, allocations: 3.313 MB / 1.373 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3841/2.189, allocations: 20.62 MB / 1.393 GB, free: 415.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007535/2.189, allocations: 0.6744 MB / 1.394 GB, free: 414.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004268/2.194, allocations: 0.9403 MB / 1.395 GB, free: 414.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/2.229, allocations: 18.21 MB / 1.413 GB, free: 407.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/2.229, allocations: 12.89 kB / 1.413 GB, free: 407.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/2.232, allocations: 332 kB / 1.413 GB, free: 407 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003708/2.232, allocations: 372.2 kB / 1.414 GB, free: 406.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03813/2.27, allocations: 21.88 MB / 1.435 GB, free: 397.4 MB / 1.029 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.1075/2.378, allocations: 61.95 MB / 1.495 GB, free: 345.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/2.395, allocations: 11.95 MB / 1.507 GB, free: 333.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01134/2.407, allocations: 8.666 MB / 1.516 GB, free: 325 MB / 1.029 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.05321/2.46, allocations: 29.66 MB / 1.545 GB, free: 295.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01302/2.473, allocations: 11.34 MB / 1.556 GB, free: 284 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02627/2.499, allocations: 8.201 MB / 1.564 GB, free: 276.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=588): time 3.083e-05/2.499, allocations: 0 / 1.564 GB, free: 276.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=880): time 0.965/3.464, allocations: 239.6 MB / 1.798 GB, free: 36 MB / 1.029 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.4914/3.956, allocations: 52.73 MB / 1.849 GB, free: 368.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02954/3.985, allocations: 17.01 MB / 1.866 GB, free: 363.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003674/3.989, allocations: 231.3 kB / 1.866 GB, free: 363.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.006995/3.996, allocations: 8.047 MB / 1.874 GB, free: 358.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.01035/4.006, allocations: 3.328 MB / 1.877 GB, free: 357 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01215/4.018, allocations: 4.097 MB / 1.881 GB, free: 356.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/4.018, allocations: 308.2 kB / 1.881 GB, free: 355.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03198/4.05, allocations: 24.78 MB / 1.906 GB, free: 349 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03482/4.085, allocations: 29.92 MB / 1.935 GB, free: 336.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06434/4.149, allocations: 45.24 MB / 1.979 GB, free: 293.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.28e-05/4.15, allocations: 12 kB / 1.979 GB, free: 293.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=1388) (initialization): time 0.629/4.779, allocations: 143.6 MB / 2.119 GB, free: 151.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/4.779, allocations: 58.69 kB / 2.119 GB, free: 151.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/4.779, allocations: 48 kB / 2.119 GB, free: 151.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6037/5.382, allocations: 119.7 MB / 2.236 GB, free: 31.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01926/5.402, allocations: 3.603 MB / 2.24 GB, free: 27.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5425/5.944, allocations: 83.34 MB / 2.321 GB, free: 342.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2158/6.16, allocations: 10.59 MB / 2.331 GB, free: 342.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006318/6.166, allocations: 1.619 MB / 2.333 GB, free: 342.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03932/6.206, allocations: 28.15 MB / 2.361 GB, free: 330.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03324/6.239, allocations: 29.38 MB / 2.389 GB, free: 310.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06656/6.305, allocations: 44.16 MB / 2.432 GB, free: 265.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.77e-05/6.306, allocations: 12 kB / 2.432 GB, free: 265.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=1388) (initialization_lambda0): time 0.6374/6.943, allocations: 141.9 MB / 2.571 GB, free: 124.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/6.943, allocations: 53.7 kB / 2.571 GB, free: 124.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-05/6.943, allocations: 48.84 kB / 2.571 GB, free: 124.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9947/7.938, allocations: 118.7 MB / 2.687 GB, free: 347.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01957/7.957, allocations: 3.56 MB / 2.69 GB, free: 347.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1567/8.114, allocations: 86.19 MB / 2.775 GB, free: 325 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2246/8.339, allocations: 10.63 MB / 2.785 GB, free: 321.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005953/8.345, allocations: 1.584 MB / 2.787 GB, free: 320.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * 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 (1028): * Single equations (assignments): 1010 * 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.006021/8.351, allocations: 0.7382 MB / 2.787 GB, free: 319.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007912/8.359, allocations: 1.71 MB / 2.789 GB, free: 319.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2159/8.574, allocations: 68.26 MB / 2.856 GB, free: 258.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.238/8.812, allocations: 81.76 MB / 2.935 GB, free: 176.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.075e-05/8.812, allocations: 28 kB / 2.936 GB, free: 176.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2223/9.035, allocations: 80.64 MB / 3.014 GB, free: 95.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7978/9.833, allocations: 168.2 MB / 3.178 GB, free: 334.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.365e-05/9.833, allocations: 3.969 kB / 3.178 GB, free: 334.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01335/9.846, allocations: 2.233 MB / 3.181 GB, free: 333.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5742/10.42, allocations: 144.5 MB / 3.322 GB, free: 203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003752/10.42, allocations: 0.8102 MB / 3.323 GB, free: 202.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1238/10.55, allocations: 71.44 MB / 3.392 GB, free: 130.7 MB / 1.029 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:2355:10-2355:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2272:9-2272: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:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.463052342063747] Failed to read output from testmodel.py, exit status != 0: 11.990022037061863 11.998283852 10.271390543 Calling exit ...