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.001362/0.001362, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001388/0.001388, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 282.5 kB / 309.1 MB, free: 3.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.187/1.187, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 104.1 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.152, allocations: 95.34 MB / 0.8274 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.7292/0.8812, allocations: 361.7 MB / 1.181 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1142/0.9953, allocations: 76.05 MB / 1.255 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.018/1.013, allocations: 0.5811 MB / 1.255 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.02021/1.034, allocations: 6.622 MB / 1.262 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.04083/1.074, allocations: 14.76 MB / 1.276 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.02504/1.099, allocations: 10.41 MB / 1.286 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 1.009/2.108, allocations: 74.53 MB / 1.359 GB, free: 63.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02789/2.136, allocations: 17.43 MB / 1.376 GB, free: 62.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03543/2.172, allocations: 17.72 MB / 1.394 GB, free: 61.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02981/2.201, allocations: 17.27 MB / 1.41 GB, free: 59.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.008704/2.21, allocations: 1.987 MB / 1.412 GB, free: 59.67 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02237/2.233, allocations: 6.337 MB / 1.419 GB, free: 59.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.01069/2.243, allocations: 6.699 MB / 1.425 GB, free: 58.72 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0234/2.267, allocations: 11.31 MB / 1.436 GB, free: 55.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04519/2.312, allocations: 31.91 MB / 1.467 GB, free: 46.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/2.312, allocations: 0 / 1.467 GB, free: 46.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/2.312, allocations: 0 / 1.467 GB, free: 46.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0009116/2.313, allocations: 3.188 kB / 1.467 GB, free: 46.37 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.06446/2.377, allocations: 22.39 MB / 1.489 GB, free: 32.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/2.377, allocations: 16.02 kB / 1.489 GB, free: 32.97 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005511/2.383, allocations: 1.05 MB / 1.49 GB, free: 32.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/2.401, allocations: 3.305 MB / 1.493 GB, free: 29.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04313/2.444, allocations: 23.21 MB / 1.516 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006619/2.445, allocations: 0.6698 MB / 1.517 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005055/2.45, allocations: 0.9474 MB / 1.518 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03542/2.485, allocations: 17.27 MB / 1.535 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002868/2.486, allocations: 10 kB / 1.535 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003516/2.489, allocations: 328.7 kB / 1.535 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000437/2.49, allocations: 370.3 kB / 1.535 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04527/2.535, allocations: 21.89 MB / 1.557 GB, free: 9.043 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.152/2.687, allocations: 82 MB / 1.637 GB, free: 4.793 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02403/2.711, allocations: 12.12 MB / 1.649 GB, free: 8.93 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01597/2.727, allocations: 8.666 MB / 1.657 GB, free: 256 kB / 1.092 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.07674/2.804, allocations: 34.51 MB / 1.691 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02109/2.825, allocations: 10.37 MB / 1.701 GB, free: 2.953 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03144/2.856, allocations: 8.274 MB / 1.709 GB, free: 10.86 MB / 1.154 GB Notification: Performance of pre-optimization done (n=588): time 2.981e-05/2.856, allocations: 0 / 1.709 GB, free: 10.86 MB / 1.154 GB Notification: Performance of matching and sorting (n=880): time 1.329/4.185, allocations: 239.8 MB / 1.943 GB, free: 448.2 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.117/4.302, allocations: 55.34 MB / 1.997 GB, free: 391.4 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03268/4.335, allocations: 20.49 MB / 2.017 GB, free: 371.1 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.003911/4.339, allocations: 229.7 kB / 2.017 GB, free: 370.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.007278/4.346, allocations: 7.849 MB / 2.025 GB, free: 363.3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.01039/4.356, allocations: 3.333 MB / 2.028 GB, free: 360 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01509/4.371, allocations: 4.562 MB / 2.033 GB, free: 355.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 2.998e-05/4.371, allocations: 301.1 kB / 2.033 GB, free: 355.2 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03245/4.404, allocations: 25.64 MB / 2.058 GB, free: 329.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0353/4.439, allocations: 28.48 MB / 2.086 GB, free: 300 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06432/4.503, allocations: 46.84 MB / 2.132 GB, free: 252.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.097e-05/4.503, allocations: 12 kB / 2.132 GB, free: 252.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6259/5.129, allocations: 145.7 MB / 2.274 GB, free: 106.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/5.129, allocations: 49.92 kB / 2.274 GB, free: 106.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.069e-05/5.13, allocations: 59.94 kB / 2.274 GB, free: 106.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9775/6.107, allocations: 119.8 MB / 2.391 GB, free: 0.5049 GB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02063/6.128, allocations: 3.795 MB / 2.395 GB, free: 0.5049 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1519/6.28, allocations: 84.31 MB / 2.477 GB, free: 489.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2151/6.495, allocations: 10.62 MB / 2.487 GB, free: 482.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00845/6.503, allocations: 1.664 MB / 2.489 GB, free: 481.1 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0433/6.546, allocations: 29.03 MB / 2.517 GB, free: 452.1 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03536/6.582, allocations: 27.97 MB / 2.545 GB, free: 423.1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06347/6.645, allocations: 45.77 MB / 2.589 GB, free: 376.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.015e-05/6.645, allocations: 12 kB / 2.589 GB, free: 376.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6081/7.253, allocations: 143.9 MB / 2.73 GB, free: 233.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/7.254, allocations: 53.7 kB / 2.73 GB, free: 233.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.689e-05/7.254, allocations: 52 kB / 2.73 GB, free: 233.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5812/7.835, allocations: 118.8 MB / 2.846 GB, free: 115 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/7.853, allocations: 3.749 MB / 2.85 GB, free: 111.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.142/7.995, allocations: 88.2 MB / 2.936 GB, free: 22.99 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6407/8.636, allocations: 10.66 MB / 2.946 GB, free: 0.4914 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007752/8.643, allocations: 1.636 MB / 2.948 GB, free: 0.4914 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.008892/8.652, allocations: 0.7707 MB / 2.949 GB, free: 0.4912 GB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008849/8.661, allocations: 1.713 MB / 2.95 GB, free: 0.4912 GB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.23/8.891, allocations: 68.17 MB / 3.017 GB, free: 499 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2354/9.126, allocations: 81.73 MB / 3.097 GB, free: 447 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001489/9.127, allocations: 28 kB / 3.097 GB, free: 446.9 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2222/9.349, allocations: 80.61 MB / 3.175 GB, free: 366.4 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3798/9.729, allocations: 214.8 MB / 3.385 GB, free: 151.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.596e-05/9.729, allocations: 8.125 kB / 3.385 GB, free: 151.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01323/9.742, allocations: 2.238 MB / 3.387 GB, free: 149.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9481/10.69, allocations: 144.7 MB / 3.529 GB, free: 0.4945 GB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004477/10.69, allocations: 0.8119 MB / 3.53 GB, free: 0.4945 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1369/10.83, allocations: 72.12 MB / 3.6 GB, free: 490.7 MB / 1.201 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 647] [Calling sys.exit(0), Time elapsed: 16.357995580881834] Failed to read output from testmodel.py, exit status != 0: 12.580444751307368 12.590842004 10.276351306 Calling exit ...