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.001924/0.001924, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001794/0.001794, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002656/0.002656, allocations: 305.3 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.352/1.352, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 178] 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.002956/0.002956, allocations: 97.75 kB / 0.74 GB, free: 27.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2218, allocations: 95.38 MB / 0.8332 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.9232/1.145, allocations: 328.8 MB / 1.154 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.129/1.274, allocations: 70.81 MB / 1.223 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0186/1.293, allocations: 0.5771 MB / 1.224 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.02306/1.316, allocations: 6.403 MB / 1.23 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.04949/1.365, allocations: 15.05 MB / 1.245 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02989/1.395, allocations: 10.49 MB / 1.255 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.1181/1.513, allocations: 76.35 MB / 1.33 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03202/1.545, allocations: 15.81 MB / 1.345 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.165/2.71, allocations: 18.1 MB / 1.363 GB, free: 73.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03539/2.745, allocations: 16.93 MB / 1.379 GB, free: 73.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.01241/2.758, allocations: 1.85 MB / 1.381 GB, free: 73.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02292/2.78, allocations: 5.253 MB / 1.386 GB, free: 73.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01323/2.794, allocations: 6.527 MB / 1.393 GB, free: 73.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02756/2.821, allocations: 9.079 MB / 1.402 GB, free: 71.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.05781/2.879, allocations: 30.87 MB / 1.432 GB, free: 67.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/2.879, allocations: 0 / 1.432 GB, free: 67.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/2.879, allocations: 0 / 1.432 GB, free: 67.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001209/2.88, allocations: 0 / 1.432 GB, free: 67.05 MB / 0.9825 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.08091/2.961, allocations: 21.55 MB / 1.453 GB, free: 58.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/2.961, allocations: 11.53 kB / 1.453 GB, free: 58.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/2.982, allocations: 3.305 MB / 1.456 GB, free: 56.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04912/3.032, allocations: 19.87 MB / 1.475 GB, free: 53.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008628/3.032, allocations: 0.6704 MB / 1.476 GB, free: 53.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006763/3.039, allocations: 0.9388 MB / 1.477 GB, free: 53.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04732/3.087, allocations: 18.23 MB / 1.495 GB, free: 50.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/3.087, allocations: 18.73 kB / 1.495 GB, free: 50.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004327/3.091, allocations: 324.6 kB / 1.495 GB, free: 50.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/3.092, allocations: 374.4 kB / 1.495 GB, free: 50.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04316/3.135, allocations: 21.87 MB / 1.517 GB, free: 47.45 MB / 0.9825 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.1489/3.284, allocations: 62.29 MB / 1.578 GB, free: 11.3 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0287/3.312, allocations: 11.99 MB / 1.589 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01913/3.331, allocations: 8.662 MB / 1.598 GB, free: 6.992 MB / 1.014 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.08719/3.419, allocations: 29.87 MB / 1.627 GB, free: 9.234 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02363/3.442, allocations: 11.34 MB / 1.638 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03386/3.476, allocations: 8.256 MB / 1.646 GB, free: 5.559 MB / 1.061 GB Notification: Performance of pre-optimization done (n=588): time 3.41e-05/3.476, allocations: 3.375 kB / 1.646 GB, free: 5.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=880): time 1.455/4.932, allocations: 239.6 MB / 1.88 GB, free: 0.5161 GB / 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.1215/5.053, allocations: 52.74 MB / 1.932 GB, free: 476.9 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03169/5.085, allocations: 17.49 MB / 1.949 GB, free: 459.7 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004887/5.09, allocations: 231.5 kB / 1.949 GB, free: 459.5 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.009717/5.099, allocations: 7.835 MB / 1.956 GB, free: 453.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.01234/5.112, allocations: 3.336 MB / 1.96 GB, free: 451.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01692/5.129, allocations: 4.534 MB / 1.964 GB, free: 446.8 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/5.129, allocations: 305.1 kB / 1.964 GB, free: 446.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03751/5.166, allocations: 25.7 MB / 1.99 GB, free: 420.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03964/5.206, allocations: 30.97 MB / 2.02 GB, free: 388.1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0714/5.277, allocations: 46.9 MB / 2.066 GB, free: 340.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/5.277, allocations: 17.09 kB / 2.066 GB, free: 340.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6301/5.907, allocations: 145.8 MB / 2.208 GB, free: 194.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/5.908, allocations: 53.7 kB / 2.208 GB, free: 194.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.19e-05/5.908, allocations: 56.12 kB / 2.208 GB, free: 194.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6078/6.515, allocations: 119.7 MB / 2.325 GB, free: 74.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02094/6.536, allocations: 3.802 MB / 2.329 GB, free: 70.95 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6188/7.155, allocations: 83.33 MB / 2.41 GB, free: 0.5046 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2291/7.384, allocations: 10.61 MB / 2.42 GB, free: 0.5046 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008517/7.393, allocations: 1.665 MB / 2.422 GB, free: 0.5046 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04833/7.441, allocations: 29.07 MB / 2.45 GB, free: 0.5018 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0403/7.481, allocations: 30.43 MB / 2.48 GB, free: 0.4891 GB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07004/7.552, allocations: 45.83 MB / 2.525 GB, free: 474.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001273/7.552, allocations: 16 kB / 2.525 GB, free: 474.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6323/8.184, allocations: 144 MB / 2.666 GB, free: 334.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/8.184, allocations: 55.33 kB / 2.666 GB, free: 334.9 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.689e-05/8.184, allocations: 52 kB / 2.666 GB, free: 334.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5961/8.78, allocations: 118.7 MB / 2.782 GB, free: 216.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01935/8.8, allocations: 3.757 MB / 2.785 GB, free: 212.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.16/8.959, allocations: 86.18 MB / 2.87 GB, free: 126.7 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2244/9.184, allocations: 10.66 MB / 2.88 GB, free: 116.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008837/9.193, allocations: 1.633 MB / 2.882 GB, free: 114.4 MB / 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.01313/9.206, allocations: 0.7744 MB / 2.882 GB, free: 113.7 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01468/9.221, allocations: 1.696 MB / 2.884 GB, free: 112.9 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2452/9.466, allocations: 68.17 MB / 2.951 GB, free: 45.03 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.8042/10.27, allocations: 81.76 MB / 3.03 GB, free: 0.4962 GB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000188/10.27, allocations: 31.12 kB / 3.03 GB, free: 0.4962 GB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.245/10.52, allocations: 80.64 MB / 3.109 GB, free: 478.3 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3997/10.91, allocations: 168.2 MB / 3.273 GB, free: 310.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.357e-05/10.91, allocations: 3.938 kB / 3.273 GB, free: 310.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01341/10.93, allocations: 2.242 MB / 3.276 GB, free: 308.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5828/11.51, allocations: 144.5 MB / 3.417 GB, free: 163.9 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004482/11.52, allocations: 0.8162 MB / 3.418 GB, free: 163.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1313/11.65, allocations: 71.43 MB / 3.487 GB, free: 91.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2355:10-2355:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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: 17.58040521852672] Failed to read output from testmodel.py, exit status != 0: 13.279907179996371 13.289595175 10.407911005 Calling exit ...