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.0009392/0.0009392, allocations: 81.95 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001103/0.001103, allocations: 169.7 kB / 23.28 MB, free: 1.223 MB / 18.57 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 0.9791/0.9791, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 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.001679/0.001679, allocations: 245 kB / 260.5 MB, free: 12.67 MB / 250.7 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.7516/0.7516, allocations: 138.4 MB / 455.5 MB, free: 1.414 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.475e-05, allocations: 2.312 kB / 0.5556 GB, free: 248 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.289/0.2891, allocations: 73.94 MB / 0.6278 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.05495/0.344, allocations: 30.62 MB / 0.6577 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01548/0.3595, allocations: 0.5768 MB / 0.6583 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.372, allocations: 4.251 MB / 0.6624 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.02417/0.3962, allocations: 10.39 MB / 0.6726 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.4149, allocations: 9.735 MB / 0.6821 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.08392/0.4988, allocations: 86.45 MB / 0.7665 GB, free: 7.75 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02719/0.526, allocations: 17.24 MB / 0.7834 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.049/0.575, allocations: 22.25 MB / 0.8051 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02466/0.5996, allocations: 15.21 MB / 0.8199 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.008235/0.6079, allocations: 1.754 MB / 0.8217 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.6214, allocations: 2.697 MB / 0.8243 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.01011/0.6315, allocations: 6.529 MB / 0.8307 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.02005/0.6516, allocations: 7.459 MB / 0.8379 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.4668/1.118, allocations: 19.42 MB / 0.8569 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.118, allocations: 0 / 0.8569 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of FrontEnd: time 9.71e-07/1.118, allocations: 0 / 0.8569 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.000909/1.119, allocations: 2.562 kB / 0.8569 GB, free: 122.5 MB / 0.6512 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.04417/1.163, allocations: 21.04 MB / 0.8775 GB, free: 113.8 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.163, allocations: 10.86 kB / 0.8775 GB, free: 113.8 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/1.181, allocations: 3.717 MB / 0.8811 GB, free: 112.6 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0376/1.219, allocations: 16.14 MB / 0.8969 GB, free: 109.3 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007973/1.22, allocations: 0.6696 MB / 0.8975 GB, free: 109.3 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005749/1.225, allocations: 0.9522 MB / 0.8984 GB, free: 109.2 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02803/1.253, allocations: 10.46 MB / 0.9087 GB, free: 107 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/1.254, allocations: 13.97 kB / 0.9087 GB, free: 107 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003792/1.257, allocations: 329.9 kB / 0.909 GB, free: 107 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003491/1.258, allocations: 374.6 kB / 0.9093 GB, free: 107 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02722/1.285, allocations: 6.472 MB / 0.9157 GB, free: 106.9 MB / 0.6512 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.08355/1.369, allocations: 53.55 MB / 0.968 GB, free: 75.76 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008731/1.377, allocations: 5.605 MB / 0.9734 GB, free: 70.5 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006282/1.384, allocations: 3.851 MB / 0.9772 GB, free: 66.68 MB / 0.6512 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.04206/1.426, allocations: 20.78 MB / 0.9975 GB, free: 46.14 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007206/1.433, allocations: 5.593 MB / 1.003 GB, free: 40.34 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01671/1.45, allocations: 8.049 MB / 1.011 GB, free: 32.54 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=588): time 3.08e-05/1.45, allocations: 0 / 1.011 GB, free: 32.54 MB / 0.6512 GB Notification: Performance of matching and sorting (n=880): time 0.6275/2.077, allocations: 142.3 MB / 1.15 GB, free: 207.5 MB / 0.7293 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.04066/2.118, allocations: 33.14 MB / 1.182 GB, free: 190.1 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01824/2.136, allocations: 13.95 MB / 1.196 GB, free: 186.6 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.003678/2.14, allocations: 230.1 kB / 1.196 GB, free: 186.6 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.007787/2.147, allocations: 8.917 MB / 1.205 GB, free: 185.6 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.01141/2.159, allocations: 3.425 MB / 1.208 GB, free: 184.2 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009824/2.169, allocations: 3.752 MB / 1.212 GB, free: 181.8 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/2.169, allocations: 480.7 kB / 1.212 GB, free: 181.3 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/2.179, allocations: 4.186 MB / 1.216 GB, free: 177.1 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/2.192, allocations: 10.24 MB / 1.226 GB, free: 165.2 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02182/2.214, allocations: 13.09 MB / 1.239 GB, free: 151.5 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.081e-05/2.214, allocations: 16 kB / 1.239 GB, free: 151.5 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1388) (initialization): time 0.232/2.446, allocations: 69.11 MB / 1.307 GB, free: 83 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/2.446, allocations: 53.7 kB / 1.307 GB, free: 82.95 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.517e-05/2.446, allocations: 48 kB / 1.307 GB, free: 82.9 MB / 0.7293 GB Notification: Tearing is skipped for linear strong component 6: solving it torn to 39 iteration variables is estimated at 38673 flops against 14352 for the untorn system of size 104. Notification: Performance of postOpt tearingSystem (initialization): time 0.6028/3.049, allocations: 144.7 MB / 1.448 GB, free: 182.6 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/3.06, allocations: 3.303 MB / 1.451 GB, free: 181.5 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05216/3.112, allocations: 32.98 MB / 1.483 GB, free: 158.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04194/3.154, allocations: 4.711 MB / 1.488 GB, free: 154 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006047/3.16, allocations: 1.539 MB / 1.49 GB, free: 152.5 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01805/3.178, allocations: 4.371 MB / 1.494 GB, free: 148.7 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01168/3.19, allocations: 10.15 MB / 1.504 GB, free: 137.4 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02259/3.212, allocations: 13.57 MB / 1.517 GB, free: 124.6 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.338e-05/3.213, allocations: 16 kB / 1.517 GB, free: 124.6 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1388) (initialization_lambda0): time 0.235/3.448, allocations: 68.28 MB / 1.584 GB, free: 57.97 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/3.448, allocations: 49.7 kB / 1.584 GB, free: 57.91 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.325e-05/3.448, allocations: 52.5 kB / 1.584 GB, free: 57.86 MB / 0.7293 GB Notification: Tearing is skipped for linear strong component 9: solving it torn to 39 iteration variables is estimated at 38673 flops against 14352 for the untorn system of size 104. Notification: Performance of postOpt tearingSystem (initialization): time 0.6161/4.064, allocations: 143.4 MB / 1.724 GB, free: 188 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/4.074, allocations: 3.262 MB / 1.727 GB, free: 185.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05672/4.131, allocations: 31.59 MB / 1.758 GB, free: 165.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0415/4.172, allocations: 4.755 MB / 1.763 GB, free: 160.7 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005614/4.178, allocations: 1.508 MB / 1.764 GB, free: 159.3 MB / 0.7449 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): 9 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(104,2.8%)} * 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): 1 system {(39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.007113/4.185, allocations: 0.8145 MB / 1.765 GB, free: 158.7 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008548/4.193, allocations: 1.964 MB / 1.767 GB, free: 157.7 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09903/4.292, allocations: 40.19 MB / 1.806 GB, free: 118.2 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1017/4.394, allocations: 41.71 MB / 1.847 GB, free: 76.86 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001126/4.394, allocations: 44 kB / 1.847 GB, free: 76.81 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09346/4.488, allocations: 40.79 MB / 1.887 GB, free: 36.32 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4678/4.956, allocations: 78.98 MB / 1.964 GB, free: 198.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.558e-05/4.956, allocations: 3.969 kB / 1.964 GB, free: 198.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0073/4.963, allocations: 1.86 MB / 1.965 GB, free: 198.7 MB / 0.7605 GB Notification: Tearing is skipped for linear strong component 13: solving it torn to 36 iteration variables is estimated at 79236 flops against 16312 for the untorn system of size 117. Notification: Performance of postOpt tearingSystem (simulation): time 0.3248/5.288, allocations: 166.7 MB / 2.128 GB, free: 68.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004148/5.292, allocations: 0.8127 MB / 2.129 GB, free: 68.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0505/5.342, allocations: 30.07 MB / 2.158 GB, free: 41.58 MB / 0.7605 GB Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[4].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[4].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[4].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 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[4].dp ; -valNorth1[2].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 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2298:10-2298:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2216:9-2216: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): 7 * 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): 1 system {(117,2.5%)} * 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): 2 systems {(28,28,89.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 654] [Calling sys.exit(0), Time elapsed: 8.67275365209207]